Re: (no subject) - NSOutlineView
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