Re: Custom Palette - Cannot Decode Object error
Re: Custom Palette - Cannot Decode Object error
- Subject: Re: Custom Palette - Cannot Decode Object error
- From: Kynerd Coleman <email@hidden>
- Date: Sat, 24 Sep 2005 15:44:17 -0400
On 9/24/05, Ricky Sharp <email@hidden> wrote:
>
> On Sep 24, 2005, at 12:15 PM, Kynerd Coleman wrote:
>
> > I am trying to create a custom palette using IBPalette. I create the
> > palette fine and am able to add it to my Palettes within Interface
> > builder. When I try to add it to a simple project with one plain
> > window, it adds fine. It compiles too, but when I run I get an error
> > saying cannot decode object. I have found a couple posts via google on
> > this error, but no clear answers. Most try to indicate some #import or
> > framework reference is missing, but I have tried a number of different
> > versions of #import statements to no avail. Finally I tried to just
> > use a sample ProgessView palette that shipped as an Interface Builder
> > example and got the same error. I just dropped this palette on my
> > plain window by itself and ran the program to get the error.
>
> This is usually because you haven't added the implementation of your
> palette items to your project. You can either do this by adding the
> actual source of your custom views/controls directly to your project,
> or create a framework and add that.
> ___________________________________________________________
> Ricky A. Sharp mailto:email@hidden
> Instant Interactive(tm) http://www.instantinteractive.com
>
>
Ricky,
I created a framework and added it the project. That did the trick.
Thanks very much.
Kynerd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden