{"categories":["mac","iphone","objective-c"],"published":"2009-10-31 08:19:36","author_name":"thata","provider_name":"Hatena Blog","height":"190","url":"https://thata.hatenadiary.org/entry/20091031/1256944776","blog_url":"https://thata.hatenadiary.org/","title":"NSMutableArray\u306e\u4f7f\u3044\u65b9","blog_title":"\u3061\u304f\u308f\u30d7\u30ed\u30b0\u30e9\u30de\u306b\u3063\u304d","version":"1.0","description":"// \u7a7a\u306e\u914d\u5217\u306e\u751f\u6210 NSMutableArray *a = [[NSMutableArray alloc] init]; NSLog(@\"a = %@\", a); //=> [] NSLog(@\"a.count = %d\", [a count]); //=> 0 [a release]; // \u5024\u3092\u6307\u5b9a\u3057\u305f\u914d\u5217\u306e\u751f\u6210 a = [[NSMutableArray alloc] initWithObjects: @\"first\", @\"second\", @\"third\", nil]; NSLog(@\"a = %@\", a); //=> [first, second, third] // \u8981\u7d20\u306e\u8ffd\u52a0\u2026","provider_url":"https://hatena.blog","width":"100%","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthata.hatenadiary.org%2Fentry%2F20091031%2F1256944776\" title=\"NSMutableArray\u306e\u4f7f\u3044\u65b9 - \u3061\u304f\u308f\u30d7\u30ed\u30b0\u30e9\u30de\u306b\u3063\u304d\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","author_url":"https://blog.hatena.ne.jp/thata/"}