• 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: makeWindowControllers question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: makeWindowControllers question


  • Subject: Re: makeWindowControllers question
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 2 Dec 2003 17:21:49 -0800

On Dec 2, 2003, at 5:13 PM, Bill Greene wrote:

[super initWithWindowNibName:@"MyNibName"];
More accurately, I'm creating my new controller in -makeWindowControllers thus:
MyWindowController *controller = [[MyWindowController alloc] initWithDocument:self];
and -[MyWindowController initWithDocument:] is the one that does

Ah, how about just

id newController =
[[MyWindowController alloc] initWithWindowNibName:@"MyNib"];
[self addWindowController:newController];

mmalc
_______________________________________________
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.

  • Follow-Ups:
    • Re: makeWindowControllers question
      • From: Bill Greene <email@hidden>
References: 
 >makeWindowControllers question (From: Bill Greene <email@hidden>)
 >Re: makeWindowControllers question (From: mmalcolm crawford <email@hidden>)
 >Re: makeWindowControllers question (From: Bill Greene <email@hidden>)
 >Re: makeWindowControllers question (From: mmalcolm crawford <email@hidden>)
 >Re: makeWindowControllers question (From: Bill Greene <email@hidden>)
 >Re: makeWindowControllers question (From: mmalcolm crawford <email@hidden>)
 >Re: makeWindowControllers question (From: Bill Greene <email@hidden>)
 >Re: makeWindowControllers question (From: Bill Greene <email@hidden>)

  • Prev by Date: Re: makeWindowControllers question
  • Next by Date: Re: Tips on Saving Data?
  • Previous by thread: Re: makeWindowControllers question
  • Next by thread: Re: makeWindowControllers question
  • Index(es):
    • Date
    • Thread