Re: iTunes-like outline view using core data?
Re: iTunes-like outline view using core data?
- Subject: Re: iTunes-like outline view using core data?
- From: Keith Duncan <email@hidden>
- Date: Sun, 5 Aug 2007 23:15:08 +0100
You need to use a predicate in your tree controller of 'parent == nil'
to get only the root objects. 'parent' meaning the parent object in
the tree not the parent entity.
In my nib file, I have the outlineview set to hold
"abstractOutlineEntity" entities.
Terminologically an outline view cannot be set to hold entities of any
kind, your controller is told what objects it is managing (here Core
Data entities) and the outline view columns are bound to the
controller to get the data they need.
- Keith
_______________________________________________
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