I’m new to Xcode development, and I’d like to develop a slide-up menu triggered from a UIToolbar in my iPhone app.
What I’m looking at is creating a subview with menu buttons, adding it to the main view, and sliding it up(visible) or down(hidden) when the toggle button is tapped.
How do I do this programmatically?! The Opera app for iPhone does this well (see the picture).

What you are saying can be done by code by adding a subview to your mainview and slide it up and down to make it visible and unvisible.
1) Add a subview to far y coordinate so that initially its not visible in the view.
2) Now make two IBActions showMySubview and hideMySubview and link them to the corresponding buttons or you can do some toggling with one button by checking its label.text.
3) In your showMySubview
4) In your hideMySubview
You can also do some beautify things to your subview to look some good add QuartzCore framework to your project and import it in your .m file and add these lines after adding your subview to your mainview the import is #import “QuartzCore/QuartzCore.h”
Hope This will help you in anyways 🙂
EDIT :
Adding buttons via code to your subview :
Now a function to catch the clicks of all the buttons
There may be many easy ways out there but hope this will get you a start 🙂