• 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
NSArrayController with a base class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSArrayController with a base class


  • Subject: NSArrayController with a base class
  • From: Todd Heberlein <email@hidden>
  • Date: Tue, 09 Dec 2008 11:24:39 -0800

Hi all,

I'm looking for documentation/tutorial/pointers on how to handle the situation when an NSArrayController is managing an NSMutableArray which will contain multiple types of objects but all of which have the same base class. So the NSArrayController's "Object Controller" "Class Name" is actually a base class.

Then when a user selects an item in the list, depending on the subclass type a different view will be displayed, each with different fields that will be views for the data in the subclass instance.

Is this possible with controllers? Is it recommended/discouraged? Any pointers?

Thanks,

Todd

_______________________________________________

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: NSArrayController with a base class
      • From: Rob Rix <email@hidden>
  • Prev by Date: Re: Quote in path name
  • Next by Date: NSTextField in a sheet and focus
  • Previous by thread: Re: Quote in path name
  • Next by thread: Re: NSArrayController with a base class
  • Index(es):
    • Date
    • Thread