Commit 56be7e2d by adamdahan

issue-16: New convenience method

parent ee61c21c
...@@ -330,6 +330,19 @@ public class SideNavController: MaterialViewController, UIGestureRecognizerDeleg ...@@ -330,6 +330,19 @@ public class SideNavController: MaterialViewController, UIGestureRecognizerDeleg
setupRightView() setupRightView()
} }
/**
:name: init
*/
public convenience init(mainViewController: UIViewController, bottomViewController: UIViewController, rightViewController: UIViewController) {
self.init()
self.mainViewController = mainViewController
self.bottomViewController = bottomViewController
self.rightViewController = rightViewController
setupView()
setupBottomView()
setupRightView()
}
// //
// :name: viewDidLoad // :name: viewDidLoad
// //
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment