{"id":499,"date":"2012-07-20T16:18:00","date_gmt":"2012-07-20T07:18:00","guid":{"rendered":""},"modified":"2021-06-04T17:31:30","modified_gmt":"2021-06-04T08:31:30","slug":"xcode-return","status":"publish","type":"post","link":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/2012\/07\/xcode-return.html","title":{"rendered":"[Xcode] Return\u3092\u30bf\u30c3\u30d7\u3057\u305f\u6642\u306b\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u6d88\u3059\u51e6\u7406"},"content":{"rendered":"<p>Text Field\u306a\u3093\u304b\u3092\u7e26\u306b\u305f\u304f\u3055\u3093\u4e26\u3079\u305f\u5834\u5408\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u304c\u51fa\u3066\u304d\u3066\u3001\u753b\u9762\u306e\u4e0b\u306e\u65b9\u304c\u96a0\u308c\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3093\u306a\u6642\u3001\u5165\u529b\u5f8c\u306b\u30ea\u30bf\u30fc\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u6d88\u3059\u51e6\u7406\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\uff11\u3001\u301c.m\u30d5\u30a1\u30a4\u30eb\u306eviewDidLoad\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u884c\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<p>\u30c6\u30ad\u30b9\u30c8\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u30a2\u30a6\u30c8\u30ec\u30c3\u30c8\u540d.delegate = self;<\/p>\n<div style=\"background-color: lightgray; padding: 10px;\">\n<pre><code>- (void)viewDidLoad {\r\n    [super viewDidLoad];\r\n    \/\/ Processing clear the keyboard when the tap of the Return.\r\n    requestMoney.delegate = self;\r\n}<\/code><\/pre>\n<\/div>\n<p>requestMoney\u3068\u3044\u3046\u306e\u306f\u3001\u30c6\u30ad\u30b9\u30c8\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u30a2\u30a6\u30c8\u30ec\u30c3\u30c8\u540d\u3067\u3059\u3002<\/p>\n<p>\uff12\u3001\u301c.h\u30d5\u30a1\u30a4\u30eb\u306b&lt;UITextFieldDelegate&gt;\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<div style=\"background-color: lightgray; padding: 10px;\">\n<pre><code>@interface ~Controler : UIViewController &lt;UITextFieldDelegate&gt;<\/code><\/pre>\n<\/div>\n<p>\uff13\u3001\u6700\u5f8c\u306b\u3001\u301c.m\u30d5\u30a1\u30a4\u30eb\u306b\u4ee5\u4e0b\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u8ffd\u52a0\u3002<\/p>\n<div style=\"background-color: lightgray; padding: 10px;\">\n<pre><code>- (BOOL)textFieldShouldReturn:(UITextField *)textField {\r\n    [textField resignFirstResponder];\r\n    return YES;\r\n}<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u3067\u3001Return\u30ad\u30fc\u3092\u30bf\u30c3\u30d7\u3057\u305f\u6642\u306b\u30ad\u30fc\u30dc\u30fc\u30c9\u304c\u6d88\u305b\u307e\u3059\u3002<\/p>\n<p>\u30ad\u30fc\u30dc\u30fc\u30c9\u304c\u96a0\u308c\u306a\u3044\u3088\u3046\u306b\u3001\u4e0a\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u3067\u304d\u308b\u51e6\u7406\u3092\u3059\u308b\u3068\u3044\u3046\u65b9\u6cd5\u3082\u3042\u308b\u307f\u305f\u3044\u3067\u3059\u3051\u3069\u3001\u3053\u3063\u3061\u306e\u65b9\u304c\u7c21\u5358\u3060\u3063\u305f\u306e\u3067\u3001\u3068\u308a\u3042\u3048\u305a\u3053\u3063\u3061\u306e\u65b9\u6cd5\u3067\u51e6\u7406\u3002<\/p>\n<p>\u3068\u306b\u304b\u304f\u3001\u4eca\u306f\u3001\u305d\u3053\u305d\u3053\u52d5\u304f\u30a2\u30d7\u30ea\u3092\u305f\u304f\u3055\u3093\u4f5c\u3063\u3066\u30ea\u30ea\u30fc\u30b9\u3059\u308b\u3053\u3068\u304c\u76ee\u7684\u3002\u305d\u306e\u5f8c\u306b\u3001\u3061\u3087\u3063\u3068\u305a\u3064\u6398\u308a\u4e0b\u3052\u3066\u884c\u3053\u3046\u3068\u601d\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Text Field\u306a\u3093\u304b\u3092\u7e26\u306b\u305f\u304f\u3055\u3093\u4e26\u3079\u305f\u5834\u5408\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u304c\u51fa\u3066\u304d\u3066\u3001\u753b\u9762\u306e\u4e0b\u306e\u65b9\u304c\u96a0\u308c\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002 \u305d &#8230; <\/p>\n","protected":false},"author":1,"featured_media":608,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[75],"tags":[2,4,61],"class_list":["post-499","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology","tag-apple","tag-iphone","tag-xcode"],"_links":{"self":[{"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/posts\/499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/comments?post=499"}],"version-history":[{"count":0,"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/posts\/499\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/media\/608"}],"wp:attachment":[{"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/media?parent=499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/categories?post=499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/tags?post=499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}