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

Using a custom class

I can do the other 2 questions, but this one I can't seem to get right.

Create an instance of the Song with alloc and init Song *popSong = ; My answer is

 [[Song alloc]init]

What did I do wrong?

2 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Can you paste all the code from the editor in here? Maybe it's something with your complete syntax.

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

That is correct. Try again. It should work now.