{"id":6854,"date":"2013-01-22T21:56:03","date_gmt":"2013-01-23T02:56:03","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=6854"},"modified":"2013-01-22T21:56:03","modified_gmt":"2013-01-23T02:56:03","slug":"namespacing-objective-c","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2013\/01\/22\/namespacing-objective-c\/","title":{"rendered":"NS: Poor Man&rsquo;s Namespacing for Objective-C"},"content":{"rendered":"<p><a href=\"http:\/\/rentzsch.tumblr.com\/post\/40806448108\/ns-poor-mans-namespacing-for-objective-c\">Jonathan Rentzsch<\/a>:<\/p>\n<blockquote cite=\"http:\/\/rentzsch.tumblr.com\/post\/40806448108\/ns-poor-mans-namespacing-for-objective-c\"><p>I&rsquo;ve been successfully using a nine-line preprocessor hack for a few years now that effectively works-around the problem.<\/p><\/blockquote>\n<p>Define your classes using his simple macro, and you can easily prefix their names at compile-time.<\/p>","protected":false},"excerpt":{"rendered":"<p>Jonathan Rentzsch: I&rsquo;ve been successfully using a nine-line preprocessor hack for a few years now that effectively works-around the problem. Define your classes using his simple macro, and you can easily prefix their names at compile-time.<\/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":[298,54,74,71],"class_list":["post-6854","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-namespaces","tag-objective-c","tag-opensource","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/6854","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=6854"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/6854\/revisions"}],"predecessor-version":[{"id":6855,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/6854\/revisions\/6855"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=6854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=6854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=6854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}