• 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: (no subject) - NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject) - NSOutlineView


  • Subject: Re: (no subject) - NSOutlineView
  • From: Nick Zitzmann <email@hidden>
  • Date: Sat, 17 Mar 2007 12:10:21 -0600


On Mar 17, 2007, at 6:29 AM, Orr Philip wrote:

When the computer asks for "-outlineView:child:ofItem:", do you pass it the items address whether its an NSString or NSArray or whatever, and it uses this as an id which it then passes to "outlineView:objectValueForTableColumn:byItem", I think.

Correct.

If this is the case then how do you know what the item is relating to, NSString, customArray, or whatever.

Use the -isKindOfClass: and -isMemberOfClass: NSObject methods.

Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >(no subject) (From: Orr Philip <email@hidden>)
 >Re: (no subject) (From: Uli Kusterer <email@hidden>)
 >Re: (no subject) - NSOutlineView (From: Orr Philip <email@hidden>)
 >Re: (no subject) - NSOutlineView (From: Nick Zitzmann <email@hidden>)
 >Re: (no subject) - NSOutlineView (From: Orr Philip <email@hidden>)

  • Prev by Date: Re: capturing a double-click on a control
  • Next by Date: Re: capturing a double-click on a control
  • Previous by thread: Re: (no subject) - NSOutlineView
  • Next by thread: Renaming the "Cancel" button for NSOpenPanel
  • Index(es):
    • Date
    • Thread