Re: Cocoa bug? release/removeObserver from inside observeValueForKeyPath

2008-05-30 Thread Geoff Schmidt
stances of release must be replaced with autorelease to avoid the problem, it's clear enough in my application :)) Submitted to bugreport.apple.com as #5976416. Geoff On May 30, 2008, at 2:07 AM, Kai wrote: On 30.5.2008, at 00:53, Hamish Allan wrote: On Thu, May 29, 2008 at 11:15 PM

Cocoa bug? release/removeObserver from inside observeValueForKeyPath

2008-05-29 Thread Geoff Schmidt
Suppose that two objects A and B are observing a key on a third object C. Suppose further that from its observeValueForKeyPath method, A releases B, causing B's dealloc method to be called, and that B's dealloc method properly calls removeObserver. Then, despite the call to removeObserver,

removeFromSuperview, _registerDragTypesLater, and clean exits

2008-05-22 Thread Geoff Schmidt
Summary: A surprising property of removeFromSuperview prevents my application from fully freeing a nib. Any suggestions? -- I wanted to be sure my nibs were getting unloaded correctly, so I turned to ObjectAlloc. I found that one of my nib-loaded NSWindows and all of its views, table colum