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 Build a Simple iPhone App (iOS7) Refactoring into a Model Creating a Custom Class

I don't understand this challenge...

What do I have to do? :(

Alex Hedley
Alex Hedley
16,381 Points

What part are you stuck on?

What have you tried?

2 Answers

@property(nonatomic, strong) NSArray *quotes;

I understood the first part but I don't understand what I'm meant to do in part 2

Alex Hedley
Alex Hedley
16,381 Points

Was it

Challenge task 2 of 3

Switch to the implementation file and implement a 'quotes' method which will allocate and initialize the _quotes instance variable only if it is 'nil'. Initialize the array with any three strings.

I understood the first part but I don't understand what I'm meant to do in part 2