• 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
[newbie][Core Data] Code-side filled data not shown in Table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[newbie][Core Data] Code-side filled data not shown in Table


  • Subject: [newbie][Core Data] Code-side filled data not shown in Table
  • From: Matthias Schonder <email@hidden>
  • Date: Thu, 15 Nov 2007 09:08:57 +0100

Hi,

I have a problem with CoreData. I'm pretty new to CoreData so this question might be dumb.

The first step in my app is to fetch a XML and put it in to CoreData.
This seems to work, as the .xml in the app-folder in ApplicationSupport looks good. Everything appears where I expect it.


In the app those values should be displayed in a NSTable. So I added an ArrayController to handle the data.

In the "ObjectController"-Section of the ArrayController I set Mode to Entity and Entity Name to the Name of the Entity in my datamodel. In the bindings section I set Parameters for "Bind to" to the AppDelegate and the "Model Key Path" to "managed Object Context".

For a first test a I set up only one table column. In the Value- Section of the Binding-Properties is set "Bind to:" to the ArrayController, ControllerKey to "arrangedObjects" and the "Model Key Path" to a Propery of the Entity which has, according to the xml in the appSupport folder, definitely more than on valid value.

When I now fire the App table row is and remains empty :(

Did I forget to make some settings?

Thank you very much in advance.

regards,
matthias
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Having trouble just displaying a window
  • Next by Date: Re: Having trouble just displaying a window
  • Previous by thread: Re: Having trouble just displaying a window
  • Next by thread: draggingUpdated: event is not called on overlay window.
  • Index(es):
    • Date
    • Thread