• 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: Stop NSScrollView from catching scroll events.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stop NSScrollView from catching scroll events.


  • Subject: Re: Stop NSScrollView from catching scroll events.
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 24 Mar 2009 00:12:48 -0500

On Mon, Mar 23, 2009 at 10:48 PM, Michael Ash <email@hidden> wrote:
> Right, that would be my preferred way of doing it. I like to use the
> NSObject methods rather than the ObjC runtime functions where I can,
> since the NSObject methods are usually friendlier and more broadly
> compatible.

For the record, I agree with Mike on this point; had I remembered the
method, I would have used it too.  I happened to be in the ObjC
runtime docs looking up the signature for method_getImplementation, so
I went with the runtime function.

The advantage of using +instanceMethodForSelector: is that classes can
override it to seamlessly provide forwarded method implementations,
for example to a delegate.

--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

  • Follow-Ups:
    • Re: Stop NSScrollView from catching scroll events.
      • From: Michael Ash <email@hidden>
References: 
 >Stop NSScrollView from catching scroll events. (From: Ben Lachman <email@hidden>)
 >Re: Stop NSScrollView from catching scroll events. (From: Michael Ash <email@hidden>)
 >Re: Stop NSScrollView from catching scroll events. (From: Ben Lachman <email@hidden>)
 >Re: Stop NSScrollView from catching scroll events. (From: Corbin Dunn <email@hidden>)
 >Re: Stop NSScrollView from catching scroll events. (From: Ben Lachman <email@hidden>)
 >Re: Stop NSScrollView from catching scroll events. (From: Michael Ash <email@hidden>)

  • Prev by Date: Re: IB instantiating objects
  • Next by Date: Re: IB instantiating objects
  • Previous by thread: Re: Stop NSScrollView from catching scroll events.
  • Next by thread: Re: Stop NSScrollView from catching scroll events.
  • Index(es):
    • Date
    • Thread