Re: EXC_BAD_ACCESS in an strange place
Re: EXC_BAD_ACCESS in an strange place
- Subject: Re: EXC_BAD_ACCESS in an strange place
- From: Andreas Mayer <email@hidden>
- Date: Sat, 24 Aug 2002 20:04:45 +0200
Am Freitag, 23.08.02 um 19:16 Uhr schrieb Isaac Sherman:
What I would suggest is perhaps
sending an isEqualTo: message, passing a freshly alloced empty array
as the
argument.
If you want to compare the *contents* of two array, you will have to
use isEqualToArray:, I think. Otherwise you will compare two objects,
which, in this case, will always be different.
But, to check in an array is empty, I'd rather use count.
bye. Andreas.
_______________________________________________
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.