<?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: Add a Favorites Section to Xcode File Templates</title>
	<atom:link href="http://www.red-sweater.com/blog/63/add-a-favorites-section-to-xcode-file-templates/feed" rel="self" type="application/rss+xml" />
	<link>http://www.red-sweater.com/blog/63/add-a-favorites-section-to-xcode-file-templates</link>
	<description>Mac &#38; Technology Writings by Daniel Jalkut</description>
	<lastBuildDate>Wed, 18 Jan 2012 18:10:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Nothing to Say &#187; Favorite File Templates</title>
		<link>http://www.red-sweater.com/blog/63/add-a-favorites-section-to-xcode-file-templates/comment-page-1#comment-15338</link>
		<dc:creator>Nothing to Say &#187; Favorite File Templates</dc:creator>
		<pubDate>Tue, 19 Sep 2006 08:14:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=63#comment-15338</guid>
		<description>[...] Daniel over at Red Sweater gives a nice little tip for adding a favorites section at the top of Xcode&#8217;s new file window.  Since 95% of the time I&#8217;m using 1 of 3 templates it should save a couple seconds here and there.  Plus hunting through the list is a pain sometimes.   9:18 pm [...]</description>
		<content:encoded><![CDATA[<p>[...] Daniel over at Red Sweater gives a nice little tip for adding a favorites section at the top of Xcode&#8217;s new file window.  Since 95% of the time I&#8217;m using 1 of 3 templates it should save a couple seconds here and there.  Plus hunting through the list is a pain sometimes.   9:18 pm [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Jalkut</title>
		<link>http://www.red-sweater.com/blog/63/add-a-favorites-section-to-xcode-file-templates/comment-page-1#comment-385</link>
		<dc:creator>Daniel Jalkut</dc:creator>
		<pubDate>Tue, 20 Dec 2005 23:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=63#comment-385</guid>
		<description>Thanks Kyle - you&#039;re right about the ability to have separate names. I was jumping to conclusions on that. However, in this case the file being linked to is actually a directory (it&#039;s a &quot;bundle&quot;) , so I guess the symbolic link is still appropriate.

Another benefit of using symbolic links is that when Apple updates the original, the link will not keep a stale reference to the original.</description>
		<content:encoded><![CDATA[<p>Thanks Kyle &#8211; you&#8217;re right about the ability to have separate names. I was jumping to conclusions on that. However, in this case the file being linked to is actually a directory (it&#8217;s a &#8220;bundle&#8221;) , so I guess the symbolic link is still appropriate.</p>
<p>Another benefit of using symbolic links is that when Apple updates the original, the link will not keep a stale reference to the original.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Dean</title>
		<link>http://www.red-sweater.com/blog/63/add-a-favorites-section-to-xcode-file-templates/comment-page-1#comment-384</link>
		<dc:creator>Kyle Dean</dc:creator>
		<pubDate>Tue, 20 Dec 2005 21:58:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=63#comment-384</guid>
		<description>In your article you recommend using a symbolic link because &quot;a hard link would not allow you to rename the link ... without also renaming the original&quot;

You don&#039;t have to worry about this. A hard link is a completely separate name for the file, which points to the underlying inode. You can rename a hard link (or delete it) without harming the file under the original name. If you delete (or move) the original file name, the file will still exist under the new name. That is something symbolic links can&#039;t do.

The second column in an &#039;ls -l&#039; gives the number of hard links to a file.

Some drawbacks to hard links are: hard links cannot span filesystems, and a user normally can&#039;t hardlink directories (you can mess up the filesystem if you hardlink directories)

After all that, a symbolic link is usually better. A symbolic link looks different and you can see a reference to the &quot;original&quot;


You can do the link and rename in one step, by giving a second argument to ln.
  ln -s /Library/Application\ Support/Apple/Developer\ Tools/File\ Templates/BSD/C\ File.pbfiletemplate BSD\ C\ File.pbfiletemplate

(I guess you did it in two steps because the line was getting pretty long by that stage)</description>
		<content:encoded><![CDATA[<p>In your article you recommend using a symbolic link because &#8220;a hard link would not allow you to rename the link &#8230; without also renaming the original&#8221;</p>
<p>You don&#8217;t have to worry about this. A hard link is a completely separate name for the file, which points to the underlying inode. You can rename a hard link (or delete it) without harming the file under the original name. If you delete (or move) the original file name, the file will still exist under the new name. That is something symbolic links can&#8217;t do.</p>
<p>The second column in an &#8216;ls -l&#8217; gives the number of hard links to a file.</p>
<p>Some drawbacks to hard links are: hard links cannot span filesystems, and a user normally can&#8217;t hardlink directories (you can mess up the filesystem if you hardlink directories)</p>
<p>After all that, a symbolic link is usually better. A symbolic link looks different and you can see a reference to the &#8220;original&#8221;</p>
<p>You can do the link and rename in one step, by giving a second argument to ln.<br />
  ln -s /Library/Application\ Support/Apple/Developer\ Tools/File\ Templates/BSD/C\ File.pbfiletemplate BSD\ C\ File.pbfiletemplate</p>
<p>(I guess you did it in two steps because the line was getting pretty long by that stage)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cynical Peak &#187; Blog Archive &#187; Favorite File Templates</title>
		<link>http://www.red-sweater.com/blog/63/add-a-favorites-section-to-xcode-file-templates/comment-page-1#comment-349</link>
		<dc:creator>Cynical Peak &#187; Blog Archive &#187; Favorite File Templates</dc:creator>
		<pubDate>Sat, 10 Dec 2005 22:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=63#comment-349</guid>
		<description>[...] Daniel over at Red Sweater gives a nice little tip for adding a favorites section at the top of Xcode&#8217;s new file window. Since 95% of the time I&#8217;m using 1 of 3 templates it should save a couple seconds here and there. Plus hunting through the list is a pain sometimes. [...]</description>
		<content:encoded><![CDATA[<p>[...] Daniel over at Red Sweater gives a nice little tip for adding a favorites section at the top of Xcode&#8217;s new file window. Since 95% of the time I&#8217;m using 1 of 3 templates it should save a couple seconds here and there. Plus hunting through the list is a pain sometimes. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Jalkut</title>
		<link>http://www.red-sweater.com/blog/63/add-a-favorites-section-to-xcode-file-templates/comment-page-1#comment-328</link>
		<dc:creator>Daniel Jalkut</dc:creator>
		<pubDate>Mon, 05 Dec 2005 00:24:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=63#comment-328</guid>
		<description>Cool! Glad you got some use from the tip, and thanks for sharing that idea.  You might still consider putting the link (with the space in it) in your home directory&#039;s templates folder, so you can count on it still being there the next time you update your system (or log into somebody else&#039;s computer, assuming you&#039;re on Netinfo).</description>
		<content:encoded><![CDATA[<p>Cool! Glad you got some use from the tip, and thanks for sharing that idea.  You might still consider putting the link (with the space in it) in your home directory&#8217;s templates folder, so you can count on it still being there the next time you update your system (or log into somebody else&#8217;s computer, assuming you&#8217;re on Netinfo).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey Peterson</title>
		<link>http://www.red-sweater.com/blog/63/add-a-favorites-section-to-xcode-file-templates/comment-page-1#comment-327</link>
		<dc:creator>Corey Peterson</dc:creator>
		<pubDate>Mon, 05 Dec 2005 00:15:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=63#comment-327</guid>
		<description>Wow - this is a great tip!
Since I spend 99% of my time with Cocoa classes, I just made a link from the /Library version of the Cocoa folder to one in the same folder with a space before it (to put it at the top, like what you did for the Favorites one).</description>
		<content:encoded><![CDATA[<p>Wow &#8211; this is a great tip!<br />
Since I spend 99% of my time with Cocoa classes, I just made a link from the /Library version of the Cocoa folder to one in the same folder with a space before it (to put it at the top, like what you did for the Favorites one).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

