Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 04-20-2009, 11:30 PM   #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
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,198
Threads: 38,971
Posts: 170,967
Top Poster: smasher (2,567)
Welcome to our newest member, Hendrika
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:43 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.