views:

52

answers:

0

Hi all,

I know I'm probably going to be berated for not properly reading the HIG or some documentation, but after going through several training videos and building a number of small projects on the iPhone, I'm now trying to put stuff together on the iPad and, well, my brain hurts.

I understood the idea on the iPhone that one view = one screen and one view = one view controller. But now I'm dealing with a piece of hardware which can show multiple things at once, I don't really understand how I'm supposed to work with it.

The example I'll give is the current project I'm on... I've put together a bunch of different view controllers for different screens of content (splash screen, menu, article view etc). But then some of the screens have shared content. For example, the menu and the article screens both have a menu bar (like a toolbar) which slides down from the top of the screen and provides navigation. Also, I have a navigation element which is supposed to slide up from the bottom of the screen to navigate to different articles. These are things I've seen in many other iPad apps (Wired is an example).

But I'm not supposed to put more than one view controller on the screen at a time, am I? Not only that, but if I do then the autorotate functionality starts going a bit mental. But if I put everything into one view controller for one single screen, I end up with 1,000 lines of code, most of which needs to be copy-pasted into other view controllers. Seems like a pretty ugly solution to me.

So I'm obviously doing something wrong... But what should I be doing? Even if someone could please point me in the direction of the information I should be reading, I'd be very grateful.

Thanks!

:-Joe