Turning off ARC in one file helped track down the problem.  Thanks Daniel!

With breakpoints in retain and autorelease, it was possible to step through
the whole tab setup process.   Turns out that NSTabViewController's
addChildViewController calls didSelectTabViewItem before the tab is set up 
properly.

I'm not quite sure how that threw off reference counting, but it stopped
crashing after adding a  branch in didSelectTabViewItem to bypass the first 
call.

Thanks for all the suggestions!

Casey McDermott
Turtle Creek Software
_______________________________________________

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

Reply via email to