Let\'s say I want to ad开发者_Python百科d 50 images to a view for the purpose of animating them. And let\'s suppose I\'m planning on using Core Animation (e.g., CABasicAnimation) rather than \"UIView\
Does someone know of a way, or has a creative idea as to how to obtain an UIImage that is rendered from a UIWebView? The catch is, that is must be on a background thread.
how can i use drawLayer for multiple layers in one class? I was thinking maybe something like this: - (void)drawLayer:(CALayer *)layer inContext:(CGContextRef)context {
Iv animated a CALayer to move along a curve. Once the animation is done i hide the layer in the animationDidStop delegate. Say i set the layer\'s frame.origin to be at point x. And i animate the Layer
I have an iPad app that has draggable UIViews contained in a larger parent UIView (which i\'ll call the main view).One of the features of the app is the ability to drag between two views to connect th
I have an iPad app that draws something like tracing paper: a translucent surface with marks on one side. In the app the user can \"fold\" the paper over to line up the marks.
I h开发者_如何学运维ave an NSView that contains an NSScrollView containing a CALayer-backed NSView. I\'ve tried all the usual methods of capturing an NSView into an NSImage (using -dataWithPDFInsideRe
I have a method in which a bunch of layers are positioned, and a single \"activated\" layer (b开发者_开发知识库asically a layer that the user has clicked on) is both positioned and resized at the same
I am subclassing UIScrollView and adding some visual elements. At the top, there should be a gradient going from black to clear, and at the bottom there is a mask that fades out towards the bottom. I
I have a multiple CAShapeLayers in a view and I\'d like to drag it.(shape are irregular) Please give some sug开发者_运维知识库gestions for doing it.CALayer and its subclasses are not part of the respo