Re: Programmatically creating CoreData Entities - Source Code for Newbies?
Re: Programmatically creating CoreData Entities - Source Code for Newbies?
- Subject: Re: Programmatically creating CoreData Entities - Source Code for Newbies?
- From: Scott Anguish <email@hidden>
- Date: Fri, 31 Mar 2006 09:17:44 -0800
On Mar 31, 2006, at 9:04 AM, Vince Ackerman wrote:
Amongst other things, I'm confused about which objects need
NSControllers.
I see that mmalc has already responded to most of your questions
with pointers to the doc.
as far as this issue is concerned...
You should typically use a controller any time that you are
connecting a view binding to a model object property. There are
exceptions though. For example, you can bind a view property
directly to model property provided that the view doesn't require
support from the NSEditor and NSEditorRegistration protocols. Views
that absolutely do require controllers are typically things like
NSTextField, NSTextView, and other views that can have uncommitted
edits in some sort of a sub unit (NSTableView and NSOutlineView can
both have active edits in a cell for example)
So, there are cases where you don't absolutely have to have a
controller, but using one will rarely hurt (I can't think of a
situation off the top of my head where it would)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden