• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
"No Selection", NSObjectController & CoreData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"No Selection", NSObjectController & CoreData


  • Subject: "No Selection", NSObjectController & CoreData
  • From: Thom Meijer <email@hidden>
  • Date: Mon, 3 Oct 2005 21:55:20 +0200

Hola everyone!
I have small core data non-document-based app.
I used the data modeler to create an entity "myEntity" with few attributes.
Then I made the interface in IB where for each of those attributes there is
a text field.
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?
 _______________________________________________
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

  • Follow-Ups:
    • Re: "No Selection", NSObjectController & CoreData
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: Single instance of properties window
  • Next by Date: Re: "No Selection", NSObjectController & CoreData
  • Previous by thread: Reading in a Vector image (Adobe EPS), but displaying a Raster result (vs a scalable Vector Image). Why?
  • Next by thread: Re: "No Selection", NSObjectController & CoreData
  • Index(es):
    • Date
    • Thread