Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Ian Nuttall
Ian Nuttall
11,312 Points

Best Practice for Setting Up a Multi-Page App

Hey!

So I've been through the Fun Facts, Playlist and Blog Reader apps and feel like the best way for more to really get to grips with Objective C is to build my own app to understand better.

I love the planets, so I had to idea to have an app for kids with a home page that includes cartoon images of each of the planets which when tapped can show the planet details page.

I also want to do a custom navigation bar at the bottom which is common in kids apps and have a next button which takes you to the next planet.

My question is: what's the best way to lay this out on the story board to allow for the next/previous buttons to work? I did some Googling but wasn't able to find any best practice for this.

I was thinking I might just need a master view controller for the home page and a master detail controller which loads the planet -- then use the next/previous button to load the next planet.

Any help is hugely appreciated. :)