IB throws exception with custom control
IB throws exception with custom control
- Subject: IB throws exception with custom control
- From: Andy Armstrong <email@hidden>
- Date: Tue, 4 Oct 2005 16:46:07 +0100
Hello,
I have a small problem with a custom control I'm developing. I've
wrapped it up in a palette which I can add to IB successfully and I
can't find anything I've omitted compared with the examples I've
looked at. However when I add the control to a window or otherwise
edit it IB throws an exception. Here's what I see in the console log:
2005-10-04 16:27:40.498 Interface Builder[7189] *** Assertion failure
in -[IBClassDescription initWithPropertyList:entityName:],
/SourceCache/InterfaceBuilder/InterfaceBuilder-439.0.80/IBFramework/
UndoSupport/IBClassDescription.m:19
2005-10-04 16:27:40.499 Interface Builder[7189] Exception: Invalid
parameter not satisfying: _plist != nil -[IBClassDescriptionSnapshot
initWithObject:inDocument:attributes:]
I guess it's looking for a plist somewhere but google isn't helping
me. I ran IB under GDB and had it break on the exception but the
stack backtrace didn't really shed any additional light (to me
anyway) on what IB's trying to do.
Does anyone know what I've missed? Thanks :)
--
Andy Armstrong, hexten.net
_______________________________________________
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