• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IB not recognizing class hierarchy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: IB not recognizing class hierarchy
      • From: James Maxwell <email@hidden>
References: 
 >IB not recognizing class hierarchy (From: James Maxwell <email@hidden>)

  • Prev by Date: Re: NSDocumentController, NSDocument and toolbars
  • Next by Date: Re: NSGraphicsContext restore crashes my xtension
  • Previous by thread: IB not recognizing class hierarchy
  • Next by thread: Re: IB not recognizing class hierarchy
  • Index(es):
    • Date
    • Thread