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

Janine Suvak
Janine Suvak
14,954 Points

Ribbit Code Challenge - Signing Up New Users Part 2 : Task 2 of 4

Evidently I need help reading instructions, typing, or seeing the obvious right in front of my face.

PFUser *newUser = [PFUser user];
newUser.username = username;
newUser.password = password;

Doesn't work and gives me: Bummer! Compilation Error! Make sure you are correctly initializing the 'newUser' variable, and check your syntax.

What intuitively obvious thing right in front of my face am I missing?

1 Answer

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Hi Janine! I'll work on that hint. Here's a better one: username and password are properties of the view controller, and we usually need to reference properties with "self".

Janine Suvak
Janine Suvak
14,954 Points

Thanks! Geez, that's what tripped me up on the first task. I'm supposed to remember it?!? ;)