Re: 2 Cocoa Method Questions
Re: 2 Cocoa Method Questions
- Subject: Re: 2 Cocoa Method Questions
- From: email@hidden
- Date: Sat, 18 May 2002 00:08:32 EDT
First, thanks to everyone who emailed me publically or privately with
comments. I appreciate your thoughts, and hope all my questions have such a
good discussion.
Regarding loading UI on the fly vs keeping them around hidden with data
stored, I agree with the consencous of loading the Window when you need them.
I am very aware of the Model-View-Controller paradigm, there just was just so
many examples from Apple that used the Controls as data storage, I wanted to
make sure there was not some other thoughts on this subject. While having the
user defalts, and other globals, stored both in global variables AND in the
Controls seems to be duplicating data (and a bit complex to keep updating the
value as they change back and forth), it is definitely the best model to
follow.
Regarding using Project Builder vs interface Builder to create new objects,
both methods seem to be popluar and used when creating the files. However
since modifying with Interface Builder rewrites any code that may be written,
using Probject Builder is really the only method to modify the objects on the
fly. I do not know about you, but I rarely create an object knowing exactly
all the methods and fields that I need before hand.
Thanks,
Steve Sheets
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.