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 trialJozef Lipovsky
3,202 PointsSigning Up New Users: Part 2 (PFUser) challenge error..
I can't find see any problem with the first simple part of this code challenge but still I am not able to proceed to the next step... "Bummer, make sure you set both username and password properties..."
Maybe some problem with code parsing on treehouse side? Or am I really stupid or blind as I can't see where is that error in my code? :)
#import "SignupViewController.h"
#import <Parse/Parse.h>
@implementation SignupViewController
- (IBAction)signup:(id)sender {
NSString *username = self.usernameField.text;
NSString *password = self.passwordField.text;
}
@end
2 Answers
Stone Preston
42,016 Pointsthe error states: make sure you set both username and password properties
you did not set the username and password properties, you created new NSString objects. set the properties by using self.username and self.password:
self.username = self.usernameField.text;
self.password = self.passwordField.text;
Jozef Lipovsky
3,202 Pointsaaaaaa, that makes sense. Thank you