iOS custom CALayer class CRASH
I'm trying to create custom drawn icons with this technique: Drawing
animated shapes and text in Core Animation layers
However that StarLayer sample is crashing (Message sent to deallocated
instance) and I can't find out what's wrong. StarLayer gets deallocated
somehow. I'm using ARC.
StarLayer is subclass of NSObject and it implements method:
- (void)drawLayer:(CALayer *)theLayer
inContext:(CGContextRef)context
Is that right approach to create custom icons using CALayers ?
No comments:
Post a Comment