     override func viewDidLoad() {
         super.viewDidLoad()
         
-        view.autoresizingMask = .FlexibleWidth | .FlexibleHeight
+        view.autoresizingMask = [.FlexibleWidth, .FlexibleHeight]
         
         menuViewContainer.frame = view.bounds;
-        menuViewContainer.autoresizingMask = .FlexibleWidth | .FlexibleHeight;
+        menuViewContainer.autoresizingMask = [.FlexibleWidth, .FlexibleHeight];
         menuViewContainer.alpha = fadeMenuView ? 0 : 1
         
         contentViewContainer.frame = view.bounds
-        contentViewContainer.autoresizingMask = .FlexibleWidth | .FlexibleHeight
+        contentViewContainer.autoresizingMask = [.FlexibleWidth, .FlexibleHeight]
         
         setupViewController(contentViewContainer, targetViewController: contentViewController)
         setupViewController(menuViewContainer, targetViewController: leftMenuViewController)

            contentButton.addTarget(self, action: Selector("hideMenuViewController"), forControlEvents:.TouchUpInside)
            contentButton.autoresizingMask = .None
            contentButton.frame = contentViewContainer.bounds
            contentButton.autoresizingMask = .FlexibleWidth | .FlexibleHeight
            contentButton.tag = 101
            contentViewContainer.addSubview(contentButton)
        }

        
        if iOS8 {
            if let cntentViewStoryboardID = contentViewStoryboardID {
                contentViewController = storyboard?.instantiateViewControllerWithIdentifier(cntentViewStoryboardID)
                
            }
            if let lftViewStoryboardID = leftMenuViewStoryboardID {
                leftMenuViewController = storyboard?.instantiateViewControllerWithIdentifier(lftViewStoryboardID)
            }
            if let rghtViewStoryboardID = rightMenuViewStoryboardID {
                rightMenuViewController = storyboard?.instantiateViewControllerWithIdentifier(rghtViewStoryboardID)
            }
        }
        
