Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS Build a Restaurant Reviews App Authorization With Third Party Libraries Authorizing with the OAuth2 Framework

Kenan Bateman
Kenan Bateman
16,715 Points

Is there an alternative to OAuth2 library?

Pasan Premaratne This project throws a couple errors with Swift 4. I fixed the ones in the base project where the UIColors references didn't compile. But the OAuth2 library throws 10 different errors and messing around with that it's too complex for me to know why certain errors are throwing. And then XCode won't recognize the library to import.

Is there a way around all this or is this course better to be used as general info with the new Swift update? Are there alternatives to this library that would be good to use?

1 Answer

Nathan F.
Nathan F.
30,773 Points

Supposedly Swift 4 has interoperability with Swift 3 code--that is, it should compile and run regardless. Can you post the list of errors the compiler is complaining about, or the errors that are throwing if the app runs?