• 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: drawRect doesn't get called when using CoreAnimation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: drawRect doesn't get called when using CoreAnimation?


  • Subject: Re: drawRect doesn't get called when using CoreAnimation?
  • From: Scott Anguish <email@hidden>
  • Date: Mon, 21 Jul 2008 01:41:36 -0400


On 20-Jul-08, at 7:21 PM, Gordon Apple wrote:

OK, now that is at least the type of definitive statement I've been
looking for. (I have recently opened a discussion with DTS on some of these
issues.) So apparently, there are some things internal that change when you
call "setLayer" besides just the layer?

I can't speak to the specifics, I've not investigated if fully.



I have also figured out (and had confirmed in the archives) that if you
want to use layers in a scrollable view, the scroll view (or at least the
clip view) better be layer backed. But that implies that the scrollable
view will also automatically be layer backed. Apparently, that changes when
you do "setView" on it that makes it layer-hosting?

if a view in a view hierarchy is configured as layer-backed, all subviews are (this is currently only documented in the Animation Overview, Hybrid Apps section... this will be fixed shortly.




Then that raises the question of what happens to the view's layer when
you change the frame of the main (scrollable) view? Does it automatically
resize? Or should you programatically resize the layer? Or just replace it
using setView again to set it's frame to the new view frame size?

haven't investigated this either.


_______________________________________________

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: drawRect doesn't get called when using CoreAnimation? (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: Redrawing CALayer subclass when super layer is scaled
  • Next by Date: Re: Newbie CALayer Questions
  • Previous by thread: Re: drawRect doesn't get called when using CoreAnimation?
  • Next by thread: newbie question: NSURLConnection delegation and "method instance"
  • Index(es):
    • Date
    • Thread