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

Rashii Henry
Rashii Henry
16,433 Points

Signing Up New Users in Parse?

Ben Jakuben, I'm following along the self-destructing messaging app course. I have a question. Im trying to create a new user, with objects that only relate to that user. For instance, if you're creating a new account set the text fields to the username, password, and email. In addition to that, in the back ground i want to create two photo objects for that user that will hold an array of images(PFFiles). Each time you sign in each user should be able to only see photos that correspond to their username. The photos are taken by the user inside the app and i have them saved but when i saved them, i saved them to unique class names using stringWithFormat:@"%@_OldPhotos", [PFUser currentUser].username; I retrieve those objects from parse the same way. But if viewing from parse.com, if i receive a lot of users this will be very troublesome. So i started trying to create relations utilizing the same process as you for adding friends, but I'm having trouble relating these images(PFFiles) to `a user. Any suggestions? Amit Bijlani, Pasan Premaratne P.S I have a great feeling this app will be great. As i've already created a Facebook page for the application. It's pretty complex but I honestly believe I can create it with the proper guidance from you guys. Thanks in advance. Im not looking for answers I'm looking for alternative methods to simplify this problem so my app can be scalable.