{"id":1467,"date":"2017-05-13T14:08:28","date_gmt":"2017-05-13T05:08:28","guid":{"rendered":"http:\/\/www.chihayafuru.jp\/tech\/?p=1467"},"modified":"2017-05-13T14:08:28","modified_gmt":"2017-05-13T05:08:28","slug":"swift%e3%81%aedefine%e3%83%9e%e3%82%af%e3%83%ad","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/1467","title":{"rendered":"Swift\u306edefine\u30de\u30af\u30ed"},"content":{"rendered":"<p>swift\u306e\u30b3\u30fc\u30c9\u306b\u304a\u3044\u3066define\u30de\u30af\u30ed\u3092\u6709\u52b9\u306b\u3059\u308b<\/p>\n<pre class=\"lang:swift decode:true \" >#ifdef DEBUG\r\n...\r\n#endif<\/pre>\n<p><\/p>\n<p><a href=\"\/tech\/wp-content\/uploads\/2017\/05\/swift_macro_define.png\" alt=\"Xcode - Build Setting\"><br \/>\n<img decoding=\"async\" src=\"\/tech\/wp-content\/uploads\/2017\/05\/swift_macro_define.png\" alt=\"Xcode - Build Setting\" \/><br \/>\n<\/a><\/p>\n<p>Build Settings -> Other Swift Flags<\/p>\n<p>Xcode 8.3.2<\/p>\n","protected":false},"excerpt":{"rendered":"<p>swift\u306e\u30b3\u30fc\u30c9\u306b\u304a\u3044\u3066define\u30de\u30af\u30ed\u3092\u6709\u52b9\u306b\u3059\u308b #ifdef DEBUG &#8230; #endif Build Settings -> Other Swift Flags Xcode 8.3.2<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[22],"class_list":["post-1467","post","type-post","status-publish","format-standard","hentry","category-memo","tag-swift"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=1467"}],"version-history":[{"count":8,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1467\/revisions"}],"predecessor-version":[{"id":1476,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1467\/revisions\/1476"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=1467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=1467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=1467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}