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

Sign up screens

so i am trying to set up a sign up screen similar to what was made in the ribbit. the big difference is that mine is made over two different views. i was trying to get it to work and i finally thought i had got it when i got this error. i have no idea what it means.

error: property's synthesized getter follows Cocoa naming convention for returning 'owned' objects In file included from /Users/brandonlax/Developement/On Tour Company/CrewChiefViewController.m:9: In file included from /Users/brandonlax/Developement/On Tour Company/CrewChiefViewController.h:11: /Users/brandonlax/Developement/On Tour Company/SignupViewController.h:15:39: note: property declared here @property (nonatomic, strong) PFUser *newUser; ^ 1 error generated

1 Answer

Try renaming the PFUser object something that doesn't begin with "new". I think using that naming convention creates a conflict. More on that here:

http://stackoverflow.com/questions/6327448/semantic-issue-propertys-synthesized-getter-follows-cocoa-naming-convention-fo