<?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: NIBs or code? Why not both? Here&#8217;s nib2objc.</title>
	<atom:link href="http://akosma.com/2009/03/17/nib2objc/feed/" rel="self" type="application/rss+xml" />
	<link>http://akosma.com/2009/03/17/nib2objc/</link>
	<description>Leading international provider of cross-platform and multilingual software solutions, for iPhone, iPad, Mac, Windows, Linux, Android, and the web.</description>
	<lastBuildDate>Fri, 26 Feb 2010 10:13:39 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: alan duncan</title>
		<link>http://akosma.com/2009/03/17/nib2objc/comment-page-1/#comment-366</link>
		<dc:creator>alan duncan</dc:creator>
		<pubDate>Tue, 23 Feb 2010 14:09:57 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/?p=1459#comment-366</guid>
		<description>oops... ignore last comment - just noticed UIKit only - not AppKit</description>
		<content:encoded><![CDATA[<p>oops&#8230; ignore last comment &#8211; just noticed UIKit only &#8211; not AppKit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Kosmaczewski</title>
		<link>http://akosma.com/2009/03/17/nib2objc/comment-page-1/#comment-365</link>
		<dc:creator>Adrian Kosmaczewski</dc:creator>
		<pubDate>Tue, 23 Feb 2010 14:09:04 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/?p=1459#comment-365</guid>
		<description>Thanks for the comments Alan! I&#039;m working on the next version, with the integration of the next [REDACTED] SDK :) stay tuned.</description>
		<content:encoded><![CDATA[<p>Thanks for the comments Alan! I&#8217;m working on the next version, with the integration of the next [REDACTED] SDK <img src='http://akosma.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  stay tuned.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alan duncan</title>
		<link>http://akosma.com/2009/03/17/nib2objc/comment-page-1/#comment-364</link>
		<dc:creator>alan duncan</dc:creator>
		<pubDate>Tue, 23 Feb 2010 14:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/?p=1459#comment-364</guid>
		<description>Seems that IB 3.2.2 breaks nib2obj.  I&#039;m getting only: 
&lt;code&gt;
[view90 addSubview:view93];
[view90 addSubview:view98];
[view90 addSubview:view99];
&lt;/code&gt;
etc.  Great app, though!</description>
		<content:encoded><![CDATA[<p>Seems that IB 3.2.2 breaks nib2obj.  I&#8217;m getting only:<br />
<code><br />
[view90 addSubview:view93];<br />
[view90 addSubview:view98];<br />
[view90 addSubview:view99];<br />
</code><br />
etc.  Great app, though!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://akosma.com/2009/03/17/nib2objc/comment-page-1/#comment-62</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Mon, 03 Aug 2009 19:17:28 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/?p=1459#comment-62</guid>
		<description>Hi Cesar, thanks for your comment! Actually no, I just inspected the XIB file by hand, and it has a fairly simple structure, not really hard to understand. And ibtool exposes most of the data for you, at least what I needed for this project.</description>
		<content:encoded><![CDATA[<p>Hi Cesar, thanks for your comment! Actually no, I just inspected the XIB file by hand, and it has a fairly simple structure, not really hard to understand. And ibtool exposes most of the data for you, at least what I needed for this project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cesar Miquel</title>
		<link>http://akosma.com/2009/03/17/nib2objc/comment-page-1/#comment-61</link>
		<dc:creator>Cesar Miquel</dc:creator>
		<pubDate>Mon, 03 Aug 2009 19:04:36 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/?p=1459#comment-61</guid>
		<description>Hey! Just found out about your nib2objc. I was wondering if you know of any documentation online about the nib file format. I understand that its basically an XML file but couldn&#039;t find any spec for it.</description>
		<content:encoded><![CDATA[<p>Hey! Just found out about your nib2objc. I was wondering if you know of any documentation online about the nib file format. I understand that its basically an XML file but couldn&#8217;t find any spec for it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://akosma.com/2009/03/17/nib2objc/comment-page-1/#comment-60</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Wed, 24 Jun 2009 19:28:27 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/?p=1459#comment-60</guid>
		<description>You bet! Meanwhile, I have two subtle edits: Remove the curly braces around $FILE, and add an extra/blank line before the EOT on a line by itself.

Chalk it up to cosmetics. :)</description>
		<content:encoded><![CDATA[<p>You bet! Meanwhile, I have two subtle edits: Remove the curly braces around $FILE, and add an extra/blank line before the EOT on a line by itself.</p>
<p>Chalk it up to cosmetics. <img src='http://akosma.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://akosma.com/2009/03/17/nib2objc/comment-page-1/#comment-59</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Wed, 24 Jun 2009 16:33:28 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/?p=1459#comment-59</guid>
		<description>Hey thanks! That&#039;s great. I&#039;ll try that asap.</description>
		<content:encoded><![CDATA[<p>Hey thanks! That&#8217;s great. I&#8217;ll try that asap.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://akosma.com/2009/03/17/nib2objc/comment-page-1/#comment-58</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Wed, 24 Jun 2009 14:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/?p=1459#comment-58</guid>
		<description>A followup to my previous comment: I decided to &quot;Create a User Script&quot; via the Xcode script menu (next to Help) ... except I haven&#039;t found a way to obtain the currently selected file (vs. the contents of the currently open file). NIB/XIB files don&#039;t open within Xcode, so here&#039;s the next best thing. Create a User Script with Input and Directory both set to &quot;Selection&quot;, and Output/Errors set to taste. I called my script &quot;Convert NIB/XIB to Objective-C&quot;. (My apologies in advance if this isn&#039;t formatted well in the comments!)

#! /bin/sh
#
# Converts a NIB or XIB to Objective-C

FILE=`%%%{PBXUtilityScriptsPath}%%%/AskUserForExistingFileDialog &quot;Choose a NIB or XIB to convert to Objective-C&quot;`
cat &lt;&lt;EOT
/*
 * nib2objc - NIB/XIB to Objective-C Converter
 * http://kosmaczewski.net/2009/03/17/nib2objc/
 * Source: {$FILE}
 */
EOT
/path/to/nib2objc &quot;$FILE&quot;</description>
		<content:encoded><![CDATA[<p>A followup to my previous comment: I decided to &#8220;Create a User Script&#8221; via the Xcode script menu (next to Help) &#8230; except I haven&#8217;t found a way to obtain the currently selected file (vs. the contents of the currently open file). NIB/XIB files don&#8217;t open within Xcode, so here&#8217;s the next best thing. Create a User Script with Input and Directory both set to &#8220;Selection&#8221;, and Output/Errors set to taste. I called my script &#8220;Convert NIB/XIB to Objective-C&#8221;. (My apologies in advance if this isn&#8217;t formatted well in the comments!)</p>
<p>#! /bin/sh<br />
#<br />
# Converts a NIB or XIB to Objective-C</p>
<p>FILE=`%%%{PBXUtilityScriptsPath}%%%/AskUserForExistingFileDialog &#8220;Choose a NIB or XIB to convert to Objective-C&#8221;`<br />
cat &lt;&lt;EOT<br />
/*<br />
 * nib2objc &#8211; NIB/XIB to Objective-C Converter<br />
 * <a href="http://kosmaczewski.net/2009/03/17/nib2objc/" rel="nofollow">http://kosmaczewski.net/2009/03/17/nib2objc/</a><br />
 * Source: {$FILE}<br />
 */<br />
EOT<br />
/path/to/nib2objc &#8220;$FILE&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://akosma.com/2009/03/17/nib2objc/comment-page-1/#comment-57</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Wed, 24 Jun 2009 14:22:13 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/?p=1459#comment-57</guid>
		<description>Glad that you like the project :)
As for the integration with Xcode, maybe using AppleScript? I admit I haven&#039;t tried, it&#039;s a good idea though.</description>
		<content:encoded><![CDATA[<p>Glad that you like the project <img src='http://akosma.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
As for the integration with Xcode, maybe using AppleScript? I admit I haven&#8217;t tried, it&#8217;s a good idea though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://akosma.com/2009/03/17/nib2objc/comment-page-1/#comment-56</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Wed, 24 Jun 2009 14:04:53 +0000</pubDate>
		<guid isPermaLink="false">http://kosmaczewski.net/?p=1459#comment-56</guid>
		<description>Bravo! I am tired of the back-and-forth between &quot;Use IB&quot; and &quot;Use Xcode&quot;. I appreciate both methods, and this utility bridges the two nicely.

Q: Is there a graceful, easy way to incorporate this into Xcode? For instance, I can imagine wanting to control-click on a NIB/XIB file and selecting &quot;Generate Objective-C&quot; ... with the results appearing in a new window or even via one&#039;s preferred text editor.</description>
		<content:encoded><![CDATA[<p>Bravo! I am tired of the back-and-forth between &#8220;Use IB&#8221; and &#8220;Use Xcode&#8221;. I appreciate both methods, and this utility bridges the two nicely.</p>
<p>Q: Is there a graceful, easy way to incorporate this into Xcode? For instance, I can imagine wanting to control-click on a NIB/XIB file and selecting &#8220;Generate Objective-C&#8221; &#8230; with the results appearing in a new window or even via one&#8217;s preferred text editor.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.340 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-03-11 11:50:17 -->
