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

avinashkunaparaju
Courses Plus Student 7,256 PointsHelp 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://s12.postimg.org/gn6xo3dx9/Screen_Shot_2014_01_30_at_12_06_59_AM.png
http://s1.postimg.org/ycol0x97z/Screen_Shot_2014_01_30_at_12_07_14_AM.png Thanks:)
2 Answers

Stone Preston
42,016 Pointsit 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.

avinashkunaparaju
Courses Plus Student 7,256 PointsThank you that worked:)

Stone Preston
42,016 Pointsglad i could help