• 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: NSTreeController and Core Data: creating abstract entities?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTreeController and Core Data: creating abstract entities?


  • Subject: Re: NSTreeController and Core Data: creating abstract entities?
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 21 Jun 2005 21:46:57 -0700


On Jun 21, 2005, at 8:56 PM, Michael McCracken wrote:

Also, what should I do to get it to do what I want - that is, to
create a PubGroup if the selection was a PubGroup, and a PersonGroup
if the selection is a PersonGroup - will I need to subclass
NSTreeController, or should I just use it for display and handle
adding and removing through my own code?


Subclass and override newObject -- create an instance of the same entity as the current selection.


mmalc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSTreeController and Core Data: creating abstract entities?
      • From: Michael McCracken <email@hidden>
References: 
 >NSTreeController and Core Data: creating abstract entities? (From: Michael McCracken <email@hidden>)

  • Prev by Date: NSTreeController and Core Data: creating abstract entities?
  • Next by Date: Core Data: Changing Transient Keys Dirties Database?
  • Previous by thread: NSTreeController and Core Data: creating abstract entities?
  • Next by thread: Re: NSTreeController and Core Data: creating abstract entities?
  • Index(es):
    • Date
    • Thread