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 Application (iOS 7) - Creating a Custom Class Code Challenge - Suggestion

On the third part of the 'Refactoring into a Model', 'Creating a Custom Class' code challenge, it would be best to adjust the following from:

"Switch to the implementation file and create an implementation of the random method to return a random quote from the 'quotes' array using the 'arc4random_uniform()' function."

to

"Switch to the implementation file and create an implementation of the randomQuote method to return a random quote from the 'quotes' array using the 'arc4random_uniform()' function.

Not having the actual name of the method 'randomQuote' in the directions made me feel like I had to create a new method called 'random'. This caused some confusion for me, and I feel like it could cause confusion for others as well. Please correct this so future participants don't have the same issue.

I concur.

1 Answer

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

I'd be happy to update it. Thanks for the suggestion.