Re: IB not recognizing class hierarchy
Re: IB not recognizing class hierarchy
- Subject: Re: IB not recognizing class hierarchy
- From: Graham Cox <email@hidden>
- Date: Mon, 28 Jul 2008 10:36:45 +1000
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 (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