SignupVC
final class SignupVC : UIViewController
extension SignupVC: KeyboardListener
extension SignupVC: UITextFieldDelegate
extension SignupVC: UINavigationControllerDelegate
extension SignupVC: LocationSearchDelegate
extension SignupVC: UIViewControllerTransitioningDelegate
extension SignupVC: UIPickerViewDataSource
extension SignupVC: UIPickerViewDelegate
extension SignupVC: Exposing
extension SignupVC: InterfaceBuildable
Handle the user signup process
-
Prepare for hide
Declaration
Swift
override func viewWillDisappear(_ animated: Bool)
Parameters
animated
Whether animating
-
Scroll view for keyboard avoidance
Declaration
Swift
var keyboardScrollee: UIScrollView? { get }
-
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
-
Handle a location selection
Declaration
Swift
func locationSearch(controller: RealmSearchViewController, didSelect item: Object)
Parameters
controller
source of selection
item
Country or Location selected
-
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
-
Number of picker components
Declaration
Swift
func numberOfComponents(in pickerView: UIPickerView) -> Int
Parameters
pickerView
Picker view
Return Value
1
-
Number of rows in picker component
Declaration
Swift
func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int
Parameters
pickerView
Picker view
component
Index
Return Value
Value
-
Expose controls to UI tests
Declaration
Swift
func expose()
-
Injection enforcement for viewDidLoad
Declaration
Swift
func requireOutlets()