Last active
July 10, 2018 10:46
-
-
Save kevinmlong/678bee6286e223b3e94bc922f5b11f5b to your computer and use it in GitHub Desktop.
Unoccluded UITextField Extension (Simple Implementation)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
class ViewController: UIViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
self.enableUnoccludedTextField() | |
} | |
override func viewWillDisappear(_ animated: Bool) { | |
self.disableUnoccludedTextField() | |
} | |
override func didReceiveMemoryWarning() { | |
super.didReceiveMemoryWarning() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment