Welcome to the Treehouse Community
Looking to learn something new?
Lex Lawless1,773 Points
Stuck on a question regarding objectAtIndex
I created an array called bookArray. Now the quiz asks me to create string variable and assign it the value of the 3rd item in the Array using objectAtIndex. I cannot get the right syntax by following the code written by Amit in the video. Please help.
I tried the following and it doesn't work:
NSString *bookTitles = bookArray [objectAtIndex:2.row];