<?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: Killer Xcode Tips and Tricks &#8211; Tips 1 to 10</title>
	<atom:link href="http://iPhoneDeveloperTips.com/xcode/xcode-tips-and-tricks-tips-1-to-10.html/feed" rel="self" type="application/rss+xml" />
	<link>http://iPhoneDeveloperTips.com/xcode/xcode-tips-and-tricks-tips-1-to-10.html</link>
	<description>Tips and Tricks for iPhone developers</description>
	<lastBuildDate>Mon, 08 Mar 2010 17:46:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jon</title>
		<link>http://iPhoneDeveloperTips.com/xcode/xcode-tips-and-tricks-tips-1-to-10.html/comment-page-1#comment-5889</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Wed, 21 Oct 2009 16:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=4221#comment-5889</guid>
		<description>Vim fans should take a look at cocoa.vim and the Vi Input Manager!</description>
		<content:encoded><![CDATA[<p>Vim fans should take a look at cocoa.vim and the Vi Input Manager!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren Stone</title>
		<link>http://iPhoneDeveloperTips.com/xcode/xcode-tips-and-tricks-tips-1-to-10.html/comment-page-1#comment-5771</link>
		<dc:creator>Darren Stone</dc:creator>
		<pubDate>Fri, 16 Oct 2009 17:20:56 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=4221#comment-5771</guid>
		<description>1. Indent selection: Ctrl+I
I use this constantly to re-indent code I&#039;m editing.  I never use the manual-indent keystrokes anymore.

2. Pop Symbols PopUp: Command+Option+2 
By default this may have a different shortcut, maybe Ctrl+2.  Pop-up the symbols then begin typing the method name you&#039;re looking for.  It&#039;s a quick way to find a method in the current file.

3. Go to declaration/definition: Command+Double Click.
For example, double-clicking &quot;NSString&quot; takes you the NSString header.

4. Close All: Command+Option+W
This closes all windows of a similar type.  Useful in the &quot;Condensed&quot; and &quot;Default&quot; layouts.  For example, Option+Close on a source code window closes all source code windows.  Option+Close on a debugger window closes all debugger windows.

5. Switch to Symbolic Counterpart: Command+Option+Shift+Up
This doesn&#039;t have a keyboard shortcut by default, but it can be very handy.  

When the cursor is in a method or function definition, this takes you to that method&#039;s declaration, and vice versa, even if the declaration and definition are in the same file.  E.g., for private interfaces declared in a .m file.

6. Compile: Command+K
Maybe obvious, but worth mentioning.  This compiles only the current source file.  It&#039;s a quick way to check for syntax errors without doing a full build.

7. Next/Prev Build Warning:  Command+=, Command+Shift+=
After a build, use this to iterate over any warnings and errors.

8. Strip Trailing Spaces (Scripts!)
I bet most people don&#039;t realize how easy it is to create custom scripts in XCode.

Try this:
- Script Menu &gt; Edit User Scripts...
- New Shell Script
- Input: Entire Document
- Output: Replace Document Contents
- Script:

#!/usr/bin/perl

while () {
  s/\s+$//;
  print &quot;$_\n&quot;;
}

Give it a name and a keyboard shortcut, and now you have keyboard shortcut for stripping trailing spaces from a document.</description>
		<content:encoded><![CDATA[<p>1. Indent selection: Ctrl+I<br />
I use this constantly to re-indent code I&#8217;m editing.  I never use the manual-indent keystrokes anymore.</p>
<p>2. Pop Symbols PopUp: Command+Option+2<br />
By default this may have a different shortcut, maybe Ctrl+2.  Pop-up the symbols then begin typing the method name you&#8217;re looking for.  It&#8217;s a quick way to find a method in the current file.</p>
<p>3. Go to declaration/definition: Command+Double Click.<br />
For example, double-clicking &#8220;NSString&#8221; takes you the NSString header.</p>
<p>4. Close All: Command+Option+W<br />
This closes all windows of a similar type.  Useful in the &#8220;Condensed&#8221; and &#8220;Default&#8221; layouts.  For example, Option+Close on a source code window closes all source code windows.  Option+Close on a debugger window closes all debugger windows.</p>
<p>5. Switch to Symbolic Counterpart: Command+Option+Shift+Up<br />
This doesn&#8217;t have a keyboard shortcut by default, but it can be very handy.  </p>
<p>When the cursor is in a method or function definition, this takes you to that method&#8217;s declaration, and vice versa, even if the declaration and definition are in the same file.  E.g., for private interfaces declared in a .m file.</p>
<p>6. Compile: Command+K<br />
Maybe obvious, but worth mentioning.  This compiles only the current source file.  It&#8217;s a quick way to check for syntax errors without doing a full build.</p>
<p>7. Next/Prev Build Warning:  Command+=, Command+Shift+=<br />
After a build, use this to iterate over any warnings and errors.</p>
<p>8. Strip Trailing Spaces (Scripts!)<br />
I bet most people don&#8217;t realize how easy it is to create custom scripts in XCode.</p>
<p>Try this:<br />
- Script Menu &gt; Edit User Scripts&#8230;<br />
- New Shell Script<br />
- Input: Entire Document<br />
- Output: Replace Document Contents<br />
- Script:</p>
<p>#!/usr/bin/perl</p>
<p>while () {<br />
  s/\s+$//;<br />
  print &#8220;$_\n&#8221;;<br />
}</p>
<p>Give it a name and a keyboard shortcut, and now you have keyboard shortcut for stripping trailing spaces from a document.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://iPhoneDeveloperTips.com/xcode/xcode-tips-and-tricks-tips-1-to-10.html/comment-page-1#comment-5769</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Fri, 16 Oct 2009 16:15:12 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=4221#comment-5769</guid>
		<description>Whow!!!!! Thank you! 8 out of 10 i did not know!
Absolutely awesome post!</description>
		<content:encoded><![CDATA[<p>Whow!!!!! Thank you! 8 out of 10 i did not know!<br />
Absolutely awesome post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abizer Nasir</title>
		<link>http://iPhoneDeveloperTips.com/xcode/xcode-tips-and-tricks-tips-1-to-10.html/comment-page-1#comment-5768</link>
		<dc:creator>Abizer Nasir</dc:creator>
		<pubDate>Fri, 16 Oct 2009 16:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=4221#comment-5768</guid>
		<description>#3 alternative - from a laptop - three finger swipe up will take you from .h -&gt; .m -&gt; .h etc.

three finger swipe down will take you from the declaration/implementation of the method the cursor is currently in.

#6 alternative - Three finger swipe left and three finger swipe right will move you backwards/forwards through your editor history.</description>
		<content:encoded><![CDATA[<p>#3 alternative &#8211; from a laptop &#8211; three finger swipe up will take you from .h -&gt; .m -&gt; .h etc.</p>
<p>three finger swipe down will take you from the declaration/implementation of the method the cursor is currently in.</p>
<p>#6 alternative &#8211; Three finger swipe left and three finger swipe right will move you backwards/forwards through your editor history.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://iPhoneDeveloperTips.com/xcode/xcode-tips-and-tricks-tips-1-to-10.html/comment-page-1#comment-5766</link>
		<dc:creator>James</dc:creator>
		<pubDate>Fri, 16 Oct 2009 15:42:49 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=4221#comment-5766</guid>
		<description>Open files quickly: cmd + option + D</description>
		<content:encoded><![CDATA[<p>Open files quickly: cmd + option + D</p>
]]></content:encoded>
	</item>
</channel>
</rss>
