• 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: NSScrollView notification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScrollView notification


  • Subject: Re: NSScrollView notification
  • From: Uli Kusterer <email@hidden>
  • Date: Mon, 27 Aug 2007 20:36:24 +0200

On 24.08.2007, at 17:50, Alexander Cohen wrote:
Does the NSScrollView send any notification of anything of the sort when it starts scrolling and when it ends?

I have a view in a scrollview that needs to do something special when its scrollview has stopped scrolling. how can i accomplish this?

There's been some postings on this list about how to do a "gutter view" showing line numbers, and there's a page on that topic at the http://www.cocoadev.com Wiki. You may wanna look there. Essentially, they install an event listening to the enclosingScrollView's NSClipView, after telling it to send these notifications.


You may also want to look into NSRulerView and the likes, in many cases that makes for a cleaner design, and avoids a proliferation of notifications.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

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: 
 >NSScrollView notification (From: Alexander Cohen <email@hidden>)

  • Prev by Date: Re: NSWindowDidChangeScreenProfileNotification not working
  • Next by Date: Re: NSWindowDidChangeScreenProfileNotification not working
  • Previous by thread: Re: NSScrollView notification
  • Next by thread: Calling a setter from setObjectValue causes crash in NSCell subclass
  • Index(es):
    • Date
    • Thread