Re: NSViewController
Re: NSViewController
- Subject: Re: NSViewController
- From: Erik Stainsby <email@hidden>
- Date: Fri, 05 Oct 2012 21:57:50 -0700
> @"SNPreferencesViewController.xib"
Don't included the xib file extension.
Erik Stainsby
email@hidden
On 2012-10-05, at 8:38 PM, koko <email@hidden> wrote:
> Ok, I have done this:
>
> m_SNPreferencesViewController = (SNPreferencesViewController*)[[NSViewController alloc] initWithNibName:@"SNPreferencesViewController.xib" bundle:nil];
>
> and this
> m_SNPreferencesViewController = (SNPreferencesViewController*)[[NSViewController alloc] initWithNibName:@"SNPreferencesViewController" bundle:nil];
>
> and stepping over I get a value in m_SNPreferencesViewController but its initWithNibName:bundle: is not called.
>
> How can this be?
>
> -koko
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden