Re: CoreData NSArrayController's in IB
Re: CoreData NSArrayController's in IB
- Subject: Re: CoreData NSArrayController's in IB
- From: mmalcolm crawford <email@hidden>
- Date: Sun, 4 Sep 2005 19:50:37 -0700
On Sep 4, 2005, at 7:37 PM, Paul Forgey wrote:
If I paste an entity from my data model into IB, the created
NSArrayController works. If I create an NSArrayController myself
by dragging one from the Cocoa-Controllers palette, I can't get it
to actually "hook up" to the entity. If I compare the two
instances side by side, every property and binding I can find are
the same. The mode is entity with a correct entity name and the
managedObjectContext is properly bound. Yet, when I try to bind a
UI element to the instance I created (vs the PB one), it can't see
any of the entities properties.
What do you mean by, "it can't see any of the entities properties"?
Do you mean that they're not listed in the Model Key Path combo box?
They combo box is populated by IB if you drag in an entity. If you
don't, you have to type in the property names yourself, just as you
would for any other binding...
(Put another way, IB does not automatically synchronise with an
entity description, any more than it does with a class header...)
mmalc
_______________________________________________
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