• 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
example of a NSScrollView where scrolling is overridden ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

example of a NSScrollView where scrolling is overridden ?


  • Subject: example of a NSScrollView where scrolling is overridden ?
  • From: Guillaume Laurent <email@hidden>
  • Date: Sun, 30 May 2010 11:59:46 +0200

OK this isn't very clear so I'll try to explain my problem.

I need to scroll over a potentially very large area, that area has CALayers, which will themselves "be" very large. That is, they will appear so. So I need to have control over the scrolling so that those "large" CALayers will appear to scroll but actually redrawing their content as appropriate.

From what I gather, I need to override NSScrollView:drawRect and from that to somehow drive the drawing in the underlying NSView, but I'd like to see a working example or something similar, if anybody has some.

Thx,

--
Guillaume
http://telegraph-road.org





_______________________________________________

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: example of a NSScrollView where scrolling is overridden ?
      • From: James Bucanek <email@hidden>
  • Prev by Date: Re: Activating application raises windows meant to be invisible
  • Next by Date: Clicking links in webview does nothing
  • Previous by thread: Re: NSError* reference in method Re: deprecated method
  • Next by thread: Re: example of a NSScrollView where scrolling is overridden ?
  • Index(es):
    • Date
    • Thread