{"version":"1.0","blog_url":"https://xyk.hatenablog.com/","type":"rich","width":"100%","url":"https://xyk.hatenablog.com/entry/2020/10/09/170112","author_name":"xyk","title":"Swift \u3067 UITextField \u306e\u5024\u306e\u5909\u66f4\u3092\u691c\u77e5\u3059\u308b\u65b9\u6cd5","categories":["ios","swift"],"height":"190","provider_url":"https://hatena.blog","blog_title":"xyk blog","published":"2020-10-09 17:01:12","image_url":null,"author_url":"https://blog.hatena.ne.jp/xyk/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxyk.hatenablog.com%2Fentry%2F2020%2F10%2F09%2F170112\" title=\"Swift \u3067 UITextField \u306e\u5024\u306e\u5909\u66f4\u3092\u691c\u77e5\u3059\u308b\u65b9\u6cd5 - xyk blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u691c\u8a3c\u74b0\u5883: Xcode 12 Swift 5.3 UIControl.Event.editingChanged \u3092\u4f7f\u3046 let textField = UITextField(frame: .zero) textField.addTarget( self, action: #selector(textDidChange), for: .editingChanged) @objc func textDidChange(_ textField: UITextField) { print(textField.text) } UIAction \u3092\u4f7f\u3046(iOS14\u4ee5\u964d) iOS 14\u304b\u3089 UIContr\u2026","provider_name":"Hatena Blog"}