The value of a layer’s masksToBounds property determines if sublayers are clipped to the parent. The default value of the masksToBounds property is NO
Latest Updates: CALayer RSS
-
Praveen Matanam
-
Praveen Matanam
While there are obvious similarities between Core Animation layers and Cocoa views the biggest conceptual divergence is that layers do not render directly to the screen.
Where NSView and UIView are clearly view objects in the model-view-controller design pattern, Core Animation layers are actually model objects. They encapsulate geometry, timing and visual properties, and they provide the content that is displayed, but the actual display is not the layer’s responsibility.
Blogged with the Flock Browser -
Praveen Matanam
The CALayer class in iPhone OS only supports the “struts and springs” positioning model, it does not provide custom layout managers