• 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: CustomView and nib file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CustomView and nib file


  • Subject: Re: CustomView and nib file
  • From: Jacques <email@hidden>
  • Date: Mon, 29 Sep 2003 23:35:48 +0200

Le lundi 29 septembre 2003, Amul Goswamy disait :

>That outlet is now a pointer to your custom view, you can now pass that
>pointer when you call setContentView: on your NSWindow.

Wonderful, it's works :-)

I saw the MultiNibTabView a sample code of that.

I have another problem and I saw nothing in NSView or NSWindow to help
me.

My application is a window, with a four NSTabview.
For the first 3 tabs the controls are in MainNib. For the 4th I have
only a popup menu. Depending the value of this menu I load a different
nib file.

But, after loading and displaying one of this nib file, if I use the
first tab, there is on my window the loaded controls AND the controls
for the first tab.

How can I "erase" the "old" controls ? Is it possible or must I make a
nib file for each tab with something like that ?

Tab 1 -> nib file 1
Tab 2 -> nib file 2
Tab 3 -> nib file 3
Tab 4 -> nib file 4 with my popup menu
item 1 -> nib menu 1
item 2 -> nib menu 2
....

Thanks again for your help.

Jacques
--
LANGUE : organe sexuel dont certains diginiris se servent pour parler.
P. Desproges
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: CustomView and nib file (From: Amul Goswamy <email@hidden>)

  • Prev by Date: Re: Little question on kCFCoreFoundationVersionNumber
  • Next by Date: Warning question
  • Previous by thread: Re: CustomView and nib file
  • Next by thread: Re: CustomView and nib file
  • Index(es):
    • Date
    • Thread