In the Build Phases tab of the target, open compile sources and set the 
compiler flags for your subclass’s .m to -fno-objc-arc. 

Don’t forget that the signature for -release is -(oneway void)release, not just 
-(void)release :)

Daniel


> On May 22, 2019, at 12:13 PM, Carl Hoefs <newsli...@autonomy.caltech.edu> 
> wrote:
> 
> 
>> On May 22, 2019, at 11:31 AM, Daniel DeCovnick <danhd...@mac.com 
>> <mailto:danhd...@mac.com>> wrote:
>> 
>> You can always subclass, turn off ARC for that file, and override -release 
>> or -autorelease to breakpoint in.
> 
> How does one turn off ARC for a specific file?
> -Carl
> 

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to