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 Build a Photo Browser iPhone App Connecting to an API using OAuth Showing Photos in a Collection View

Will Macleod
PLUS
Will Macleod
Courses Plus Student 18,780 Points

Trying to Code photobombers in swift

Man I'm having trouble with this one. Could someone please take a look at my project. All I want to do is get this access token in a sting on my swift viewcontroller file so I can add some photos to a collection view with swift. dropbox.com/sh/0nqv79pjmseqt0d/AABkrSAnXmWtEbf8v-I6Sgfsa?dl=0 Thats a link to the project. I just can't seem to get the accessToken outside of the simpleauth completion handler so annoying.