Re: Compiler has trouble distinguishing between a class and its superclass
Re: Compiler has trouble distinguishing between a class and its superclass
- Subject: Re: Compiler has trouble distinguishing between a class and its superclass
- From: Uli Kusterer <email@hidden>
- Date: Fri, 23 Mar 2007 01:47:37 +0100
Am 22.03.2007 um 13:19 schrieb Ewan Delanoy:
Yes, the custom class of "File's Owner" is set correctly to
"SchreibenDocument", my NSDocument subclass.
The "custom class" on File's Owner is only used by IB. After all,
the File's owner is responsible for loading the NIB, so by the time
AppKit sees that the File's Owner's class has been set to
"SchreibenDocument", the object has already been created.
You need to change your Info.plist to specify the correct
NSDocument subclass, because that is what's consulted before creating
a new document.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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