• 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: James Maxwell <email@hidden>
  • Date: Mon, 28 Jul 2008 00:27:53 -0700

Ah, I didn't try dragging the DKDrawingDocument.h file, just MyDocument.h.
I'll give that a shot.


Thanks, Graham.


On 27-Jul-08, at 5:36 PM, Graham Cox wrote:

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


References: 
 >IB not recognizing class hierarchy (From: James Maxwell <email@hidden>)
 >Re: IB not recognizing class hierarchy (From: Graham Cox <email@hidden>)

  • Prev by Date: Setting conditional breakpoint on Cocoa method?
  • Next by Date: Re: Folder has limited permissions.
  • Previous by thread: Re: IB not recognizing class hierarchy
  • Next by thread: Handle errors within NSURLConnection
  • Index(es):
    • Date
    • Thread