     
     /**
      Sets the layer properties.
-     */
+    */
     private func setupLayerProperties() {
         layer.borderWidth = options.borderWidth
         layer.borderColor = options.borderColor.CGColor

            toAttribute: .Width,
            multiplier: imageView!.frame.height / imageView!.frame.width
        )
    
    }
    
    /**

    private let view: UIView
    
    /// The display message.
    public var message: String
    
    /// The display imageView (optional)
    public var imageView: UIImageView?
    
    /// The view BHToastOptions
    private let options: BHToastOptions
    
    /// The BHToast width (fixed 300.0).
    private let width: CGFloat = 300.0
    
    /// The message UILabel
    private let messageLabel = UILabel()
    
    /// The timer to hide the BHToast.
    private var timer = NSTimer()
    
    // MARK: - Init methods
    
    /**
     Custom init method.

     Create an instance of BHToast to attach in an UIView.
     You should set a message and can add an image view to display.

     - parameter view:              The UIView that shows the BHToast.
     - parameter message:           The display message.
     - parameter imageView:         The display image view.
     - parameter options:           The BHToastOptions instance.
     */
    public init(
        view: UIView,
        message: String = "",
        imageView: UIImageView? = nil,
        options: BHToastOptions = BHToastOptions())
    {
        self.view = view
        self.message = message
        self.imageView = imageView
        self.options = options
        
        super.init(frame: CGRectZero)
        
        setupViewProperties()
    }
