{"id":11864,"date":"2015-07-29T09:44:47","date_gmt":"2015-07-29T13:44:47","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=11864"},"modified":"2015-07-29T09:45:08","modified_gmt":"2015-07-29T13:45:08","slug":"nsvalue-and-boxed-expressions","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2015\/07\/29\/nsvalue-and-boxed-expressions\/","title":{"rendered":"NSValue and Boxed Expressions"},"content":{"rendered":"<p><a href=\"http:\/\/lowlevelbits.org\/nsvalue-and-boxed-expressions\/\">Alex Denisov<\/a> (via <a href=\"https:\/\/iosdevweekly.com\/issues\/205\">iOS Dev Weekly<\/a>):<\/p>\n<blockquote cite=\"http:\/\/lowlevelbits.org\/nsvalue-and-boxed-expressions\/\">\n<p>Few hours ago I finally finished with my patch to Clang. It took a lot of time, but for me it is the most interesting and challenging OSS contribution so far.<\/p>\n<p>I&rsquo;m not going to dive deep into the details, but will give an overview of the new feature it brings to Objective-C.<\/p>\n<\/blockquote>\n<p>Another approach is to use <a href=\"https:\/\/gist.github.com\/smorr\/260f2f2edb9368a26835\">macros<\/a>. <a href=\"https:\/\/twitter.com\/smorr\/status\/617025455640592384\">Scott Morrison<\/a> uses the ternary operator to swallow the <code>@<\/code> so that you can write code like <code>@point(1,2)<\/code>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Alex Denisov (via iOS Dev Weekly): Few hours ago I finally finished with my patch to Clang. It took a lot of time, but for me it is the most interesting and challenging OSS contribution so far. I&rsquo;m not going to dive deep into the details, but will give an overview of the new feature [&hellip;]<\/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":[230,69,255,31,30,941,54,71],"class_list":["post-11864","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-clang","tag-cocoa","tag-compiler","tag-ios","tag-mac","tag-macros","tag-objective-c","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11864","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=11864"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11864\/revisions"}],"predecessor-version":[{"id":11865,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11864\/revisions\/11865"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=11864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=11864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=11864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}