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 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?