• 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
Infinite scrolling with CALayer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Infinite scrolling with CALayer


  • Subject: Infinite scrolling with CALayer
  • From: "Fabrizio Guglielmino" <email@hidden>
  • Date: Wed, 22 Oct 2008 09:52:18 +0200

Hi all,
I'm trying to simulate an endless vertical scrolling using CALayer.
In my first test I made a simple texture (it's a street asphalt) and I
create a CALayer with this texture as content.
I made also a socond layer with same content attached on top to the main
layer, simply incrementing the position
of the main layer I can made a scrolldown simulating a running steet see
from  top.
My question is : how can I made an infinite scroll? It's possible to change
the role of superlayer removing it when it's offscreen, adding a new
layer and promoting the old layer to super?
It's the way I'm using the right way? I've excluded CAScrollLayer because I
need to fine control the speed of scrolling in function of many parameters.


Many thanks
Fabrizio
_______________________________________________

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

  • Prev by Date: WebView: Open new windows in default browser
  • Next by Date: How to use third-party library in cocoa program?
  • Previous by thread: Re: WebView: Open new windows in default browser
  • Next by thread: How to use third-party library in cocoa program?
  • Index(es):
    • Date
    • Thread