-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AuthenticationInterface Protocol #578
AuthenticationInterface Protocol #578
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jleandroperez I like the use of SPAuthenticationInterface
in this PR!
Smoke tested the auth flows on iOS 10-13:
✅ Verify the Authentication UI shows up in portrait, even when the app launches with the simulator in landscape
✅ Verify rotations in the Onboarding and Authentication UI(s) are disabled
✅ iPad Onboarding and Authentication UI(s) flows did rotate (as expected)
Also, everything built fine on XCode 10 and 11 beta 5.
Thanks for reviewing this Bummy!! 🔥 |
Details:
This PR implements SPAuthenticationInterface, which allows us to further customize the Authentication UI.
Plus a new public property, to be called *authenticationShouldBeEmbeddedInNavigationController, allows us to explicitly set if we want the SPAuthenticationInterface to live within a navigation stack.
Ref.: Simplenote's Nü Onboarding
cc @bummytime
Thanks in advance sir!!
Testing:
In order to test this PR, please, checkout this Simplenote PR.