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

larswik

macrumors 68000
Original poster
Sep 8, 2006
1,552
11
I have to decided on how to layout my app. I have 4 categories linked to UIButtons (food, shopping, fun, wine). When a button is clicked it opens up another window. So if Food is pressed the next window has buttons for (List all, list by category and so on).

Is it best to create separate xib's or create more windows in the same xib and hide then on launch?
 
Separate xib mean your app can unload apps when they're no longer needed. This can be a big memory saver. My general rule of thumb is to make a xib for every view controller, and a view controller for every "screen" in my apps. If there are popups that can be used in different screens, then i'll put them in a separate xib as well (with their own view controller)
 
That makes sound good. The goal is to reach a final page that will have an UITableView with a list of clients. click on the client and information is downloaded from a web folder and displayed on the page.

So memory is on my mind. Download all the content for every client so interface is faster, or download and store photos and text as they click on the client button.

Thanks for your info
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.