On Jan 12, 2009, at 12:57 PM, Dennis Christopher wrote:
Dave,
Thanks for the pointer. I had corrected the original array
enumeration error, and forgotten. But no matter how I try to access
a sublayer I seem to have a problem.
When I now try your suggestion I still get a crash. The call stack
shows, in order of execution:
[CALayer setSublayers:]
CALayerUpdateSublayers
updateRemovedSublayer
CALayerMarkVisible
.
.
objc_msgSend (EXC_BAD_ACCESS)
Can you suggest what might be wrong?
I can't reproduce that issue in a simple test project, so I would
suspect that you either have a memory management issue or some other
dependency. I would start by pulling out the code your looking at into
a smaller test project and seeing if you can reproduce the issue from
there.
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
Cocoa-dev mailing list ([email protected])
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 [email protected]