On 10 Oct 2013, at 5:10 PM, Jerry Krinock <je...@ieee.org> 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 <sstan...@myriad-com.com.au> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/> _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com