• 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
custom window controllers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

custom window controllers


  • Subject: custom window controllers
  • From: "Donald S. Hall" <email@hidden>
  • Date: Thu, 19 Sep 2002 00:40:25 -0600

Does anyone have a sample code snippet for installing a custom window
controller for a document? I want to modify the document window title, and
this seems to be the way to do it. I have read over the documentation and
see the methods I need to work with. I must override -makeWindowControllers
in my NSDocument subclass to create my custom window controller. Do I need
to send [self makeWindowControllers] somewhere? (Where?) Also, it says I
must send the -addWindowController message to add my controller to the
document's list of controllers. Again, where should I do this? In -init? In
-makeWindowControllers?

Thanks for any help,

Don
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
http://www.theboss.net/appsmore
email@hidden
_______________________________________________
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: custom window controllers
      • From: Chris Giordano <email@hidden>
    • Re: custom window controllers
      • From: Eric <email@hidden>
  • Prev by Date: Implementing file download (was Re: 2 different questions)
  • Next by Date: NSImage vs NSImageRep uncompressed vs compressed data
  • Previous by thread: Rendezvous, NSNetService's resolve doesn't work when not connected
  • Next by thread: Re: custom window controllers
  • Index(es):
    • Date
    • Thread