What is a CALayer?
What is a CALayer?
- Subject: What is a CALayer?
- From: Gordon Apple <email@hidden>
- Date: Tue, 17 Feb 2009 12:40:42 -0600
- Thread-topic: What is a CALayer?
OK, I've said it. WHAT is a CALayer? I'm using a lot of them and
appreciate what they can do, but still don't understand them. The docs,
books, etc., are reasonably good at how they relate to each other, but suck
toadstools when it comes to relating them to the underlying view. It's
taken a long time with vast experimentation to get things (mostly) working
right. Recent discussions here have (finally) shed some light on the
difference between CREATING a layer-backed view vs. a layer-hosted view, but
not in explaining the difference.
CALayers are just too abstract to really understand what's going on. I
assume there is a ton of stuff going on under the hood that we're just not
privileged to. Maybe someone more skilled than myself at debugging tools
could figure out more than I have. Many times, the docs are a little terse
on things such as how a masking layer relates to the layer being masked and
exactly how CIFilters are applied to images (especially regarding scale).
Also, the recent discussion about swapping out content layers shows that
there still may be a few holes in this stuff. I've been having issues with
media layers and garbage collection. It just seems like having a little
more fundamental knowledge about WHAT we are dealing with might help. Any
takers?
_______________________________________________
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