• 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
Rép : NSWindowController & NSDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rép : NSWindowController & NSDocument


  • Subject: Rép : NSWindowController & NSDocument
  • From: Roland Laurès <email@hidden>
  • Date: Thu, 20 Sep 2001 15:08:29 +0200

Hi,
Try to find some help in this example (I can't do more for u
actually because I'm a newby too :) ) : SimpleMultiWindow (in the
developer/examples/InterfaceBuilder folder) with the developper tools of
MOSX.

Bye and good luke ;)

Le mercredi 19 septembre 2001, ` 11:47 PM, Tae-Won Ha a icrit :

Hi... I've got a question regarding NSWindowController & NSDocument.

How can I do this:
The document has 2 windows. When you open the doc, just one window is
opened. If you click a button or something like that in this first
window the first window disappears and the second one is displayed.

I tried this:
@implementation MyFirstWindowController
- (IBAction)someAction:(id)sender
{
MySecondWindowController *controller = init stuff.....;
[[self document] addWindowController:controller];
[controller release];
}
@end
It doesn't work...

Please help me..... (I just started to learn Cocoa & ObjC)

Tae-Won Ha
=)
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


  • Prev by Date: How to using a library ?
  • Next by Date: Re: Aqua Interface Guidelines & Close Window location
  • Previous by thread: How to using a library ?
  • Next by thread: Autoresize fails in a Scroll View!
  • Index(es):
    • Date
    • Thread