> 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)
>> 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
In GSAppDelegate.h
GSOutlineWindowController *mainWindowController;
In GSAppDelegate.mm
- (void) showOutlineWindow
{
if (mainWindowController == NULL)
mainWindowController = [[GSOutlineWindowController alloc]
initWithWindowNibName : @"GSOutlineWindowController"];
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
> 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