{"id":666,"date":"2011-01-10T08:52:15","date_gmt":"2011-01-10T13:52:15","guid":{"rendered":"http:\/\/www.jaimerios.com\/?p=666"},"modified":"2011-01-10T08:52:15","modified_gmt":"2011-01-10T13:52:15","slug":"i-created-a-new-target-template-in-xcode","status":"publish","type":"post","link":"https:\/\/jaimerios.com\/?p=666","title":{"rendered":"I created a new target template in Xcode"},"content":{"rendered":"<p>In my office, I use a certain framework for unit testing. Setting up my unit tests are pretty predictable and have the same naming convention, no matter what project I apply the unit testing to.<\/p>\n<p>Now, when I looked over how I was setting up the unit-testing target, I saw that I am actually repeating a lot of steps, over and over again.<\/p>\n<p>I thought, wouldn&#8217;t it be cool if I had a custom target of my own that would have everything needed for this supporting this framework? I looked into that and this is not a well documented feature&#8230; or at least, I&#8217;m not finding the documentation on how to do this.<\/p>\n<p>After dissecting a couple of pre-existing templates, I knew enough to make my own template and voila! I made my own template. But why stop there? I also made my own custom files that I usually cook up too for this framework \ud83d\ude42<\/p>\n<p>If anyone knows of any documentation on how to do this properly, I would love to hear from you!<\/p>\n<p>Microsoft has a page for it: <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ff527340.aspx\" target=\"_blank\" rel=\"noopener\">http:\/\/msdn.microsoft.com\/en-us\/library\/ff527340.aspx<\/a><\/p>\n<p>Maybe Apple has one too.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my office, I use a certain framework for unit testing. Setting up my unit tests are pretty predictable and have the same naming convention, no matter what project I apply the unit testing to. Now, when I looked over how I was setting up the unit-testing target, I saw that I am actually repeating &#8230; <a title=\"I created a new target template in Xcode\" class=\"read-more\" href=\"https:\/\/jaimerios.com\/?p=666\" aria-label=\"Read more about I created a new target template in Xcode\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[434,506],"class_list":["post-666","post","type-post","status-publish","format-standard","hentry","category-coding","tag-target-template","tag-xcode"],"_links":{"self":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts\/666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=666"}],"version-history":[{"count":0,"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts\/666\/revisions"}],"wp:attachment":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}