On Thu, Apr 29, 2010 at 1:20 AM, Oleg Krupnov <oleg.krup...@gmail.com> wrote: > Is there a way to clone a CALayer? I need two copies of the same > drawing, which takes a long time to calculate and draw, so I'd prefer > to simply copy the result. A brief look shows that CALayer does not > support -[NSObject copy].
Render your image once, and assign both layers the same contents in -display (or -displayLayer:). --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com