Re: Something missing here!
Re: Something missing here!
- Subject: Re: Something missing here!
- From: Jonathan Mitchell <email@hidden>
- Date: Tue, 03 Jun 2014 19:51:37 +0100
On 3 Jun 2014, at 19:31, William Squires <email@hidden> wrote:
> Okay, I created a "New File -> Objective C class" named SMPLRollPCWindowController, and checked the "create xib" checkbox. All okay there. I see the header and implementation file, plus my SMPLRollPCWindow.xib. But, here's the gotcha! According to the (rather simple) template code generated, there appears to be no way in which the window controller could load the xib!
>
The template uses the designated initialiser - (id)initWithWindow:(NSWindow *)window.
To load a nib try - (id)initWithWindowNibName:(NSString *)windowNibName
Templates tend to be a bit and miss at the best of times.
Jonathan
_______________________________________________
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