Re:This year's iPhone design trend: Side navigation
by freehunter on Thursday August 30, 2012 @10:00AM
(#4454658)
Yeah, I was wondering more if this was baked-in, or if there was a framework handling it, or if someone just saw another developer doing it and everyone decided it looked nice and implemented it on their own. They all look incredibly similar.
Re:This year's iPhone design trend: Side navigation
by jcromartie on Thursday August 30, 2012 @10:27AM
(#4454782)
Come on, there's a little more to it than that... nested view controllers and all.
In both cases, you simply have a front view and a rear view. All you need to do is adjust the frame (positioning) of one of the views and animate that transition. Animating view transitions is really easy in iOS. So the pseudo code for this basically becomes:
Menu.position.x = Menu.position.x + (.7*screensize);
Animate();