SimplicityMobile / Simplicity

A simple way to implement Facebook and Google login in your iOS apps.
Apache License 2.0
681 stars 66 forks source link

Objective-c #32

Closed FreudGit closed 7 years ago

FreudGit commented 7 years ago

Hi

I'm trying to make it work using objective-c.

Cannot found hot to call this using Obj-C syntax. Can i please ask if someone have done it with success?

Thanks!

Simplicity.login(Facebook()) { (accessToken, error) in // Handle access token here }

edjiang commented 7 years ago

Unfortunately, this library is not objective-c compatible, since you do have to put some extra work into avoiding newer Swift features, etc. Sorry!