LoginViewController
internal class LoginViewController: UIViewController, UIWebViewDelegate
Displays a login page to the user.
-
The web view that displays the login page to the user.
Declaration
Swift
@IBOutlet weak var webView: UIWebView!
-
An activity indicator that displays the loading state of the web view.
Declaration
Swift
private weak var activityIndicator: UIActivityIndicatorView?
-
Called when the cancel button is tapped.
Declaration
Swift
@IBAction internal func cancelTapped(_ sender: UIBarButtonItem)
-
Completion callback for when an authorisation code is recieved from the Data Service.
Declaration
Swift
internal func codeRecievedCompletion()
-
Performs an unwind segue back to the splash screen.
Declaration
Swift
private func unwindToSplash()