• 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: windowcontroller neccessary?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: windowcontroller neccessary?


  • Subject: Re: windowcontroller neccessary?
  • From: matt neuburg <email@hidden>
  • Date: Sun, 12 Jan 2003 10:14:42 -0800

On Sat, 11 Jan 2003 15:08:00 +0100, daniel oberhoff <email@hidden> said:

>question: is there any forcing reason to ever user NSWindowControler as
>a superclass?

NSWindowController cleans up nibs - when released, it releases every top-level object in the nib that it owns and has loaded. Unless you know how to do that yourself, you can have memory leakage (or just unnecessarily high memory usage) if you use anything but an NSWindowController to own/load a nib.

Also NSWindowController is notified when its window loads. m.

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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.

  • Prev by Date: Re: Aqua Human Interface and Safari
  • Next by Date: Re: Aqua Human Interface and Safari
  • Previous by thread: Re: windowcontroller neccessary?
  • Next by thread: Re: windowcontroller neccessary?
  • Index(es):
    • Date
    • Thread