   public override func layoutSubviews() {
     super.layoutSubviews()
 
-    if let noticeView = currentNoticeView {
+    if let (noticeView, _) = currentNotice {
       bringSubviewToFront(noticeView)
     }
   }
 }
 
 public struct NoticeViewStyle {
+
   public var backgroundColor: UIColor
   public var textColor: UIColor
 

  }

  public func dismissCurrentNotice(animated: Bool = true, completion: (() -> ())? = nil) {
    guard let noticeView = self.currentNoticeView where noticeView.layer.animationForKey("slide out") == nil else {
      return
    }
    dismissNotice(noticeView, animated: animated, completion: completion)
  }

  public func dismissNotice(noticeView: UIView, animated: Bool = true, completion: (() -> ())? = nil) {

    let complete: () -> () = { [weak self] in
      if let current = self?.currentNoticeView where current == noticeView {
        current.removeFromSuperview()
        self?.currentNoticeView = nil
      }
      completion?()
    }

    view.titleLabel.textColor = style.textColor
    view.messageLabel.textColor = style.textColor
    
    presentView(view, duration: duration, position: .Bottom, animated: animated, completion: completion)
  }
}
