     }
     
     // MARK: Handle touches
-    override func touchesBegan(touches: NSSet, withEvent event: UIEvent) {
+    // Swift 1.1: use "override func touchesBegan(touches: NSSet, withEvent event: UIEvent) {"
+    override func touchesBegan(touches: Set<NSObject>, withEvent event: UIEvent) {
         if disableTapToDismiss {
             super.touchesBegan(touches, withEvent: event)
             return

            titleParagraphStyle.alignment = titleAlignment
            titleParagraphStyle.lineBreakMode = NSLineBreakMode.ByClipping
            
            (title as NSString).drawWithRect(titleFrame, options: NSStringDrawingOptions.UsesLineFragmentOrigin, attributes: [NSFontAttributeName: titleFont, NSForegroundColorAttributeName: titleColor, NSParagraphStyleAttributeName: titleParagraphStyle], context: nil)
        }
        
        if let message = message {

        if let message = message {
            
            if !message.isEmpty {
                textSize = messageBoundingSize(width: rectWidth)
            }
        }
        
