• 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
Re: Another Core Data + table view question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another Core Data + table view question


  • Subject: Re: Another Core Data + table view question
  • From: mmalc crawford <email@hidden>
  • Date: Sun, 19 Aug 2007 00:34:48 -0700


On Aug 18, 2007, at 10:26 AM, Alex Reynolds wrote:
On Aug 18, 2007, at 12:32 PM, mmalc crawford wrote:
The documentation is okay, but not very clear in some areas,

Where the documentation is unclear, please file enhancement requests.


Also, I note that if I deselect the Server entity, this does not refresh the Display table view, which should then no longer render any of the Display entity data.

If there's a relationship Server ->> Display, and the Display table is supposed to be displaying the contents of the currently-selected Server, then you haven't set up the binding correctly for the contentArray for the Display table. This was discussed on the list within the last day or two.
[...]
It looks like I need to bind "contentSet" and not "contentArray" when binding a relationship between NSArrayController objects?


Mea culpa, the previous discussion used 'contentArray', for managed objects the binding should indeed be for 'contentSet' -- the principle however remains the same.

Bind to: Servers
Controller key: selection
Model key path: display

Have you bound 'managedObjectContext'?
Are there any error messages logged?

When I run my application, there is no data shown in the Display table view, whether or not I make a Server selection.

How are you establishing the relationship between the Server and Display instances?

mmalc

_______________________________________________

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


  • Follow-Ups:
    • Re: Another Core Data + table view question
      • From: Alex Reynolds <email@hidden>
References: 
 >Another Core Data + table view question (From: Alex Reynolds <email@hidden>)
 >Re: Another Core Data + table view question (From: mmalc crawford <email@hidden>)
 >Re: Another Core Data + table view question (From: Alex Reynolds <email@hidden>)

  • Prev by Date: Programmatically selecting column header cell and triggering a sort
  • Next by Date: Re: Problem with NSMutableDictionary
  • Previous by thread: Re: Another Core Data + table view question
  • Next by thread: Re: Another Core Data + table view question
  • Index(es):
    • Date
    • Thread