Re: Crashing in NSTabView
Re: Crashing in NSTabView
- Subject: Re: Crashing in NSTabView
- From: Daniel DeCovnick <email@hidden>
- Date: Wed, 22 May 2019 12:25:00 -0700
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 <email@hidden>
> wrote:
>
>
>> On May 22, 2019, at 11:31 AM, Daniel DeCovnick <email@hidden
>> <mailto:email@hidden>> 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 (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