Commit 66bba074 by danieldahan

working copy of SideNav

parent 4e2e0f24
......@@ -276,7 +276,8 @@ public class SideNavigationViewController: UIViewController, UIGestureRecognizer
self.sideView.width = self.sideViewControllerWidth
self.sideView.height = self.view.bounds.height
self.sideView.position = CGPointMake((self.opened ? 1 : -1) * self.sideViewControllerWidth / 2, self.view.bounds.height / 2)
// self.sideViewController.view.frame = self.sideView.bounds
self.sideViewController.view.frame = self.sideView.bounds
self.sideViewController.view.center = CGPointMake(self.sideView.width / 2, self.sideView.height / 2)
}
}
......
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