• 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: passing a method name?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: passing a method name? (From: Matt Neuburg <email@hidden>)
 >Re: passing a method name? (From: glenn andreas <email@hidden>)
 >Re: passing a method name? (From: Graham Cox <email@hidden>)
 >Re: passing a method name? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: passing a method name?
  • Next by Date: Re: Are views active or inactive?
  • Previous by thread: Re: passing a method name?
  • Next by thread: Customizing NSTableViewHeader
  • Index(es):
    • Date
    • Thread