• 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: IBPalette missing class information?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IBPalette missing class information?


  • Subject: Re: IBPalette missing class information?
  • From: Greg Best <email@hidden>
  • Date: Mon, 17 Sep 2007 23:06:44 -0700

Thanks for the responses.

The classes are compiled into a framework, the framework is installed in ~/Library/Framework and linked into the IBPalette project. I think...

I created the project using the Xcode IBPalette template, pulled all of my code from another stand alone project into the new one and set all of my headers to public roles. The framework of interest shows up in the "Products" group and has a checkmark next to it indicating inclusion in the Palette target.

Is there something I need to do beyond this?


On Sep 16, 2007, at 9:48 AM, Ricky Sharp wrote:


On Sep 16, 2007, at 1:56 AM, Greg Best wrote:

I'm trying to package a view into an IBPalette. It compiles fine, and shows up fine in IB, but when I drag it to a window it jumps back and gives this message to the console:

2007-09-15 23:52:48.781 Interface Builder[3522] *** Canceling drag because exception 'NSArchiverArchiveInconsistency' (reason '*** - [NSKeyedUnarchiver decodeObjectForKey:]: missing class information for object') was raised during a dragging session

Any idea what it means to be "missing class information for object"? There's not a lot of information in that message to help me know where to look.

In your custom view's NSCoder methods, what classes are your encoding/decoding? Any custom classes must also be part of the IB palette project when it's built.


___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com


_______________________________________________

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: IBPalette missing class information?
      • From: Greg Best <email@hidden>
References: 
 >IBPalette missing class information? (From: Greg Best <email@hidden>)
 >Re: IBPalette missing class information? (From: Ricky Sharp <email@hidden>)

  • Prev by Date: RE: Recreating XCode run log behavior in an NSTextView
  • Next by Date: Re: Recreating XCode run log behavior in an NSTextView
  • Previous by thread: Re: IBPalette missing class information?
  • Next by thread: Re: IBPalette missing class information?
  • Index(es):
    • Date
    • Thread