Re: valueForKey to call function
Re: valueForKey to call function
- Subject: Re: valueForKey to call function
- From: Graham Cox <email@hidden>
- Date: Wed, 30 Apr 2008 19:34:59 +1000
No, because pickPoint: isn't a property, it depends on some external
input as well as the view's state.
G.
On 30 Apr 2008, at 7:22 pm, Alexey Baev wrote:
I have NSView* view.
I can write: [view valueForKey: @"isHidden"] to call property: [view
isHidden].
Can I write something like [view valueForKey: @"..."] to call this:
[view pickPoint: mouseLoc], where mouseLoc is NSPoint.
Alex.
_______________________________________________
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
_______________________________________________
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