10

Possible Duplicate:
What's the best way to develop a sideswipe menu like the one in Facebook's new iOS app?

How can i create a sidebar similar to the facebook app for iOS (iPhone/iPad)? That sidebar that appears when you slide your finger horizontally. There is a component for this or is it just a UIView?

Community
  • 1
  • 1
hdoria
  • 624
  • 2
  • 14
  • 29

3 Answers3

28

You're in luck! Somebody just created a complete sample app showing how to create that, and includes a video of the effect. Here it is:

https://github.com/BenHall/ios_facebook_style_navigation

Eduardo Scoz
  • 24,653
  • 6
  • 47
  • 62
  • if you consider that the right answer, make sure you accept the answer as right and vote on it. That'll guarantee that in the future other people answer your questions again! – Eduardo Scoz Nov 03 '11 at 19:45
  • I just think it is a component given by Apple or some open project when I also found it in Gmail App. – Kuroro Nov 22 '11 at 03:40
  • @Kuroro Apple doesn't provide this as a built in component. What happens is that people tend to copy others a lot in iOS land.. if somebody comes up with a cool idea (like this side menu), it doesn't take long for other apps to popup with the same thing. – Eduardo Scoz Nov 22 '11 at 15:01
  • 1
    Another great alternative: https://github.com/Inferis/ViewDeck . – hdoria Mar 21 '12 at 13:49
  • And another: https://github.com/mikefrederick/MFSideMenu – Michael Frederick Apr 10 '12 at 22:52
1

There is no already made component to do that given by Apple.

I would say it's just an UIView under the main one that is slided on the right.

MatLecu
  • 953
  • 8
  • 14
1

You might want to start from here and work your way out. The basic idea is very much there.

Bourne
  • 10,094
  • 5
  • 24
  • 51