Commit 32afdfa8 by Daniel Dahan

Merge pull request #25 from GraphKit/issue-24

issue-24: added convenience for left bottom
parents f6894a40 571c8eee
...@@ -415,6 +415,19 @@ public class SideNavController: UIViewController, UIGestureRecognizerDelegate { ...@@ -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 :name: init
*/ */
public convenience init(mainViewController: UIViewController, leftViewController: UIViewController, bottomViewController: UIViewController, rightViewController: UIViewController) { 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