Re: NSDocumentController subclass not instantiated first?
Re: NSDocumentController subclass not instantiated first?
- Subject: Re: NSDocumentController subclass not instantiated first?
- From: Quincey Morris <email@hidden>
- Date: Sun, 7 Mar 2010 16:44:36 -0800
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 (email@hidden)
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:
This email sent to email@hidden