<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Creating Xcode Templates</title>
	<atom:link href="http://briksoftware.com/blog/?feed=rss2&#038;p=28" rel="self" type="application/rss+xml" />
	<link>http://briksoftware.com/blog/?p=28</link>
	<description></description>
	<lastBuildDate>Thu, 14 Jun 2012 18:56:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Karsten</title>
		<link>http://briksoftware.com/blog/?p=28&#038;cpage=1#comment-16238</link>
		<dc:creator>Karsten</dc:creator>
		<pubDate>Tue, 28 Jun 2011 21:03:21 +0000</pubDate>
		<guid isPermaLink="false">http://briksoftware.com/blog/?p=28#comment-16238</guid>
		<description><![CDATA[sorry, i&#039;ve not yet tried that, but if you find out more, please share!]]></description>
		<content:encoded><![CDATA[<p>sorry, i&#8217;ve not yet tried that, but if you find out more, please share!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harsha</title>
		<link>http://briksoftware.com/blog/?p=28&#038;cpage=1#comment-16237</link>
		<dc:creator>harsha</dc:creator>
		<pubDate>Mon, 27 Jun 2011 09:51:40 +0000</pubDate>
		<guid isPermaLink="false">http://briksoftware.com/blog/?p=28#comment-16237</guid>
		<description><![CDATA[What if I want to create a custom template depending on user input. So that while creating a new project user can actually give some input for choosing various files/components? Is that possible?]]></description>
		<content:encoded><![CDATA[<p>What if I want to create a custom template depending on user input. So that while creating a new project user can actually give some input for choosing various files/components? Is that possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sunetos, Inc. :: Creating an Xcode project template with GHUnit and OCMock</title>
		<link>http://briksoftware.com/blog/?p=28&#038;cpage=1#comment-16211</link>
		<dc:creator>Sunetos, Inc. :: Creating an Xcode project template with GHUnit and OCMock</dc:creator>
		<pubDate>Sat, 22 Jan 2011 21:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://briksoftware.com/blog/?p=28#comment-16211</guid>
		<description><![CDATA[[...] Creating Xcode Templates (blog post) [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Creating Xcode Templates (blog post) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karsten</title>
		<link>http://briksoftware.com/blog/?p=28&#038;cpage=1#comment-16130</link>
		<dc:creator>Karsten</dc:creator>
		<pubDate>Thu, 19 Nov 2009 17:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://briksoftware.com/blog/?p=28#comment-16130</guid>
		<description><![CDATA[Hi Motti, thanks for sharing your findings.

1. Plists can be saved either as XML or as Binary format. Both is supported by Apple&#039;s Plist Editor so you can just try it yourself to save a plist as binary.
2. i can&#039;t remember why i used the text-editor... probably because of the encoding.
3. true indeed
4. nice find!
5. i have actually no idea
6. nope, no idea here...

Karsten]]></description>
		<content:encoded><![CDATA[<p>Hi Motti, thanks for sharing your findings.</p>
<p>1. Plists can be saved either as XML or as Binary format. Both is supported by Apple&#8217;s Plist Editor so you can just try it yourself to save a plist as binary.<br />
2. i can&#8217;t remember why i used the text-editor&#8230; probably because of the encoding.<br />
3. true indeed<br />
4. nice find!<br />
5. i have actually no idea<br />
6. nope, no idea here&#8230;</p>
<p>Karsten</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Motti Shneor</title>
		<link>http://briksoftware.com/blog/?p=28&#038;cpage=1#comment-16129</link>
		<dc:creator>Motti Shneor</dc:creator>
		<pubDate>Thu, 19 Nov 2009 07:13:03 +0000</pubDate>
		<guid isPermaLink="false">http://briksoftware.com/blog/?p=28#comment-16129</guid>
		<description><![CDATA[Thanks, this is very good. I spent a lot of time trying to get this missing information about XCode templates, and last I had to decipher it all by myself. It&#039;s assuring to see that my findings match yours. However --- There are few notes.

1. plists ARE xml. I never saw any &quot;binary&quot; version of a plist file. So I don&#039;t quite get what you mean.

2. If you have XCode installed --- You also have the &quot;PList Editor&quot; which gives you easy UI for editing plists. Why bother to work directly on the XML text of it? Search and replace are available, Encoding is handled automatically.... why not use it

3. Even if you want to edit the plist text by yourself --- XCode itself is a good choice, and it does handle file encodings too.

4. There are two distinct way I saw in Apple&#039;s own templates, to put &quot;Macros&quot; in the template files. One is the «MACRONAME»
 where you must use the templateInfo.plist to explicitly tell XCode to MacroExpand the file, but there is another way, using ___MACRONAME___ instead. (3 underscores before and after the Macro name). These macros are being parsed and expanded even if you do not specify the file&#039;s name in the template&#039;s templateInfo.plist. Apple even uses these macros in the File names in the template directory.

5. One big mystery is the list of Apple provided Macros (like PROJECTNAME) and their content when compiling a template. What is (to your best knowledge) this list?

6. There is a new &quot;templateChooser.plist&quot; which allowes creating simple GUI with popup menus and checkboxes, to allow the user to specify the exact kind of template or template-variation he wants. I managed to duplicate Apple&#039;s own templateChooser.plist behaviors, but I don&#039;t know what is POSSIBLE. Have you any ideas?

Thanks again, and feel free to e-mail me anytime.
Motti]]></description>
		<content:encoded><![CDATA[<p>Thanks, this is very good. I spent a lot of time trying to get this missing information about XCode templates, and last I had to decipher it all by myself. It&#8217;s assuring to see that my findings match yours. However &#8212; There are few notes.</p>
<p>1. plists ARE xml. I never saw any &#8220;binary&#8221; version of a plist file. So I don&#8217;t quite get what you mean.</p>
<p>2. If you have XCode installed &#8212; You also have the &#8220;PList Editor&#8221; which gives you easy UI for editing plists. Why bother to work directly on the XML text of it? Search and replace are available, Encoding is handled automatically&#8230;. why not use it</p>
<p>3. Even if you want to edit the plist text by yourself &#8212; XCode itself is a good choice, and it does handle file encodings too.</p>
<p>4. There are two distinct way I saw in Apple&#8217;s own templates, to put &#8220;Macros&#8221; in the template files. One is the «MACRONAME»<br />
 where you must use the templateInfo.plist to explicitly tell XCode to MacroExpand the file, but there is another way, using ___MACRONAME___ instead. (3 underscores before and after the Macro name). These macros are being parsed and expanded even if you do not specify the file&#8217;s name in the template&#8217;s templateInfo.plist. Apple even uses these macros in the File names in the template directory.</p>
<p>5. One big mystery is the list of Apple provided Macros (like PROJECTNAME) and their content when compiling a template. What is (to your best knowledge) this list?</p>
<p>6. There is a new &#8220;templateChooser.plist&#8221; which allowes creating simple GUI with popup menus and checkboxes, to allow the user to specify the exact kind of template or template-variation he wants. I managed to duplicate Apple&#8217;s own templateChooser.plist behaviors, but I don&#8217;t know what is POSSIBLE. Have you any ideas?</p>
<p>Thanks again, and feel free to e-mail me anytime.<br />
Motti</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ThreeE</title>
		<link>http://briksoftware.com/blog/?p=28&#038;cpage=1#comment-16115</link>
		<dc:creator>ThreeE</dc:creator>
		<pubDate>Sat, 30 May 2009 22:09:57 +0000</pubDate>
		<guid isPermaLink="false">http://briksoftware.com/blog/?p=28#comment-16115</guid>
		<description><![CDATA[Great info.  My only problem is that once I modify project.pbxproj to include the macro version of filenames, Xcode is no longer able to parse the project.pbxproj file of the template.]]></description>
		<content:encoded><![CDATA[<p>Great info.  My only problem is that once I modify project.pbxproj to include the macro version of filenames, Xcode is no longer able to parse the project.pbxproj file of the template.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gustavo Chaurais</title>
		<link>http://briksoftware.com/blog/?p=28&#038;cpage=1#comment-16109</link>
		<dc:creator>Gustavo Chaurais</dc:creator>
		<pubDate>Fri, 20 Feb 2009 23:51:44 +0000</pubDate>
		<guid isPermaLink="false">http://briksoftware.com/blog/?p=28#comment-16109</guid>
		<description><![CDATA[Don&#039;t you have to use «PROJECTNAMEASIDENTIFIER», instead of «PROJECTNAME» for the file names? Otherwise, if you create a project with a space in the name (ex: &quot;My First Project&quot;, you&#039;ll end up by having file names with space, which is no good. Using «PROJECTNAMEASIDENTIFIER» should fix this problem. It&#039;s also the way Apple implemented iPhone templates.]]></description>
		<content:encoded><![CDATA[<p>Don&#8217;t you have to use «PROJECTNAMEASIDENTIFIER», instead of «PROJECTNAME» for the file names? Otherwise, if you create a project with a space in the name (ex: &#8220;My First Project&#8221;, you&#8217;ll end up by having file names with space, which is no good. Using «PROJECTNAMEASIDENTIFIER» should fix this problem. It&#8217;s also the way Apple implemented iPhone templates.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Grosjean</title>
		<link>http://briksoftware.com/blog/?p=28&#038;cpage=1#comment-15092</link>
		<dc:creator>Jesse Grosjean</dc:creator>
		<pubDate>Sun, 27 Jan 2008 21:08:13 +0000</pubDate>
		<guid isPermaLink="false">http://briksoftware.com/blog/?p=28#comment-15092</guid>
		<description><![CDATA[I just created a mini tool that can help with this process http://hogbaysoftware.com/products/xcodetemplatefactory]]></description>
		<content:encoded><![CDATA[<p>I just created a mini tool that can help with this process <a href="http://hogbaysoftware.com/products/xcodetemplatefactory" rel="nofollow">http://hogbaysoftware.com/products/xcodetemplatefactory</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fdiv.net &#187; Xcode Template for Custom Quartz Composer Patches</title>
		<link>http://briksoftware.com/blog/?p=28&#038;cpage=1#comment-2508</link>
		<dc:creator>fdiv.net &#187; Xcode Template for Custom Quartz Composer Patches</dc:creator>
		<pubDate>Tue, 08 May 2007 19:36:13 +0000</pubDate>
		<guid isPermaLink="false">http://briksoftware.com/blog/?p=28#comment-2508</guid>
		<description><![CDATA[[...] Frustrated with the tedium of going through all the Xcode project files in a text editor and manually replacing all of the identifiers and filenames when creating a new Quartz Composer Patch, I decided to finally figure out how to create a new Xcode template.  It&#8217;s pretty straightforward, actually, given Karsten Kusche&#8217;s instructions. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Frustrated with the tedium of going through all the Xcode project files in a text editor and manually replacing all of the identifiers and filenames when creating a new Quartz Composer Patch, I decided to finally figure out how to create a new Xcode template.  It&#8217;s pretty straightforward, actually, given Karsten Kusche&#8217;s instructions. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karsten</title>
		<link>http://briksoftware.com/blog/?p=28&#038;cpage=1#comment-1045</link>
		<dc:creator>Karsten</dc:creator>
		<pubDate>Sun, 25 Mar 2007 08:01:26 +0000</pubDate>
		<guid isPermaLink="false">http://briksoftware.com/blog/?p=28#comment-1045</guid>
		<description><![CDATA[Yeah, exactly...you must not have more files than these two in your project bunde, maybe i should have made it a bit more clear in the post.]]></description>
		<content:encoded><![CDATA[<p>Yeah, exactly&#8230;you must not have more files than these two in your project bunde, maybe i should have made it a bit more clear in the post.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
