• 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: NSWindowController with NSObjectController doesn't dealloc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindowController with NSObjectController doesn't dealloc


  • Subject: Re: NSWindowController with NSObjectController doesn't dealloc
  • From: Scott Stevenson <email@hidden>
  • Date: Mon, 11 Oct 2004 15:00:30 -0700


On Oct 11, 2004, at 10:52 AM, Shaun Wexler wrote:

The final solution: don't use bindings, until Apple fixes this huge bug, or leak like crazy.

This may makes sense for you since you have your own system that you can use instead, but saying that everyone else should toss out bindings wholesale because of this issue doesn't seem like a good idea.

There are at least one or two workarounds that are easily implemented and almost certain require less code than all the manual data manipulation you'd need without bindings. Dennis had simplest suggestion I've seen thus far, which is simply to create an NSObjectController to bind UI elements to, and populate the controller with -setContent after the nib wakes up:

http://www.cocoabuilder.com/archive/message/2004/7/28/113081

- Scott


--
http://treehouseideas.com/
http://theobroma.treehouseideas.com/ [blog]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: NSWindowController with NSObjectController doesn't dealloc
      • From: Shaun Wexler <email@hidden>
References: 
 >NSWindowController with NSObjectController doesn't dealloc (From: Peter Schmidt <email@hidden>)
 >Re: NSWindowController with NSObjectController doesn't dealloc (From: Shaun Wexler <email@hidden>)

  • Prev by Date: setTitleWithRepresentedFilename weirdness
  • Next by Date: Re: bookmarks bar
  • Previous by thread: Re: NSWindowController with NSObjectController doesn't dealloc
  • Next by thread: Re: NSWindowController with NSObjectController doesn't dealloc
  • Index(es):
    • Date
    • Thread