IBPalettes
IBPalettes
- Subject: IBPalettes
- From: Livio Isaia <email@hidden>
- Date: Thu, 31 Aug 2006 17:38:26 +0200
I'm trying to make a palette for IB, and just to start I use a very
simple NSView subclass (named SimpleView: it merely draws itself in
green and has absolutely nothing else to do).
Once created the palette I can put in IB successfully, then add it to a
program's window(SimpleViewWindow.nib). But when I run the program it
tells me:
"Exception raised during posting of notification. Ignored. exception:
*** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of
class (SimpleView)"
I put initWithCoder: and encodeWithCoder: in SimpleView.m, but they just
call super methods (what else should they do since there are no
variables declared? The only thing SimpleView has of its own is the
drawRect: method...).
I created the palette both with a related SimpleViewFramework and
without, but the result is the same.
Any idea about?
Thanks in advance, livio.
P.S.: The same thing happens with the InterfaceBuilder examples (like
ProgressView) that come with XCode.
_______________________________________________
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