Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

BeanieMan

macrumors regular
Original poster
Feb 18, 2010
135
107
Hi all,

background: I'm completely new to iOS programming, but i've gotten a few basic tutorials working.

My question is the following:
I would like the have access to lots of buttons, multiple screens worth. Is there a super easy way to do this like the home screen? I.e., there are pages of buttons, and you access the other pages by dragging left or right. I would have some numbers displayed at the top, and the buttons at the bottom, and only the buttons drag left and right (of course). I think i've seen apps just use some tabs at the bottom or something, but i don't really like that.

An explanation how to do this with interface builder would be great. Hopefully it's not very complicated, or maybe i just didn't see something in there.

Thanks.
 
It would be pretty easy to set up the layout and parameters of the buttons using Interface Builder, you'd have to implement that swipe transition in code.

I haven't done that before but the swipe left/right sounds pretty straightforward. Take a look at this.

Basically that would make your app look for swipe gestures, and when one occurs it would call the method you specify with the selector. In that method you would right some code to transition to a new view based on the direction of the swipe.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.