Commit 571c8eee by adamdahan

issue-24: added convenience for left bottom

parent 4683c8fa
......@@ -415,6 +415,19 @@ public class SideNavController: UIViewController, UIGestureRecognizerDelegate {
}
/**
:name: init
*/
public convenience init(mainViewController: UIViewController, leftViewController: UIViewController, bottomViewController: UIViewController) {
self.init()
self.mainViewController = mainViewController
self.leftViewController = leftViewController
self.bottomViewController = bottomViewController
prepareView()
prepareLeftView()
prepareBottomView()
}
/**
:name: init
*/
public convenience init(mainViewController: UIViewController, leftViewController: UIViewController, bottomViewController: UIViewController, rightViewController: UIViewController) {
......
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