Last active
June 4, 2020 20:00
-
-
Save Yoloabdo/c3c5153d872f555a00a01196302015e0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ViewController: UIViewController { | |
| // You've to use lazy since you're using self here, or you can set it on init, viewDidload, depends on your usage. | |
| lazy var userAuthenticator = UserAuthenticator(self) | |
| func didTapAppleSignin() { | |
| userAuthenticator.authenticate(.apple) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment