• 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: Sat, 18 Aug 2007 09:32:04 -0700


On Aug 18, 2007, at 2:05 AM, Alex Reynolds wrote:

Please read <http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdBeforeYouStart.html >.

It seems that you haven't fully grasped Core Data or Cocoa bindings, and trying to use the two before you have mastered either is simply going to cause further confusion as when things don't work as you would wish you're not going to know where the problem lies.

I have two table views, one for a list of Server entities and another for a list of associated Display entities.
My two views are displaying their data properly, so far.
However, I would like the application to start with no Server entity (row) selected.


This has, in effect, nothing to do with Core Data. You just have to set the selection for the table view.

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.

3. Clear all rows in the Display table view, if there are no Server rows selected?

... this should happen automatically.

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>)

  • Prev by Date: Re: Responder chain messed up after window close...
  • Next by Date: Re: Scanner Question (Not NSScanner)
  • Previous by thread: Another Core Data + table view question
  • Next by thread: Re: Another Core Data + table view question
  • Index(es):
    • Date
    • Thread