• 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: [Q] CopyWithZone:error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] CopyWithZone:error


  • Subject: Re: [Q] CopyWithZone:error
  • From: Ondra Cada <email@hidden>
  • Date: Sat, 31 Aug 2002 00:04:16 +0200

On Friday, August 30, 2002, at 09:06 , Mark de Jong wrote:

I changed something in my code, not sure what <sheepish grin>, but now I'
m getting the following runtime errors:

*** -[MyObject copyWithZone:]: selector not recognized
An uncaught exception was raised
...
0 -[NSException raise]
1 +[NSException raise:format:]
2 -[NSObject(NSForwardInvocation) forward::]
3 _objc_msgForward
4 -[NSCell _setContents]

Well, seemingly you are setting your object as a cell value, and it seems that NSCell copies its value. That's the problem. Do you use a MyObject instance as a cell value intentionally, or is it a bug?
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: 
 >[Q] CopyWithZone:error (From: Mark de Jong <email@hidden>)

  • Prev by Date: Re: how to get a file's long name?
  • Next by Date: Re: NSURL Access and .Mac accounts
  • Previous by thread: Re: [Q] CopyWithZone:error
  • Next by thread: Re: Using AddressBook
  • Index(es):
    • Date
    • Thread