I'm still puzzled. When I put this:
self.foregroundColor = nil;
in my layer's dealloc method, I get this error:
attempting to modify layer that is being finalized
But if I don't put that line in dealloc, Instruments doesn't detect
any leaks.
In the documentation, the foregroundColor property is defined like this:
@property CGColorRef foregroundColor
There's no retain parameter.
_______________________________________________
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 [EMAIL PROTECTED]