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
animated
Whether animating
-
Allow navigation
Declaration
Swift
override func shouldPerformSegue(withIdentifier identifier: String, sender: Any?) -> Bool
Parameters
identifier
Segue identifier
sender
Action originator
Return Value
Permission
-
Begin editing text field
Declaration
Swift
func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool
Parameters
textField
UITextField
Return Value
Permission
-
Handle return key
Declaration
Swift
func textFieldShouldReturn(_ textField: UITextField) -> Bool
Parameters
textField
UITextField
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
navigationController
Enclosing controller
operation
Operation
fromVC
source
toVC
destination
Return Value
Animator
-
Animation controller for transition
Declaration
Swift
func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning?
Parameters
presented
Presented controller
presenting
Presenting controller
source
Source controller
Return Value
Animator
-
Animation controller for dismissal
Declaration
Swift
func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning?
Parameters
dismissed
View controller
Return Value
Animator
-
Expose controls to UI tests
Declaration
Swift
func expose()
-
Injection enforcement for viewDidLoad
Declaration
Swift
func requireOutlets()