         switch type {
             case .Title:
                 self.titleFont = fontStr
-                self.modalTitleLabel.font = UIFont(name: self.titleFont, size: 24)
+                self.titleLabel.font = UIFont(name: self.titleFont, size: 24)
             case .Text:
-                if self.modalTextView != nil {
+                if self.textView != nil {
                     self.textFont = fontStr
-                    self.modalTextView.font = UIFont(name: self.textFont, size: 16)
+                    self.textView.font = UIFont(name: self.textFont, size: 16)
                 }
             case .Button:
                 self.buttonFont = fontStr

        } else {
            buttonLabel.text = "OK"
        }
        modalButton.addSubview(buttonLabel)
        
        // Animate it in
        self.view.alpha = 0

class JSSAlertView: UIViewController {
    
    var containerView:UIView!
    var alertBackgroundView:UIView!
    var dismissButton:UIButton!
    var buttonLabel:UILabel!
    var titleLabel:UILabel!
    var textView:UITextView!
    var rootViewController:UIViewController!
    var iconImage:UIImage!
    var iconImageView:UIImageView!
