Re: ARC Retain Cycles
Re: ARC Retain Cycles
- Subject: Re: ARC Retain Cycles
- From: Roland King <email@hidden>
- Date: Mon, 21 Apr 2014 19:04:10 +0800
On 21 Apr, 2014, at 6:45 pm, Dave <email@hidden> wrote:
>
> It does use isKindOfClass, I wasn’t trying to be 100% correct on the fluff, just showing giving an example of the type of thing going in in property assignment.
>
> I didn’t write that part it was like that and by all account it sort of worked.
>
> I may just revert back to the non-ARC version do manual Memory Management as ARC seems very difficult to debug, especially since you can’t get at things like “retainCount” or override “retain”, “release” etc.
>
It's not really hard to debug, it's just different. retainCount never was a very good indicator of what was going on anyway. I really do suggest using Instruments, that even pairs up retains and releases for you in the detailed logging so you can often figure out what the dangling one is.
_______________________________________________
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