Re: Another Core Data + table view question
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