> On Jan 4, 2017, at 7:16 PM, Quincey Morris
> wrote:
>
> On Jan 4, 2017, at 14:11 , Jean-Daniel wrote:
>>
>> When using storyboard, the only way to instantiate window is by getting a
>> reference to the window controller (by using
>> -instantiateControllerWithIdentifier:), so it should not
On Jan 4, 2017, at 14:11 , Jean-Daniel wrote:
>
> When using storyboard, the only way to instantiate window is by getting a
> reference to the window controller (by using
> -instantiateControllerWithIdentifier:), so it should not be an issue.
The problem I was referring to is when the window [
> Le 4 janv. 2017 à 20:37, Quincey Morris
> a écrit :
>
> On Jan 4, 2017, at 02:30 , Daryle Walker wrote:
>>
>> I always had to guess how to retain a non-document window. I usually get it
>> after a bunch of hacking, but I want more official advice. Like I can get
>> from here.
>>
>> I thi
On Jan 4, 2017, at 02:30 , Daryle Walker wrote:
>
> I always had to guess how to retain a non-document window. I usually get it
> after a bunch of hacking, but I want more official advice. Like I can get
> from here.
>
> I think there are three scenarios:
> - a window with 0 or 1 instances lik
The NSDocument system makes sure the windows it creates are retained until
closing. You can see this in default new-project code. If you run the default
code for non-document apps, you see that there's no way to bring back the
initial window if closed, and therefore has no chance to show proper