         subtitleLabel.text = subtitleText
     }
 
-    public func setCustomColors(backgroundColor: UIColor, textColor: UIColor) {
+    open func setCustomColors(backgroundColor: UIColor, textColor: UIColor) {
         contentView.backgroundColor = backgroundColor
         leftAccessoryView.backgroundColor = backgroundColor
         titleLabel.textColor = textColor
         subtitleLabel.textColor = textColor
     }
 
-    public func addTouchHandler(touchHandler: @escaping SwiftyNotificationsTouchHandler) {
+    open func addTouchHandler(touchHandler: @escaping SwiftyNotificationsTouchHandler) {
         self.touchHandler = touchHandler
         let tapHandler = UITapGestureRecognizer(target: self, action: #selector(SwiftyNotifications.handleTap))
         addGestureRecognizer(tapHandler)
     }
 
-    public override func didMoveToSuperview() {
+    open override func didMoveToSuperview() {
         super.didMoveToSuperview()
         if superview == nil {
             return


public typealias SwiftyNotificationsTouchHandler = () -> Void

public class SwiftyNotifications: UIView {

    @IBOutlet public weak var contentView: UIView!
    @IBOutlet public weak var leftAccessoryView: UIImageView!
    @IBOutlet public weak var titleLabel: UILabel!
    @IBOutlet public weak var subtitleLabel: UILabel!

    public var delegate: SwiftyNotificationsDelegate?
    public var direction: SwiftyNotificationsDirection!

    @IBOutlet weak var titleLabelTopConstraint: NSLayoutConstraint!
    @IBOutlet weak var subtitleLabelBottomConstraint: NSLayoutConstraint!

        return notification
    }

    open static func withStyle(style: SwiftyNotificationsStyle,
                                 title: String,
                                 subtitle: String,
                                 dismissDelay: TimeInterval,
