count instances in an NSArray
count instances in an NSArray
- Subject: count instances in an NSArray
- From: "Jonathan 'Wolf' Rentzsch" <email@hidden>
- Date: Mon, 4 Oct 2004 19:13:58 -0500
Greetings all,
I'm missing a way count the number of instances (using isEqual:) in an
NSArray. Think containsObject:, except returning an unsigned instead of a
BOOL. Sure I could easily code my own counter, but I think I'm missing a
built-in way...
| Jonathan 'Wolf' Rentzsch
http://rentzsch.com
| Red Shed Software
http://redshed.net
| "better" necessarily means "different"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden