<?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: Programar para Iphone desde tres. NSMutableArray. Nivel Luis Aragonés.</title>
	<atom:link href="http://www.iphonesoftware.es/2008/06/29/programar-para-iphone-desde-tres-nsmutablearray-nivel-luis-aragones/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iphonesoftware.es/2008/06/29/programar-para-iphone-desde-tres-nsmutablearray-nivel-luis-aragones/</link>
	<description>Novedades, noticias, artículos de programación</description>
	<lastBuildDate>Thu, 05 Jan 2012 21:06:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Patricia</title>
		<link>http://www.iphonesoftware.es/2008/06/29/programar-para-iphone-desde-tres-nsmutablearray-nivel-luis-aragones/comment-page-1/#comment-765</link>
		<dc:creator>Patricia</dc:creator>
		<pubDate>Tue, 31 May 2011 09:45:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonesoftware.es/?p=192#comment-765</guid>
		<description>Hola a todos!
os recordamos que tenéis a vuestra disposición un foro donde podéis plantear las dudas que tengáis:

http://www.iphonesoftware.es/foro/

Gracias!</description>
		<content:encoded><![CDATA[<p>Hola a todos!<br />
os recordamos que tenéis a vuestra disposición un foro donde podéis plantear las dudas que tengáis:</p>
<p><a href="http://www.iphonesoftware.es/foro/" rel="nofollow">http://www.iphonesoftware.es/foro/</a></p>
<p>Gracias!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas</title>
		<link>http://www.iphonesoftware.es/2008/06/29/programar-para-iphone-desde-tres-nsmutablearray-nivel-luis-aragones/comment-page-1/#comment-763</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Thu, 26 May 2011 16:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonesoftware.es/?p=192#comment-763</guid>
		<description>la verdad es que yo tambien tengo problemas con el path, no se como hacer para que en el terminal no se borre, alguna recomendacion?</description>
		<content:encoded><![CDATA[<p>la verdad es que yo tambien tengo problemas con el path, no se como hacer para que en el terminal no se borre, alguna recomendacion?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sniper</title>
		<link>http://www.iphonesoftware.es/2008/06/29/programar-para-iphone-desde-tres-nsmutablearray-nivel-luis-aragones/comment-page-1/#comment-434</link>
		<dc:creator>sniper</dc:creator>
		<pubDate>Fri, 04 Dec 2009 10:11:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonesoftware.es/?p=192#comment-434</guid>
		<description>Hola. Soy nuevo en esto. Estoy intentando probar este ejemplo pero no hay manera de que funcione. Cuando pulso añadir el programa se peta. Alguien lo ha exo funcionar? me podriais pasar el codigo para ver que hago mal.</description>
		<content:encoded><![CDATA[<p>Hola. Soy nuevo en esto. Estoy intentando probar este ejemplo pero no hay manera de que funcione. Cuando pulso añadir el programa se peta. Alguien lo ha exo funcionar? me podriais pasar el codigo para ver que hago mal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fpiquer</title>
		<link>http://www.iphonesoftware.es/2008/06/29/programar-para-iphone-desde-tres-nsmutablearray-nivel-luis-aragones/comment-page-1/#comment-424</link>
		<dc:creator>fpiquer</dc:creator>
		<pubDate>Tue, 01 Sep 2009 13:49:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonesoftware.es/?p=192#comment-424</guid>
		<description>Puedes indicarme el path para que no se borrre ¿?</description>
		<content:encoded><![CDATA[<p>Puedes indicarme el path para que no se borrre ¿?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.iphonesoftware.es/2008/06/29/programar-para-iphone-desde-tres-nsmutablearray-nivel-luis-aragones/comment-page-1/#comment-416</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 06 Aug 2009 15:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonesoftware.es/?p=192#comment-416</guid>
		<description>Creo que lo he solucionado...

En las primeras lineas de código de appdelegate.m pone:

//Cargamos los datos del fichero.
DATOS = [[NSMutableArray alloc] initWithContentsOfFile:@&quot;datos.txt&quot;];
//    DATOS = [[NSMutableArray alloc] init]; Asi se inicializaria normal.
 
pues si el archivo datos.txt no existe al iniciar el array con
DATOS = [[NSMutableArray alloc] initWithContentsOfFile:@&quot;datos.txt&quot;];
no inicia el array, por lo que no puedo darle el valor de ESTRUC.

entonces he añadido lo siguiente

DATOS = [[NSMutableArray alloc] initWithContentsOfFile:@&quot;datos.txt&quot;];
if (DATOS == nill)
{
DATOS = [[NSMutableArray alloc] init]; 
}

asi en caso de no tener ningún dato o no existir el fichero datos.txt inicializa de forma normal, y así si deja introducirle datos desde ESTRUC.</description>
		<content:encoded><![CDATA[<p>Creo que lo he solucionado&#8230;</p>
<p>En las primeras lineas de código de appdelegate.m pone:</p>
<p>//Cargamos los datos del fichero.<br />
DATOS = [[NSMutableArray alloc] initWithContentsOfFile:@&#8221;datos.txt&#8221;];<br />
//    DATOS = [[NSMutableArray alloc] init]; Asi se inicializaria normal.</p>
<p>pues si el archivo datos.txt no existe al iniciar el array con<br />
DATOS = [[NSMutableArray alloc] initWithContentsOfFile:@&#8221;datos.txt&#8221;];<br />
no inicia el array, por lo que no puedo darle el valor de ESTRUC.</p>
<p>entonces he añadido lo siguiente</p>
<p>DATOS = [[NSMutableArray alloc] initWithContentsOfFile:@&#8221;datos.txt&#8221;];<br />
if (DATOS == nill)<br />
{<br />
DATOS = [[NSMutableArray alloc] init];<br />
}</p>
<p>asi en caso de no tener ningún dato o no existir el fichero datos.txt inicializa de forma normal, y así si deja introducirle datos desde ESTRUC.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

