Going back to non-ARC
Going back to non-ARC
- Subject: Going back to non-ARC
- From: John Brownie <email@hidden>
- Date: Fri, 12 Jun 2015 18:18:48 +1000
Having worked with ARC code for a long while, I discovered an
incompatibility with a library that means I have to convert to non-ARC
code. Of course, there's no guidelines for this, so I'm just wondering
what the rule is for the dealloc method. I would release all non-nil
instance variables, and I think I should be releasing strong properties.
What about IBOutlets that are declared as strong? Do they have to be
released as well, or is there some magic in nib handling that makes that
unnecessary?
Any advice welcome before I go back to testing and looking at leaks, etc.
John
--
John Brownie, email@hidden or email@hidden
Summer Institute of Linguistics | Mussau-Emira language, Mussau Is.
Ukarumpa, Eastern Highlands Province | New Ireland Province
Papua New Guinea | Papua New Guinea
_______________________________________________
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