     
     private var messageWindow: MessageWindow?
     
-    public var tappedHandler : () -> () = {}
+    public var tapHandler : (() -> Void)?
     
     private func newMessageWindow() -> MessageWindow {
         let messageWindow = MessageWindow()

    @objc func didTapMessage(gesture: UITapGestureRecognizer) {
        let message = gesture.view as! Message
        dismissMessage(message, fromGesture: true)
        self.tappedHandler()
    }
    
    private func dismissMessage(message: Message, fromGesture: Bool) {

        return nil
    }
    
}
