{"type":"rich","url":"https://anton0825.hatenablog.com/entry/20140628/1411231810","author_name":"anton0825","author_url":"https://blog.hatena.ne.jp/anton0825/","description":"NSView\u306e\u30b5\u30d6\u30af\u30e9\u30b9\u3092\u4f5c\u308a\u3001\u305d\u3053\u3067\u4ee5\u4e0b\u3092\u5b9f\u884c\u3057\u3066\u3082NSTextField\u306b\u30d5\u30a9\u30fc\u30ab\u30b9\u304c\u5f53\u305f\u3089\u305a\u56f0\u3063\u305f\u3002 [self.window makeFirstResponder:self.inputTextField]; // \u30c6\u30ad\u30b9\u30c8\u5165\u529b\u6b04\u306b\u30d5\u30a9\u30fc\u30ab\u30b9\u3092\u5f53\u3066\u308b\u539f\u56e0\u306fself.window\u304cnil\u3067\u3042\u308b\u3053\u3068\u3002 View\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u3063\u3066\u304b\u3089NSWindow\u306eview\u306baddSubView\u3059\u308b\u306e\u3067\u3001\u521d\u671f\u5316\u51e6\u7406\u6642\u70b9\u3067\u306fwindow\u306e\u4e0b\u306b\u5165\u3063\u3066\u3044\u306a\u3044\u306e\u3067nil\u306b\u306a\u308b\u3002 viewDidMoveToWindow\u5185\u3067\u547c\u3076\u3088\u3046\u306b\u3059\u308b\u3068\u76f4\u3063\u305f\u3002 \u53c2\u8003\uff1aCocoaDev \u00bb Makingnstextfieldac\u2026","provider_url":"https://hatena.blog","version":"1.0","height":"190","provider_name":"Hatena Blog","title":"NSTextField\u306b\u30d5\u30a9\u30fc\u30ab\u30b9\u3092\u5f53\u3066\u308b","blog_url":"https://anton0825.hatenablog.com/","categories":["mac"],"published":"2014-06-28 01:50:10","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanton0825.hatenablog.com%2Fentry%2F20140628%2F1411231810\" title=\"NSTextField\u306b\u30d5\u30a9\u30fc\u30ab\u30b9\u3092\u5f53\u3066\u308b - \u65e5\u3005\u7cbe\u9032\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u65e5\u3005\u7cbe\u9032","image_url":null,"width":"100%"}