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
Esma Goktekin
3,870 PointsHow to get one object pointing to another table in Parse databrowser?
In the Parse User Table I want to add a column called books that contains user's top 5 favorite books. I want to create a class called Books that shows the 5 books with author, edition, page number etc... for each user. How can I do this?
1 Answer
maytelabargamalaga
Courses Plus Student 6,465 PointsHello Esme, To create a class in Parse is easy. Just following the documentation in Parse.
PFObject *almacen = [PFObject objectWithClassName:@"Pedidos"];
almacen [@"image"]=@"camera.png";
almacen [@"imageNombre"]= @"Mayte";
almacen [@"ruta"]= @"UIImagePickerControllerSourceTypeCamera";
[almacen saveInBackground];
So With this code. I create a Class call "Pedidos" and I add some columms like Image, imageName and path.
Hope that helps you.