Number of objects in NSArray

I was wondering if there is any possible way to get the number (number) of objects in an NSArray object

+3
source share
2 answers

You put! From the Apple Documentation :

NSUInteger numObjects = [myArray count];
+24
source

Yes: int count = [array count];

+2
source

Source: https://habr.com/ru/post/1722272/


All Articles