{"id":6839,"date":"2013-01-22T20:50:13","date_gmt":"2013-01-23T01:50:13","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=6839"},"modified":"2013-01-22T20:50:13","modified_gmt":"2013-01-23T01:50:13","slug":"jatemplate","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2013\/01\/22\/jatemplate\/","title":{"rendered":"JATemplate"},"content":{"rendered":"<p><a href=\"http:\/\/jens.ayton.se\/blag\/death-to-printf\/\">Jens Ayton&rsquo;s<\/a> <a href=\"https:\/\/github.com\/JensAyton\/JATemplate\">JATemplate<\/a> offers a replacement for Cocoa&rsquo;s <code>printf()<\/code>-style format strings:<\/p>\n<blockquote cite=\"http:\/\/jens.ayton.se\/blag\/death-to-printf\/\"><p>So, is this a horrible hack? Well, by the standards of typical day-to-day code, probably. But in the correct frame of reference, which is &ldquo;compared to printf()-style formatting&rdquo;, no.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Jens Ayton&rsquo;s JATemplate offers a replacement for Cocoa&rsquo;s printf()-style format strings: So, is this a horrible hack? Well, by the standards of typical day-to-day code, probably. But in the correct frame of reference, which is &ldquo;compared to printf()-style formatting&rdquo;, no.<\/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":[69,292,54,74,71],"class_list":["post-6839","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-cocoa","tag-jatemplate","tag-objective-c","tag-opensource","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/6839","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=6839"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/6839\/revisions"}],"predecessor-version":[{"id":6840,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/6839\/revisions\/6840"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=6839"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=6839"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=6839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}