I have CGLayers cached in an NSMutableDictionary where I use them as follows: - (CGLayerRef)getLayerForCacheKey:(CacheKey)cacheKey andProperty:(id)property {
We\'re repetitively making a CGLayer, doing processing, and then releasing it. This happens a lot in real time. Surely there is a lot of overhead in making a whole new CGLayer each time. So...
Here\'s the setup: I have a NSView which is a CALayer-backed view, and contains many CALayers. I have a CALayer for the \'background\' of the view, and many small CALayers which are sublayers. Someti
I have a loop that fires a function 30 times per second. The function changes the position of a couple of points that I use to animate. I dra开发者_如何学编程w lines through all the points, meaning th
On iPhone or iPad someone know how we can get a CGLayer (not a CALayer) from an UIVie开发者_Python百科w?
Basically, I want to animate a shrinking circle. I\'ve already done this by drawing progressively smaller circles onto CGLayer\'s, and then using
I just need to know hot to create a CGLayer t开发者_StackOverflowhat has an image drawn to it. I am not completely understanding the documentation entirely. ThanksA while ago I posted a blog post on a
I\'m not really sure, what am I asking... ...but if make layer composites in separate methods, and draw them to the view also outside of the drawRect: method... ...then could my app performance get r
I am trying to improve the performance of scrolling in our app.I have followed all of the generally accepted advice (draw it yourself with CG, the cell is opaque, no subviews, etc.) but it still stutt
I need to mask a \"texture\" image with a rotated greyscale image. I found out, that I have to do it with CGImages or CGlayers (if there is a simplier way using UIImageViews only, please let me know