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 just don't understand what's wrong.

'''Objective C <p>

import "Quote.h"

@implementation Quote

-(NSArray*) quotes { if (_quotes == nil){ _quotes = [[NSArray alloc] initWithObjects:@"0",@"1",@"2", nil]; } return _qoutes; }

  • (NSString *) randomQuote {

    return @"Some Quote"; } <p> @end '''

2 Answers

The only thing that appears to be wrong is the spelling. Just recheck everything and it should work. I try to be vague as possible on the code challenges. Good luck!

Thanx, I didn't even notice the misspelling. I figured the preview would catch that but i guess not.

Yeah, I don't have too much luck with the preview myself. Happy coding!