Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 04-21-2009, 12:30 AM   #7 (permalink)
eddietr
Registered Member
 
Join Date: Apr 2009
Posts: 536
Default

Quote:
Originally Posted by coondog View Post
Thank you for the advice.

Question: Why then wouldn't you simply have an instance of your model in the app delegate and have each controller access it via the delegate pointer?

Chris.
If the app is simple, you could do that. But once the app grows a bit, I think you'll find the app delegate has taken on too much at that point. Especially when model data is really being loaded from disk or the net. Then loading that model data (and checking for errors, timeouts, etc.) is a fair amount of code that sits better in its own controller.
eddietr is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,624
Threads: 89,143
Posts: 380,332
Top Poster: BrianSlick (7,110)
Welcome to our newest member, andrewwold
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:47 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.