• 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 bug? - copyWithZone: selector not recognized
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB bug? - copyWithZone: selector not recognized


  • Subject: Re: IB bug? - copyWithZone: selector not recognized
  • From: Bill Cheeseman <email@hidden>
  • Date: Wed, 28 Aug 2002 04:27:06 -0400

on 02-08-27 10:19 PM, Chris Kane at email@hidden wrote:

> One has to be careful when converting occurrences of old
> -decodeValueOfObjCType:at:, -decodeValuesOfObjCTypes:, and
> -decodeArrayOfObjCType:count:at: methods to -decodeObjectForKey:, if
> you've done keyed coding conversion (I missed the first part of this
> thread), as the latter gives you an autoreleased object which needs
> retaining, unlike the formers. If you've done conversion, you may want
> to check over your changes. An "unretained" object would explain
> errors like this.

Now, that shows just amazing insight! -- or maybe you guys have been bitten
by this many times, yourselves? I have in fact made these conversions, and
by golly I forgot to add retain calls. Thanks for the explanation.

I guess I'd better make a slight revision to my Stepwise article about keyed
archiving....

So it's no surprise that Apple has looked at my nib files and sees nothing
wrong with them.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
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.

  • Follow-Ups:
    • Re: IB bug? - copyWithZone: selector not recognized
      • From: Chris Kane <email@hidden>
    • Re: IB bug? - copyWithZone: selector not recognized
      • From: Bill Cheeseman <email@hidden>
References: 
 >Re: IB bug? - copyWithZone: selector not recognized (From: Chris Kane <email@hidden>)

  • Prev by Date: Re: How to create a Choose Panel
  • Next by Date: Re: Compose two image of type NSImage
  • Previous by thread: Re: IB bug? - copyWithZone: selector not recognized
  • Next by thread: Re: IB bug? - copyWithZone: selector not recognized
  • Index(es):
    • Date
    • Thread