 
 class AUAlertMessage: UIView {
     
-    let alertView = UIView()
-    let backgroundView = UIView()
+    public let alertView = UIView()
+    public let backgroundView = UIView()
+    
     private let innerView:UIView = UIView()
+    
     public let buttonHeight:CGFloat = 45.0
     public let cornerRadius:CGFloat = 10.0
     public var dismissOnBackgroundTouch:Bool = true
     public var backgroundType:AUBackgroundOptions = .BlurEffectLight
-    
-    weak var delegate:AUAlertMessageDelegate? = nil
+    public weak var delegate:AUAlertMessageDelegate? = nil
     
     private var animator:UIDynamicAnimator? = nil
     private var attachmentBehaviour:UIAttachmentBehavior? = nil

        }
    }
    
    func getLastViewFrame(view:UIView) -> CGRect{
        
        var frame:CGRect = CGRect.zero
        let innerSubViews = self.innerView.subviews

        })
    }
    
    public func cancelButtonIndex() -> Int {
        if let cancelString = self.cancelButton.titleLabel?.text {
            return (buttonTitlesArray?.index(of: cancelString)) ?? -1
        }
        else {
            return -1
        }
    }
    
    public func addButtonTitle(_ title:String) {
        buttonTitlesArray?.append(title)
    }
    
    public func showAlertView(_ title:String?, message:String?, cancelButtonTitle:String?) {
        let alert = UIAlertView.init(title: title, message: message, delegate: nil, cancelButtonTitle: cancelButtonTitle)
        alert.show()
    }
    
    
    
