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 Blog Reader iPhone App Data Modeling Using a Custom Class

Can't finish the quiz

Question: Create an instance of the Song class with the convenience constructor songWithSinger:(NSString *)s and singer named "James Brown".

My Answer: Song *popSong = [Song songWithSinger: @"James Brown"] ;

Bummer! Unfortunately, that answer is incorrect.

I don't understand where is the error.

1 Answer

Stone Preston
Stone Preston
42,016 Points

use

Song *popSong = [Song songWithSinger:@"James Brown"] ;

notice I removed the space between : and @. The quiz wont accept it with a space between them

Thank you, I didn't notice that. Sometimes I use spaces without thinking about them.