Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Creating a data collection - Quiz Stage 3 question

To get the size of an array variable called "myArray" which method should be called?

I was pretty sure that it would be...

[myArray sizeof];

Can't remember covering this in Objective c, but I remember covering array length in C but can't seem to find anything on lengths in the objective c area

1 Answer

[myArray count]

-_-, i remember this... im such a f**king idiot...

thanks Eirik Vale Aase

Glad to help. It would be nice if you could upvote my answer since we found a solution.