{"id":55,"date":"2004-08-12T04:34:55","date_gmt":"2004-08-12T03:34:55","guid":{"rendered":"\/?p=55"},"modified":"2025-02-01T03:04:18","modified_gmt":"2025-02-01T03:04:18","slug":"nslog","status":"publish","type":"post","link":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/2004\/08\/12\/nslog\/","title":{"rendered":"NSLog"},"content":{"rendered":"<p>I just realised that NSLog allows parameters. I&#8217;d previously been using <\/p>\n<p><code>NSLog([NSString stringWithFormat:@\"%d\",randomVar]) ...<\/code><\/p>\n<p>But now I realise that the I don&#8217;t really need to do this. A simple call to NSLog will work as well.<\/p>\n<p><code>NSLog(@\"%d\",randomVar);<\/code><\/p>\n<p>It still isn&#8217;t as easy as php or even java, but it&#8217;s shorter and tidier and so better.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just realised that NSLog allows parameters. I&#8217;d previously been using NSLog([NSString stringWithFormat:@&#8221;%d&#8221;,randomVar]) &#8230; But now I realise that the I don&#8217;t really need to do this. A simple call to NSLog will work as well. NSLog(@&#8221;%d&#8221;,randomVar); It still isn&#8217;t as easy as php or even java, but it&#8217;s shorter and tidier and so better.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,14],"tags":[],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-sqleditor","category-writing-software"],"_links":{"self":[{"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":1,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"predecessor-version":[{"id":1624,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/posts\/55\/revisions\/1624"}],"wp:attachment":[{"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}