         
         return (up == max ? nil : up, down == max ? nil : down)
     }
-    
-    public required init?(coder aDecoder: NSCoder) {
-        fatalError("init(coder:) has not been implemented")
-    }
-    
+
 }
 
 extension FOPopupController: UIViewControllerTransitioningDelegate {

        } else {
            UIView.animateWithDuration(0.3, delay: 0, usingSpringWithDamping: 0.8, initialSpringVelocity: 0, options: .CurveEaseOut, animations: {
                self.content.view.frame = CGRect(x: self.content.view.frame.origin.x, y: point.y, width: self.content.view.frame.width, height: self.content.view.frame.height)
            }, completion: nil)
        }
    }
    

    
    var content: UIViewController!
    var snapThreshold = CGFloat(40)
    private var rotatingContentH = CGFloat(0)
    
    public convenience init(content: UIViewController) {
        self.init(nibName: nil, bundle: nil)
