     
     required override init() {
 		super.init()
-//		setTranslatesAutoresizingMaskIntoConstraints(false)
 		// Add Subvies
-		addSubview(contentView)
-		addSubview(circleViewBackground)
-		addSubview(circleView)
+		view.addSubview(contentView)
+		view.addSubview(circleViewBackground)
+		view.addSubview(circleView)
 		circleView.addSubview(circleIconImageView)
 		contentView.addSubview(labelTitle)
 		contentView.addSubview(viewText)

    
    // showTitle(view, title, subTitle, duration, style)
    func showTitle(vc:UIViewController, title: String, subTitle: String, duration: NSTimeInterval?, completeText: String?, style: SCLAlertViewStyle) -> SCLAlertViewResponder {
        alpha = 0
        rootViewController = vc
		// Add subviews
        rootViewController.view.addSubview(shadowView)
        rootViewController.view.addSubview(self)
		// Autolayout constraints for shadow view (to handle device rotation)
		let c1 = NSLayoutConstraint(item:shadowView, attribute:NSLayoutAttribute.Width, relatedBy: NSLayoutRelation.Equal, toItem:vc.view, attribute:NSLayoutAttribute.Width, multiplier: 1.0, constant:0.0)
        vc.view.addConstraint(c1)

        contentView.layer.borderColor = UIColorFromRGB(0xCCCCCC).CGColor
    }
	
	override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) {
		super.init(nibName:nibNameOrNil, bundle:nibBundleOrNil)
	}
	
	override func viewDidLayoutSubviews() {
		println("Layout Subviews Called")
		super.viewWillLayoutSubviews()
		let sz = UIScreen.mainScreen().bounds.size
		// Set frames
		var r:CGRect
		if view.superview != nil {
			// View is showing, position at center of screen
			r = CGRect(x:(sz.width-kWindowWidth)/2, y:(sz.height-kWindowHeight)/2, width: kWindowWidth, height: kWindowHeight)
		} else {
			// View is not visible, position outside screen bounds
			r = CGRect(x:(sz.width-kWindowWidth)/2, y:-kWindowHeight, width: kWindowWidth, height: kWindowHeight)
		}
		view.frame = r
		contentView.frame = CGRect(x: 0, y: kCircleHeight / 4, width: kWindowWidth, height: kWindowHeight)
		circleViewBackground.frame = CGRect(x: kWindowWidth / 2 - kCircleHeightBackground / 2, y: kCircleBackgroundTopPosition, width: kCircleHeightBackground, height: kCircleHeightBackground)
		circleViewBackground.layer.cornerRadius = circleViewBackground.frame.size.height / 2
