ARC and Manual Memory Management
ARC and Manual Memory Management
- Subject: ARC and Manual Memory Management
- From: Dave <email@hidden>
- Date: Mon, 10 Aug 2015 12:59:56 +0100
Hi,
Has anyone come up with a way of having the source code support both ARC and Manual Memory Management without using #IFDEF or #IF ?
I’ve never understood why the compiler doesn’t just ignore code like:
[super dealloc];
[MyObj release];
If it’s being compiled for ARC, that way both could be compiled with the same source code or is there more to it?
Cheers
Dave
_______________________________________________
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