Last active
February 18, 2016 02:41
-
-
Save ktanaka117/c12c762c0e54c07f9267 to your computer and use it in GitHub Desktop.
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, UITextFieldDelegate { | |
@IBOutlet weak var textField: UITextField! | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
textField.addTarget(self, action: "hoge:", forControlEvents: UIControlEvents.EditingChanged) | |
} | |
// !!! 処理が遠い&ジャンプできない !!! | |
func hoge(textField: UITextField) { | |
print(textField.text) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment