On 10 Oct 2013, at 5:10 PM, Jerry Krinock <[email protected]> wrote:

> Issues like this often crop up as soon as you try to make an app which his 
> more complicated than Apple Sample Code :))

Yep. The curious thing is I've been working on this for some time, and it's 
only just cropped up. Now it might be that I never did a revert with one folder 
like this before, but it might be something else that's changed. My first 
instinct, though, is that it's at my end.
> 
>> I'm using ARC.
> 
> ARC doesn't help for KVO observers, notification observers, delegates, manual 
> bindings, or data sources. These must still be managed manually.

Understood. I mention it to save someone asking, though.
> 
> Here is some typical code "tear down" code.  This is for a tabbed window.  
> Note the outline view's delegate and data source being set to nil.
> 
> * In window controller implementation
> 
> - (void)windowWillClose:(NSNotification *)aNotification {

One of the first things I tried was putting a breakpoint on -windowWillClose: 
The thing is, it doesn't get that far -- the breakpoint is never hit. That's 
partly why I'm unsure of where to look next.

-- 
Shane Stanley <[email protected]>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to