{"id":6837,"date":"2013-01-22T20:31:56","date_gmt":"2013-01-23T01:31:56","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=6837"},"modified":"2013-01-22T20:31:56","modified_gmt":"2013-01-23T01:31:56","slug":"when-is-id-promoted-to-instancetype","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2013\/01\/22\/when-is-id-promoted-to-instancetype\/","title":{"rendered":"When Is id Promoted to instancetype?"},"content":{"rendered":"<p><a href=\"http:\/\/tewha.net\/2013\/01\/when-is-id-promoted-to-instancetype\/\">Steven Fisher<\/a>:<\/p>\n<blockquote cite=\"http:\/\/tewha.net\/2013\/01\/when-is-id-promoted-to-instancetype\/\"><p>This is straight from <a href=\"http:\/\/clang.llvm.org\/docs\/LanguageExtensions.html#related-result-types\">Clang Language Extensions<\/a>:<\/p><ul>\n<li>the first word is &ldquo;alloc&rdquo; or &ldquo;new&rdquo;, and the method is a class method, or<\/li>\n<li>the first word is &ldquo;autorelease&rdquo;, &ldquo;init&rdquo;, &ldquo;retain&rdquo;, or &ldquo;self&rdquo;, and the method is an instance method.<\/li>\n<\/ul>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Steven Fisher: This is straight from Clang Language Extensions: the first word is &ldquo;alloc&rdquo; or &ldquo;new&rdquo;, and the method is a class method, or the first word is &ldquo;autorelease&rdquo;, &ldquo;init&rdquo;, &ldquo;retain&rdquo;, or &ldquo;self&rdquo;, and the method is an instance method.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[54,71],"class_list":["post-6837","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-objective-c","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/6837","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=6837"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/6837\/revisions"}],"predecessor-version":[{"id":6838,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/6837\/revisions\/6838"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=6837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=6837"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=6837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}