Re: Ugly bug in Foundation, beware!
Re: Ugly bug in Foundation, beware!
- Subject: Re: Ugly bug in Foundation, beware!
- From: Graham J Lee <email@hidden>
- Date: Thu, 03 Jun 2004 15:36:40 +0100
- Organization: University of Oxford Department of Redundancy Department
On 2004-06-03 15:10:23 +0100 Ondra Cada <email@hidden> wrote:
Clark,
On 3.6.2004, at 15:38, Clark Cox wrote:
I'm not sure I'd call this a bug.
I am.
Comments about circular references aside....
NSMutableArray *a;
a=[NSMutableArray arrayWithObject:[NSHost currentHost]];
Forgive me if I'm being silly, but how would you deep copy that?
NSHost doesn't conform to NSCopying.
Cheers,
Graham.
--
Graham Lee
Wadham College
OX1 3PN
_______________________________________________
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.