Re: Cocoa-dev Digest, Vol 16, Issue 72

2019-08-25 Thread Alex Zavatone via Cocoa-dev
> On Aug 25, 2019, at 7:49 PM, Turtle Creek Software via Cocoa-dev > wrote: > >>> Either you have files where ARC is still turned of (via the -fno-arc > option > > Nope, no compiler flags at all. > >>> Make sure you're properly using NSBridgingRetain() etc. (or > the equivalent typecasts)

Re: Cocoa-dev Digest, Vol 16, Issue 72

2019-08-25 Thread Turtle Creek Software via Cocoa-dev
>> Either you have files where ARC is still turned of (via the -fno-arc option Nope, no compiler flags at all. >> Make sure you're properly using NSBridgingRetain() etc. (or the equivalent typecasts) and not mixing them up. In the hybrid C++/Obj-C++ files, we use __bridge on all the casts of

Re: ARC

2019-08-25 Thread Turtle Creek Software via Cocoa-dev
In GSAppDelegate.h GSOutlineWindowController *mainWindowController; In GSAppDelegate.mm - (void) showOutlineWindow { if (mainWindowController == NULL) mainWindowController = [[GSOutlineWindowController alloc] initWithWindowNibName : @"GSOutlineWindowController"];

Re: ARC

2019-08-25 Thread Uli Kusterer via Cocoa-dev
On 8/24/2019 1:44 PM, Turtle Creek Software via Cocoa-dev wrote: Our app delegate class is not deallocated. The window controller is deallocated despite the member reference there. If we keep the second strong reference to the controller, then the outline view is deallocated instead. Nothing

Re: ARC

2019-08-25 Thread Jens Alfke via Cocoa-dev
> On Aug 24, 2019, at 4:46 AM, Turtle Creek Software > wrote: > > Our app delegate class is not deallocated. The window controller is > deallocated > despite the member reference there. That should not be possible. Could you paste the exact line of code that declares the window-controller