Re: passing a method name?
Re: passing a method name?
- Subject: Re: passing a method name?
- From: Kyle Sluder <email@hidden>
- Date: Tue, 22 Dec 2009 21:30:57 -0600
On Tue, Dec 22, 2009 at 9:28 PM, Kyle Sluder <email@hidden> wrote:
> See -[NSControl tag] for an example of where it's done in Cocoa.
Didn't finish my sentence. Specifically it is done with the tag by
-[NSTextView performFindPanelAction:]. It's not quite using the
caller's selector, but it is funneling quite a few different code
paths through the same method. Personally, I don't like it at all. I
wish they were just separate methods.
--Kyle Sluder
_______________________________________________
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