• 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: iTunes-like outline view using core data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >iTunes-like outline view using core data? (From: "Carter R. Harrison" <email@hidden>)

  • Prev by Date: Re: sortedArrayUsingFunction:context: and other variables
  • Next by Date: Re: Drag with NSTableview
  • Previous by thread: iTunes-like outline view using core data?
  • Next by thread: Re: iTunes-like outline view using core data?
  • Index(es):
    • Date
    • Thread