• 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: IB palette and keyedCoding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >IB palette and keyedCoding (From: Jon Hull <email@hidden>)

  • Prev by Date: Re: "First Run" installation of Application support stuff?
  • Next by Date: Re: Annoying runtime message
  • Previous by thread: IB palette and keyedCoding
  • Next by thread: Debug Help
  • Index(es):
    • Date
    • Thread