LoginVC
final class LoginVC : UIViewController
extension LoginVC: UITextFieldDelegate
extension LoginVC: UINavigationControllerDelegate
extension LoginVC: UIViewControllerTransitioningDelegate
extension LoginVC: Exposing
extension LoginVC: InterfaceBuildable
Handle the user login process
-
Prepare for hide
Declaration
Swift
override func viewWillDisappear(_ animated: Bool)Parameters
animatedWhether animating
-
Allow navigation
Declaration
Swift
override func shouldPerformSegue(withIdentifier identifier: String, sender: Any?) -> BoolParameters
identifierSegue identifier
senderAction originator
Return Value
Permission
-
Begin editing text field
Declaration
Swift
func textFieldShouldBeginEditing(_ textField: UITextField) -> BoolParameters
textFieldUITextField
Return Value
Permission
-
Handle return key
Declaration
Swift
func textFieldShouldReturn(_ textField: UITextField) -> BoolParameters
textFieldUITextField
Return Value
Permission
-
Animation controller for navigation
Declaration
Swift
func navigationController( _ navigationController: UINavigationController, animationControllerFor operation: UINavigationController.Operation, from fromVC: UIViewController, to toVC: UIViewController) -> UIViewControllerAnimatedTransitioning?Parameters
navigationControllerEnclosing controller
operationOperation
fromVCsource
toVCdestination
Return Value
Animator
-
Animation controller for transition
Declaration
Swift
func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning?Parameters
presentedPresented controller
presentingPresenting controller
sourceSource controller
Return Value
Animator
-
Animation controller for dismissal
Declaration
Swift
func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning?Parameters
dismissedView controller
Return Value
Animator
-
Expose controls to UI tests
Declaration
Swift
func expose()
-
Injection enforcement for viewDidLoad
Declaration
Swift
func requireOutlets()
View on GitHub
LoginVC Class Reference