I have a UIView class which uses a custom CALayer-derived backing layer. i.e., I have a static layerClass method which returns the class of my custom CALayer class.
This issue has been encountered by someone else, but I\'ve not seen any solutions - see ( http://openradar.appspot.com/6941930 ).
I find some code like this: CABasicAnimation *anim = [CABasicAnimation animation]; anim.keyPath = @\"transform.scale\";
Trying to understand why am I getting low quality drawing with CGContextShowTextAtPoint? See attached image:
When subclassing an CALayer and implementing the drawInContext method, I would assume that any drawing I do within there is all that will show up, but instead if I set (for example) borderWidth/border
For开发者_开发技巧 the shadow properties on the CALayer, is that only rectangular and particular to the layer only? That is, with quartz I can set shadow while doing a fill path on some arbitrary path
I have a CALayer which animates (moves) off-screen on the y axis. After it\'s off-screen i\'m doing a [myLayer removeFromSuperLayer] so开发者_如何学Python its gone from the view and does not go back t
I have a custom borderless NSWindow in the shape of a circle. To do this I use a custom NSView that dra开发者_Python百科ws a filled circle.
Hey. i have a main layer that contains a 4 circle layers a开发者_开发问答nd inside each circle there is a text layer :
I couldn\'t post the image, but I use the \"CGContextDrawRadialGradient\" method to draw 开发者_StackOverflowa shaded blue ball (~40 pixel diameter), it\'s shadow and to make a \"pulsing\" white ring