Because DKDrawingDocument comes from a framework it's possible that IB can't find the definition. I'm not sure that's the problem, but you can usually fix it by dragging the DKDrawingDocument.h file into IB which is enough to get it to realise what's going on.

cheers, Graham


On 28 Jul 2008, at 10:03 am, James Maxwell wrote:

grrrrr... I haven't come across this for a while - mainly because I haven't started a new project for a while - but IB is not recognizing the class inheritance of my MyDocument. Specifically, I'm using GCDrawKit, which has an NSDocument subclass called DKDrawingDocument. If I make MyDocument a subclass of DKDrawingDocument, then IB loses its connection to "window"... well, it actually loses "window" entirely... But if I switch MyDocument back to an NSDocument subclass, IB suddenly recognizes "window" again. What gives??? Why can't IB figure out that DKDrawingDocument is an NSDocument subclass?

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to