Re: "No Selection", NSObjectController & CoreData
Re: "No Selection", NSObjectController & CoreData
- Subject: Re: "No Selection", NSObjectController & CoreData
- From: Thom Meijer <email@hidden>
- Date: Tue, 4 Oct 2005 03:26:23 +0200
On 10/3/05, mmalcolm crawford <email@hidden> wrote:
>
>
> On Oct 3, 2005, at 12:55 PM, Thom Meijer wrote:
>
> > Then I dragged NSObjectController from IB palettes to instances
> > pane, named
> > it myController and I bound its managedObjectContext to
> > myAppDelegate (from
> > data modeler) with model key path: managedObjectContext and in
> > attributes
> > pane i checked mode: entity, entity name: myEntity, automatically
> > prepares
> > content: yes, editable: yes.
> > Then I bound every text field's value to myController with
> > controller key:
> > selection and with model key path: name of myEntity's attribute.
> > Now, the problem is, it doesn't work. I always get "no selection"
> > in all
> > fields.
> > Please, what am I missing? What am I doing wrong?
>
> Did you create an instance of the entity?
I thought yes but now I am very slowly realizing that maybe I didn't. Thanks
for the link.
See <http://developer.apple.com/documentation/Cocoa/Conceptual/
> NSPersistentDocumentTutorial/04_Department/chapter_5_section_1.html#//
> apple_ref/doc/uid/TP40001799-CH223>.
>
> 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
>
_______________________________________________
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