On Dec 5, 2009, at 4:10 PM, R T wrote: > I am trying to create an array of CGImageRefs that I will use to create > CGLayers. > myCGImageRefImage is the CGImageRef of the key image. > Each loop, I'm trying to reload imgForLayer with this key image. > The line...imgForLayer = CGImageCreateCopy(myCGImageRefImage) ...doesn't work > at all.
That line is unrelated to all of the other code you pasted... If that line is your question, then the only answer I see is that myCGImageRefImage is probably nil. -- Seth Willits _______________________________________________ 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