CALayer subclass allocation problem
CALayer subclass allocation problem
- Subject: CALayer subclass allocation problem
- From: Bob Barnes <email@hidden>
- Date: Tue, 10 Nov 2009 12:57:07 -0800
hi all,
My iPhone app has 2 subclasses of CALayer that appear as leaked
objects when I run Instruments. In an effort to understand why I
inserted calls to retainCount when allocating these objects. After
calling alloc the reference count on my objects is 0, but after
calling the init method, which basically just calls [super init], the
reference count is 2. Is there something peculiar about CALayer that
would explain this behavior?
Bob
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden