Re: IB palette and keyedCoding
Re: IB palette and keyedCoding
- Subject: Re: IB palette and keyedCoding
- From: Vince DeMarco <email@hidden>
- Date: Sun, 15 Dec 2002 16:58:40 -0800
On Sunday, December 15, 2002, at 12:25 PM, Jon Hull wrote:
I am writing an IB palette, and have run into some difficulty using
keyedCoding. Everything works great until I try to save a nib with my
object in it... then It throws an "Only supports keyed coding"
exception (which it is supposed to do if it is passed a coder without
keyCoding ability).
The question is why am I getting passed a coder which does not have
keyCoding ability when I try to save... but I am passed one which
does have the ability when my object is dragged from the palette to a
window? Is there some way to tell it to give me the correct coder, or
is there something special about the .nib files which requires the
older method of Serialization?
There is a preference in IB which allows the user to set the type of
Coding the developer wants in the nib file.
What you need to do is support both.
the IB examples on the machine show you how to do this.
vince
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.