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!

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


Help with signing up users in the messaging app.

Can someone tell me why I am getting this wrong. I am storing the values for both of them right?


http://s1.postimg.org/ycol0x97z/Screen_Shot_2014_01_30_at_12_07_14_AM.png Thanks:)

2 Answers

Stone Preston
Stone Preston
42,016 Points

it says to store the text in the properties username and password. you are storing them in local variables.

try using

self.username = self.usernameField.text;

self.password = self.passwordField.text;

I dont think you need to trim the whitespace in this challenge either. Simply setting the properties to the label text should suffice.

Thank you that worked:)