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
Nicolaus Nsarray
Courses Plus Student 65 PointsRibbit + Image
Hi.
In the ribbit app I would love to send a user image* to my friends instead of photo.
*User image = A personal image that the user creates when signing up. Like a hidden profile.
2 Answers
Ben Jakuben
Treehouse TeacherYou can use similar camera code to allow users to take or select a user image when signing up. You can upload that to Parse and store it as a new field in the PFUser class, then you can access it when sending a message. Sounds like a fun exercise. :)
Nicolaus Nsarray
Courses Plus Student 65 PointsBen Jakuben Thanks man. Sounds good!
Instead of using checkmarks is possible to have a button on the profile view of the user you are sending it to and when you click the button on that view the image is send to the profile you are visiting and ending up in that persons inbox. Easy cheesy och hardy lardy?
Ben Jakuben
Treehouse TeacherSounds pretty straightforward if I'm understanding correctly. What is the "profile view" you are using? Is it a row in the table view or a new view controller? If it's a row, you'll need to provide a custom layout, which is a little trickier.