On Oct 21, 2013, at 4:39 PM, Jerry Krinock <je...@ieee.org> wrote:

> It looks like the closing and quitting methods are stepping into  or onto one 
> another somehow.

All the interactions here are subtle and thinly documented. It all "just works" 
for standard document-based apps and subclasses of NSDocument, but once you 
step outside that realm it can be tricky to get everything to work right.

I went through this with windows that act somewhat like documents but do not 
inherit from NSDocument (they are database entries), and a home-grown window 
controller that does not inherit from the document-based one, but implements 
much similar functionality.

I'm sorry I have no idea what your problem is and thus no specific advice, but 
I think that what you're trying to do can be done. The only advice I can offer 
is to implement every single related callback, even ones you think you don't 
need, put logging into them all, and then experiment.

-- 
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice





_______________________________________________

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