     
     public var subtextShadowOffset: CGSize = CGSize(width: 0.0, height: 0.0)
     
-    public var barType: NotificationBarType = .NavigationBar
+    public var heightType: HeightType = .NavigationBar
     
     public var presentationType: PresentationType = .Cover
     
     public var underStatusBar = false
     
     public var statusBarStyle: UIStatusBarStyle = .Default
-    
-    public var preferredHeight: CGFloat = 0
     
     public var preferredPadding: CGFloat = 0
     

    options[kCRToastSubtitleTextShadowColorKey]         = notification.subtextShadowColor
    options[kCRToastSubtitleTextShadowOffsetKey]        = NSValue(CGSize: notification.subtextShadowOffset)
    
    options[kCRToastNotificationTypeKey]                = notification.barType.rawValue
    
    options[kCRToastNotificationPreferredHeightKey]     = notification.preferredHeight
    options[kCRToastNotificationPreferredPaddingKey]    = notification.preferredPadding
    
    options[kCRToastNotificationPresentationTypeKey]    = notification.presentationType.rawValue

import UIKit
import CRToast

public enum HeightType {
    
    case StatusBar
    case NavigationBar
    case Custom(preferredHeight: CGFloat)
    
    var crToastType: CRToastType {
        switch self {
        case .StatusBar:
            return .StatusBar
        case .NavigationBar:
            return .NavigationBar
        case .Custom(_):
            return .Custom
        }
    }
    
}

public  typealias PresentationType       = CRToastPresentationType
public  typealias AccessoryViewAlignment = CRToastAccessoryViewAlignment
public  typealias InteractionType        = CRToastInteractionType
