Re: [SOLVED] noob question regarding proxy object returned by -selection method of NSArrayController
Re: [SOLVED] noob question regarding proxy object returned by -selection method of NSArrayController
- Subject: Re: [SOLVED] noob question regarding proxy object returned by -selection method of NSArrayController
- From: "Owen Yamauchi" <email@hidden>
- Date: Sat, 28 Jun 2008 11:14:50 -0700
How about [[controller selection] valueForKey:@"self"]? NSObject has a
-self method which just returns the receiver, and since the proxy
object must respond to the KVC query as if it were the underlying
object, you get the underlying object back.
Owen
_______________________________________________
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