{"id":953,"date":"2012-12-22T00:00:00","date_gmt":"2012-12-22T00:00:00","guid":{"rendered":"http:\/\/localhost\/blog\/?p=938"},"modified":"2014-08-14T11:19:32","modified_gmt":"2014-08-14T02:19:32","slug":"apple%e3%81%ab%e3%81%97%e3%81%8b%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84%e5%ae%9f%e8%a3%85","status":"publish","type":"post","link":"https:\/\/denasu.com\/blog\/2012\/12\/diary953","title":{"rendered":"Apple\u306b\u3057\u304b\u3067\u304d\u306a\u3044\u5b9f\u88c5"},"content":{"rendered":"<p>Weather Typing iOS\u306e\u8a71\u3002\u30a6\u30a7\u30b6\u30bf\u30a4\u306f\u30bf\u30a4\u30d4\u30f3\u30b0\u30bd\u30d5\u30c8\u306a\u306e\u3067\uff0c1\u30ef\u30fc\u30c9\u6253\u3061\u5207\u3063\u305f\u3089\u305d\u306e\u30ef\u30fc\u30c9\u3092\u6d88\u3057\u3066\u6b21\u306e\u30ef\u30fc\u30c9\u3092\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u4f5c\u3063\u3066\u3044\u308b\u3002\u3053\u308c\u3092iOS\u3067\u3084\u308b\u65b9\u6cd5\u3092\u63a2\u3057\u3066\u3044\u308b\u304c\uff0c\u96e3\u3057\u3044\u3002Text Field\u3092\u6d88\u3059\u306e\u306f\u697d\u306a\u3093\u3060\u3051\u3069\uff0cText Composite\uff08\u65e5\u672c\u8a9e\u5165\u529b\u4e2d\u306b\u51fa\u308b\u5909\u63db\u524d\u306e\u6587\u5b57\u5217\uff09\u3092\u6d88\u3059\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u3002\u3061\u3087\u3046\u3069UISearchBar\u306e\u00d7\u30dc\u30bf\u30f3\u306e\u3088\u3046\u306a\u52d5\u4f5c\u3092\u3057\u305f\u3044\u3093\u3060\u3051\u3069\u3002\u3063\u3066\u3053\u3068\u3067UISearchBar\u306e\u5b9f\u88c5\u3092\u8abf\u3079\u3066\u307f\u308b\u3068\u3069\u3046\u3082\u3053\u3093\u306a\u611f\u3058\u3063\u307d\u3044\u3002<\/p>\n<pre class=\"brush:c\">\r\nUITextField _clearButtonClicked\r\n{\r\n    ...\r\n    [WebView clearText]\r\n    [[UIKeyboardImpl sharedInstance] textChanged]\r\n    ...\r\n}\r\n\r\nUIKeyboardImpl textChanged\r\n{\r\n    ...\r\n    [self clearInput]\r\n    ...\r\n}\r\n<\/pre>\n<p>UIKeyboardImpl\u306f\u975e\u516c\u958b\u306e\u30af\u30e9\u30b9\u3002\u306a\u306e\u3067\u3082\u3057UIKeyboardImpl\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u305f\u3089Apple\u306b\u30ea\u30b8\u30a7\u30af\u30c8\u3055\u308c\u3066App Store\u306b\u767b\u9332\u3067\u304d\u306a\u3044\u3002\u4eca\u306e\u3068\u3053\u308d\u89e3\u6c7a\u7b56\u306a\u3057\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Weather Typing iOS\u306e\u8a71\u3002\u30a6\u30a7\u30b6\u30bf\u30a4\u306f\u30bf\u30a4\u30d4\u30f3\u30b0\u30bd\u30d5\u30c8\u306a\u306e\u3067\uff0c1\u30ef\u30fc\u30c9\u6253\u3061\u5207\u3063\u305f\u3089\u305d\u306e\u30ef\u30fc\u30c9\u3092\u6d88\u3057\u3066\u6b21\u306e\u30ef\u30fc\u30c9\u3092\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u4f5c\u3063\u3066\u3044\u308b\u3002\u3053\u308c\u3092iOS\u3067\u3084\u308b\u65b9\u6cd5\u3092\u63a2\u3057\u3066\u3044\u308b\u304c\uff0c\u96e3\u3057\u3044\u3002Text Field\u3092\u6d88\u3059\u306e\u306f\u697d\u306a\u3093\u3060\u3051\u3069\uff0cText Composite\uff08\u65e5\u672c\u8a9e\u5165\u529b\u4e2d\u306b\u51fa\u308b\u5909\u63db\u524d\u306e\u6587\u5b57\u5217\uff09\u3092\u6d88\u3059\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u3002\u3061\u3087\u3046\u3069UISearchBar\u306e\u00d7\u30dc\u30bf\u30f3\u306e\u3088\u3046\u306a\u52d5\u4f5c\u3092\u3057\u305f\u3044\u3093\u3060\u3051\u3069\u3002\u3063\u3066\u3053\u3068\u3067UISearchBar\u306e\u5b9f\u88c5\u3092\u8abf\u3079\u3066\u307f\u308b\u3068\u3069\u3046\u3082\u3053\u3093\u306a\u611f\u3058\u3063\u307d\u3044\u3002 UITextField _clearButtonClicked { &#8230; [WebView clearText] [[UIKeyboardImpl sharedInstance] textChanged] &#8230; } UIKeyboardImpl textChanged { &#8230; [self clearInput] &#8230; } UIKeyboardImpl\u306f\u975e\u516c\u958b\u306e\u30af\u30e9\u30b9\u3002\u306a\u306e\u3067\u3082\u3057UIKeyboardImpl\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u305f\u3089Apple\u306b\u30ea\u30b8\u30a7\u30af\u30c8\u3055\u308c\u3066App Store\u306b\u767b\u9332\u3067\u304d\u306a\u3044\u3002\u4eca\u306e\u3068\u3053\u308d\u89e3\u6c7a\u7b56\u306a\u3057\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2],"tags":[12],"class_list":["post-953","post","type-post","status-publish","format-standard","hentry","category-programming","tag-ios"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4ZThs-fn","_links":{"self":[{"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/posts\/953","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/comments?post=953"}],"version-history":[{"count":3,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/posts\/953\/revisions"}],"predecessor-version":[{"id":2448,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/posts\/953\/revisions\/2448"}],"wp:attachment":[{"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/media?parent=953"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/categories?post=953"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/tags?post=953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}