Re: How to instantiate WindowController in xib
Re: How to instantiate WindowController in xib
- Subject: Re: How to instantiate WindowController in xib
- From: Alex Zavatone <email@hidden>
- Date: Tue, 22 Nov 2016 11:48:16 -0600
> On Nov 22, 2016, at 8:29 AM, Matt Mashyna <email@hidden> wrote:
>
> Is the right xib file selected in the xcode project settings for Deployment Info/Main Interface?
>
Is it even included in the resulting build?
>> On Nov 21, 2016, at 11:42 PM, Gerriet M. Denkmann <email@hidden> wrote:
>>
>> My MainMenu.xib has an Object of class MainWindowController ← NSWindowController.
>>
>> The AppDelegate has a reference to this (mainWindowController).
>>
>> But
>> - (void)applicationDidFinishLaunching:(NSNotification *)aNotification
>> {
>> NSLog(@"mainWindowController %@ windowNibName %@ windowNibPath %@",
>> self.mainWindowController, self.mainWindowController.windowNibName,
>> self.mainWindowController.windowNibPath);
>> }
>>
>> prints:
>> windowNibName = nil
>> windowNibPath = some totally unrelated xib file
>>
>> How to tell Xcode the WindowNibName to use ?
>>
>> Gerriet.
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Xcode-users mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden