         }
     }
     
-    private var isiOS8: Bool {
+    private var uiAlertControllerAvailable: Bool {
         get {
             return objc_getClass("UIAlertController") != nil
         }
     }
-    
+	
     /**
     Creates an instance of BPCompatibleAlertController.
     

    LoginAndPasswordInpnut = 2
    */
    public var alertViewStyle: UIAlertViewStyle
    
    private var alertController: UIAlertController!
    private var alertView: UIAlertView!
    private var actions: [String : BPCompatibleAlertAction]
    private var textFieldConfigurations: [BPCompatibleTextFieldConfigruationHandler]
    private var alertControllerStyle: UIAlertControllerStyle {
        get {

    :param: completion The completion block to be called when done presenting.
    */
    public func presentFrom(viewController: UIViewController!, animated: Bool, completion: (() -> Void)?) {
		assert(resourcesHaveBeenReleased == false, "You cannot present an alert controller again after its resources have been released!")
		
        if uiAlertControllerAvailable {
            alertController = UIAlertController(title: title, message: message, preferredStyle: alertControllerStyle)
            for action in actions.values {
                
