Re: Custom View in NSToolbar problem
Re: Custom View in NSToolbar problem
- Subject: Re: Custom View in NSToolbar problem
- From: malcom <email@hidden>
- Date: Wed, 19 Oct 2005 11:47:10 +0200
Ok need I to load the nib. So I should to use:
if ([NSBundle loadNibNamed:@"searchview" owner: self]) {
NSLog(@"- Nib loaded");
} else {
NSLog(@"- Nib not loaded");
}
OK now it works!
Thank you very much joar.
2005/10/19, j o a r <email@hidden>:
>
> On 19 okt 2005, at 11.15, malcom wrote:
>
> > Why? I've connected the
> >
> > IBOutlet NSView *view;
> >
> > to the NSView in IB (see the nib file: searchview.nib) so it should to
> > return the nib nsview....or not?
> > Why is it nil?
>
> Where do you load the searchview.nib file?
>
> j o a r
>
>
>
>
>
>
--
cocoaworks software
software development
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden