On Mar 7, 2010, at 16:09, Keith Blount wrote:

> (I did also try calling [[MyDocumentControllerSubclass alloc] init] in my app 
> delegate’s -applicationWilFinishLaunching:)

Can you set a symbolic breakpoint on 'sharedDocumentController' and simply find 
out when and where it's first called?

Also, maybe set one in -[MyDocumentControllerSubclass init] and make sure it 
isn't returning nil.

I don't see any design problem in subclassing NSDocumentController, but, 
incidentally, I think its 'documents' property is KVO-observable. That might be 
a simpler route to your goal.


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to