Re: [Q] CopyWithZone:error
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.