                 messageTextView.hidden = true
                 voiceRecordButton.hidden = false
 
-                messageTextView.text = nil
+                messageTextView.text = ""
 
                 micButton.setImage(UIImage(named: "icon_keyboard"), forState: .Normal)
                 moreButton.setImage(UIImage(named: "item_more"), forState: .Normal)

        state = .Default
    }

    func makeUI() {

        self.addSubview(messageTextView)


        let voiceRecordButtonConstraintsH = NSLayoutConstraint.constraintsWithVisualFormat("H:|[micButton][voiceRecordButton][moreButton]|", options: [], metrics: nil, views: viewsDictionary)

        let voiceRecordButtonHeightConstraint = NSLayoutConstraint(item: voiceRecordButton, attribute: .Height, relatedBy: .GreaterThanOrEqual, toItem: nil, attribute: .NotAnAttribute, multiplier: 1, constant: messageTextViewMinHeight)
        voiceRecordButtonHeightConstraint.priority = UILayoutPriorityDefaultHigh

        NSLayoutConstraint.activateConstraints(voiceRecordButtonConstraintsV)
        NSLayoutConstraint.activateConstraints(voiceRecordButtonConstraintsH)
        NSLayoutConstraint.activateConstraints([voiceRecordButtonHeightConstraint])
    }

    // MARK: Animations
