Skip to content

Instantly share code, notes, and snippets.

@PaulRBerg
Last active July 22, 2017 08:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PaulRBerg/c301757f9e16b48e2791c84320ad923c to your computer and use it in GitHub Desktop.
Save PaulRBerg/c301757f9e16b48e2791c84320ad923c to your computer and use it in GitHub Desktop.
AdPacer - APLoginViewController
import UIKit
class APLoginViewController: UIViewController {
/**
* The views which let the user type the email and the password.
*/
@IBOutlet weak var emailTextField: UITextField!
@IBOutlet weak var passwordTextField: UITextField!
/**
* Override 'viewDidLoad'.
*/
override func viewDidLoad() {
super.viewDidLoad()
/**
* @located in APLoginTextFieldController.swift
*/
appendTextField()
}
/**
* Override 'viewWillAppear'.
*/
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
}
/**
* Override 'didReceiveMemoryWarning'.
*/
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
}
}
@abhishekbedi1432
Copy link

@PaulRBerg: I think functions like didReceiveMemoryWarning and viewWillAppear can be removed since they are just calling their super classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment