• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom View in NSToolbar problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Custom View in NSToolbar problem (From: malcom <email@hidden>)
 >Re: Custom View in NSToolbar problem (From: j o a r <email@hidden>)

  • Prev by Date: Re: 24-hour default
  • Next by Date: Deployment build from Tiger not running on Panther
  • Previous by thread: Re: Custom View in NSToolbar problem
  • Next by thread: Deployment build from Tiger not running on Panther
  • Index(es):
    • Date
    • Thread