<?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>Commenti a: IPAD#002 &#8211; Setup di una &#8220;Universal App&#8221; view-based</title>
	<atom:link href="http://www.devapp.it/wordpress/ipad002-setup-di-una-universal-app-view-based.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.devapp.it/wordpress/ipad002-setup-di-una-universal-app-view-based.html</link>
	<description>Impara a programmare iPhone e iPad</description>
	<lastBuildDate>Thu, 26 Jan 2012 11:54:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Di: CIR</title>
		<link>http://www.devapp.it/wordpress/ipad002-setup-di-una-universal-app-view-based.html/comment-page-1#comment-17133</link>
		<dc:creator>CIR</dc:creator>
		<pubDate>Mon, 12 Sep 2011 10:53:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.devapp.it/wordpress/?p=3376#comment-17133</guid>
		<description>&lt;blockquote&gt;
&lt;a href=&quot;#comment-13208&quot; rel=&quot;nofollow&quot;&gt;
&lt;strong&gt;&lt;em&gt;gianlucasaroni:&lt;/em&gt;&lt;/strong&gt;
&lt;/a&gt;
 per quanto riguarda xcode4 come si risolve la cosa???
&lt;/blockquote&gt;
hai risolto? qualcuno ha risolto?</description>
		<content:encoded><![CDATA[<blockquote><p>
<a href="#comment-13208" rel="nofollow"><br />
<strong><em>gianlucasaroni:</em></strong><br />
</a><br />
 per quanto riguarda xcode4 come si risolve la cosa???
</p></blockquote>
<p>hai risolto? qualcuno ha risolto?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: gianlucasaroni</title>
		<link>http://www.devapp.it/wordpress/ipad002-setup-di-una-universal-app-view-based.html/comment-page-1#comment-13208</link>
		<dc:creator>gianlucasaroni</dc:creator>
		<pubDate>Tue, 12 Apr 2011 08:30:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.devapp.it/wordpress/?p=3376#comment-13208</guid>
		<description>per quanto riguarda xcode4 come si risolve la cosa???</description>
		<content:encoded><![CDATA[<p>per quanto riguarda xcode4 come si risolve la cosa???</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Antonio Giarrusso</title>
		<link>http://www.devapp.it/wordpress/ipad002-setup-di-una-universal-app-view-based.html/comment-page-1#comment-2076</link>
		<dc:creator>Antonio Giarrusso</dc:creator>
		<pubDate>Thu, 08 Jul 2010 07:49:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.devapp.it/wordpress/?p=3376#comment-2076</guid>
		<description>Per modificare dinamicamente il codice in base al dispositivo bisogna aggiungere nel _Prefix.pch:

#ifndef __IPHONE_3_2 // if iPhoneOS is 3.2 or greater then __IPHONE_3_2 will be defined
typedef enum { // provided by noblemaster ]:-&#124;
	UIUserInterfaceIdiomPhone, // iPhone and iPod touch style UI
	UIUserInterfaceIdiomPad, // iPad style UI
} UIUserInterfaceIdiom;
#define UI_USER_INTERFACE_IDIOM() (([[UIDevice currentDevice].model rangeOfString:@&quot;iPad&quot;].location != NSNotFound) ? UIUserInterfaceIdiomPad : UIUserInterfaceIdiomPhone)
#endif // ifndef __IPHONE_3_2 

Dopodichè nel file .m in cui si vuole effettuare un controllo sul dispositivo:

if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
		
	{
		
		// Il dispositivo è un iPad
	}
	
	else
		
	{
		//Il dispositivo è un iPhone/iPod
	}</description>
		<content:encoded><![CDATA[<p>Per modificare dinamicamente il codice in base al dispositivo bisogna aggiungere nel _Prefix.pch:</p>
<p>#ifndef __IPHONE_3_2 // if iPhoneOS is 3.2 or greater then __IPHONE_3_2 will be defined<br />
typedef enum { // provided by noblemaster ]:-|<br />
	UIUserInterfaceIdiomPhone, // iPhone and iPod touch style UI<br />
	UIUserInterfaceIdiomPad, // iPad style UI<br />
} UIUserInterfaceIdiom;<br />
#define UI_USER_INTERFACE_IDIOM() (([[UIDevice currentDevice].model rangeOfString:@&#8221;iPad&#8221;].location != NSNotFound) ? UIUserInterfaceIdiomPad : UIUserInterfaceIdiomPhone)<br />
#endif // ifndef __IPHONE_3_2 </p>
<p>Dopodichè nel file .m in cui si vuole effettuare un controllo sul dispositivo:</p>
<p>if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)</p>
<p>	{</p>
<p>		// Il dispositivo è un iPad<br />
	}</p>
<p>	else</p>
<p>	{<br />
		//Il dispositivo è un iPhone/iPod<br />
	}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Passare dalla programmazione iPhone a quella iPad, breve panoramica &#124; devAPP</title>
		<link>http://www.devapp.it/wordpress/ipad002-setup-di-una-universal-app-view-based.html/comment-page-1#comment-2057</link>
		<dc:creator>Passare dalla programmazione iPhone a quella iPad, breve panoramica &#124; devAPP</dc:creator>
		<pubDate>Tue, 06 Jul 2010 14:30:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.devapp.it/wordpress/?p=3376#comment-2057</guid>
		<description>[...] creare un&#8217;applicazione universale (Universal App) in grado di funzionare correttamente ed &#8220;adeguarsi&#8221; a seconda del dispositivo su cui è avviato. In questo caso, (mio preferito e credo più corretto), dovrete creare un&#8217;unico programma studiato sia per iPhone che per iPad (maggiori informazioni in questo articolo e un nostro tutorial in quest&#8217;altro) [...]</description>
		<content:encoded><![CDATA[<p>[...] creare un&#8217;applicazione universale (Universal App) in grado di funzionare correttamente ed &#8220;adeguarsi&#8221; a seconda del dispositivo su cui è avviato. In questo caso, (mio preferito e credo più corretto), dovrete creare un&#8217;unico programma studiato sia per iPhone che per iPad (maggiori informazioni in questo articolo e un nostro tutorial in quest&#8217;altro) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Ragazzetto</title>
		<link>http://www.devapp.it/wordpress/ipad002-setup-di-una-universal-app-view-based.html/comment-page-1#comment-1834</link>
		<dc:creator>Ragazzetto</dc:creator>
		<pubDate>Wed, 02 Jun 2010 08:27:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.devapp.it/wordpress/?p=3376#comment-1834</guid>
		<description>Scusa Luca !
Avevo confuso l autore :-)</description>
		<content:encoded><![CDATA[<p>Scusa Luca !<br />
Avevo confuso l autore <img src='http://www.devapp.it/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: tancro</title>
		<link>http://www.devapp.it/wordpress/ipad002-setup-di-una-universal-app-view-based.html/comment-page-1#comment-1833</link>
		<dc:creator>tancro</dc:creator>
		<pubDate>Wed, 02 Jun 2010 07:33:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.devapp.it/wordpress/?p=3376#comment-1833</guid>
		<description>quindi è possibile fare un solo codice per entrambe???
e avere poi le due interfaccie per iphone e pad...mmm bho non mi ci ritrovo...
forse vale solo per le app che hanno una versione solo graficamente adattata...</description>
		<content:encoded><![CDATA[<p>quindi è possibile fare un solo codice per entrambe???<br />
e avere poi le due interfaccie per iphone e pad&#8230;mmm bho non mi ci ritrovo&#8230;<br />
forse vale solo per le app che hanno una versione solo graficamente adattata&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: El Jobso</title>
		<link>http://www.devapp.it/wordpress/ipad002-setup-di-una-universal-app-view-based.html/comment-page-1#comment-1831</link>
		<dc:creator>El Jobso</dc:creator>
		<pubDate>Tue, 01 Jun 2010 20:15:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.devapp.it/wordpress/?p=3376#comment-1831</guid>
		<description>Ah... Adesso ho capito...</description>
		<content:encoded><![CDATA[<p>Ah&#8230; Adesso ho capito&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Ragazzetto</title>
		<link>http://www.devapp.it/wordpress/ipad002-setup-di-una-universal-app-view-based.html/comment-page-1#comment-1830</link>
		<dc:creator>Ragazzetto</dc:creator>
		<pubDate>Tue, 01 Jun 2010 19:45:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.devapp.it/wordpress/?p=3376#comment-1830</guid>
		<description>Grazie Andrea ! 
Molto molto utile !
Se posso aggiungere un dettaglio tra le altre cose sarà necessario anche inserire due icone distinte , una per iPhone 57x57 e una per iPad 72x72 
;-)</description>
		<content:encoded><![CDATA[<p>Grazie Andrea !<br />
Molto molto utile !<br />
Se posso aggiungere un dettaglio tra le altre cose sarà necessario anche inserire due icone distinte , una per iPhone 57&#215;57 e una per iPad 72&#215;72<br />
 <img src='http://www.devapp.it/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Luigi</title>
		<link>http://www.devapp.it/wordpress/ipad002-setup-di-una-universal-app-view-based.html/comment-page-1#comment-1829</link>
		<dc:creator>Luigi</dc:creator>
		<pubDate>Tue, 01 Jun 2010 14:30:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.devapp.it/wordpress/?p=3376#comment-1829</guid>
		<description>No si possono fare anche insieme.
A questo punto da quanto intuisco stesso discorso vale per gli altri xib che andremo a creare e che dovremmo utilizzare nella nostra app.
Giusto?</description>
		<content:encoded><![CDATA[<p>No si possono fare anche insieme.<br />
A questo punto da quanto intuisco stesso discorso vale per gli altri xib che andremo a creare e che dovremmo utilizzare nella nostra app.<br />
Giusto?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: El Jobso</title>
		<link>http://www.devapp.it/wordpress/ipad002-setup-di-una-universal-app-view-based.html/comment-page-1#comment-1827</link>
		<dc:creator>El Jobso</dc:creator>
		<pubDate>Tue, 01 Jun 2010 12:16:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.devapp.it/wordpress/?p=3376#comment-1827</guid>
		<description>Ah... Non pensavo che si potessero fare allora stesso tempo... Pensavo che si dovevano fare 2 progetti... Grazie per la guida!</description>
		<content:encoded><![CDATA[<p>Ah&#8230; Non pensavo che si potessero fare allora stesso tempo&#8230; Pensavo che si dovevano fare 2 progetti&#8230; Grazie per la guida!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.523 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-01-26 14:34:50 -->
<!-- Compression = gzip -->
