<?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: Core Data Tutorial: Getting Started</title>
	<atom:link href="http://www.raywenderlich.com/934/core-data-tutorial-getting-started/feed" rel="self" type="application/rss+xml" />
	<link>http://www.raywenderlich.com/934/core-data-tutorial-getting-started</link>
	<description>Tutorials for iPhone / iOS Developers and Gamers</description>
	<lastBuildDate>Sun, 29 Jan 2012 06:07:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: liamk</title>
		<link>http://www.raywenderlich.com/934/core-data-tutorial-getting-started#comment-8192</link>
		<dc:creator>liamk</dc:creator>
		<pubDate>Thu, 23 Dec 2010 08:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.raywenderlich.com/?p=934#comment-8192</guid>
		<description>Just as a note if anyone else may have got stuck (like me) on the last step when we link the outlet to the navController.

If you control-drag &quot;FailedBankCD App Delegate&quot; into &quot;Navigation Controller&quot; and nothing happens, it&#039;s because the outlet hasn&#039;t been identified yet by the Interface Builder. To fix this, simply hit the Build&amp;Run button on Xcode, which will give you an error but force you to save the files you recently modified. You can ignore the error. After this, go back to the Interface Builder and try the control-drag procedure again, at which point you should now be able to do the last step.

Hope it helps.

--

Oh, and also thanks for a very well made Tutorial, Ray, I loved it :D</description>
		<content:encoded><![CDATA[<p>Just as a note if anyone else may have got stuck (like me) on the last step when we link the outlet to the navController.</p>
<p>If you control-drag &#8220;FailedBankCD App Delegate&#8221; into &#8220;Navigation Controller&#8221; and nothing happens, it&#8217;s because the outlet hasn&#8217;t been identified yet by the Interface Builder. To fix this, simply hit the Build&amp;Run button on Xcode, which will give you an error but force you to save the files you recently modified. You can ignore the error. After this, go back to the Interface Builder and try the control-drag procedure again, at which point you should now be able to do the last step.</p>
<p>Hope it helps.</p>
<p>&#8211;</p>
<p>Oh, and also thanks for a very well made Tutorial, Ray, I loved it :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jad</title>
		<link>http://www.raywenderlich.com/934/core-data-tutorial-getting-started#comment-8145</link>
		<dc:creator>Jad</dc:creator>
		<pubDate>Wed, 22 Dec 2010 03:19:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.raywenderlich.com/?p=934#comment-8145</guid>
		<description>Hi Ray,
Thanks for the great tutorial.  I do have one question relating to your response to an earlier question:

@Richard: Another strategy is to have your table view get the managedObjectContext from the Application Delegate, rather than the other way around.

Is there any chance you could show us how this is achieved?

Thanks again!</description>
		<content:encoded><![CDATA[<p>Hi Ray,<br />
Thanks for the great tutorial.  I do have one question relating to your response to an earlier question:</p>
<p>@Richard: Another strategy is to have your table view get the managedObjectContext from the Application Delegate, rather than the other way around.</p>
<p>Is there any chance you could show us how this is achieved?</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David DelMonte</title>
		<link>http://www.raywenderlich.com/934/core-data-tutorial-getting-started#comment-7816</link>
		<dc:creator>David DelMonte</dc:creator>
		<pubDate>Wed, 15 Dec 2010 20:26:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.raywenderlich.com/?p=934#comment-7816</guid>
		<description>Hi again, moving forward, I have two tables much as in your tutorial. I would appreciate help - my head is in a knot - trying to figure out how to make the link between the two tables.

Here, I&#039;m selecting a row:


	if(indexPath.section == 1){
		switch (indexPath.row) {
			case 0:
				cell.textLabel.text = @&quot;Present&quot;;
				cell.detailTextLabel.text = verb.name;
				break;
			case 1:	
				cell.textLabel.text = @&quot;Past Simple&quot;;
				cell.detailTextLabel.text = verb.simplePast;
				break;
			case 2:
				cell.textLabel.text = @&quot;Past Continuous&quot;;
				cell.detailTextLabel.text = verb.contPast;
				break;
			case 3:
				cell.textLabel.text = @&quot;Future Simple&quot;;
				cell.detailTextLabel.text = verb.simpleFuture;
				break;

and here, I&#039;m trying to use the row index to populate the next view:


		 // Create and push the Person view controller.
		 
	 PersonsViewController *personsViewController = [[PersonsViewController alloc] initWithStyle:UITableViewStyleGrouped];
	 Persons  *selectedPerson = (Persons  *)[[self fetchedResultsController] objectAtIndexPath:indexPath];
	 
		NSLog(@&quot;Section: %@&quot;, indexPath.row);
	 
	// Pass the selected person to the new view controller.
	 personsViewController.person = selectedPerson;
		 
	NSLog(@&quot;Person: %@&quot;, person );
		 
	 [self.navigationController pushViewController:personsViewController animated:YES];
	 [personsViewController release];

The NSLog test returns a null for person..

If this is not the right place to post this, please forgive me.. Brain damage...</description>
		<content:encoded><![CDATA[<p>Hi again, moving forward, I have two tables much as in your tutorial. I would appreciate help &#8211; my head is in a knot &#8211; trying to figure out how to make the link between the two tables.</p>
<p>Here, I&#8217;m selecting a row:</p>
<p>	if(indexPath.section == 1){<br />
		switch (indexPath.row) {<br />
			case 0:<br />
				cell.textLabel.text = @&#8221;Present&#8221;;<br />
				cell.detailTextLabel.text = verb.name;<br />
				break;<br />
			case 1:<br />
				cell.textLabel.text = @&#8221;Past Simple&#8221;;<br />
				cell.detailTextLabel.text = verb.simplePast;<br />
				break;<br />
			case 2:<br />
				cell.textLabel.text = @&#8221;Past Continuous&#8221;;<br />
				cell.detailTextLabel.text = verb.contPast;<br />
				break;<br />
			case 3:<br />
				cell.textLabel.text = @&#8221;Future Simple&#8221;;<br />
				cell.detailTextLabel.text = verb.simpleFuture;<br />
				break;</p>
<p>and here, I&#8217;m trying to use the row index to populate the next view:</p>
<p>		 // Create and push the Person view controller.</p>
<p>	 PersonsViewController *personsViewController = [[PersonsViewController alloc] initWithStyle:UITableViewStyleGrouped];<br />
	 Persons  *selectedPerson = (Persons  *)[[self fetchedResultsController] objectAtIndexPath:indexPath];</p>
<p>		NSLog(@&#8221;Section: %@&#8221;, indexPath.row);</p>
<p>	// Pass the selected person to the new view controller.<br />
	 personsViewController.person = selectedPerson;</p>
<p>	NSLog(@&#8221;Person: %@&#8221;, person );</p>
<p>	 [self.navigationController pushViewController:personsViewController animated:YES];<br />
	 [personsViewController release];</p>
<p>The NSLog test returns a null for person..</p>
<p>If this is not the right place to post this, please forgive me.. Brain damage&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bartosz</title>
		<link>http://www.raywenderlich.com/934/core-data-tutorial-getting-started#comment-7711</link>
		<dc:creator>Bartosz</dc:creator>
		<pubDate>Tue, 14 Dec 2010 11:14:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.raywenderlich.com/?p=934#comment-7711</guid>
		<description>Hey

It&#039;s a very useful article.

Do you know maybe how to add Core Data model file to a project using some Static Library? The thing is, that this Core Data model file, should be invisible for person, who is using this Static Lib?
thanks for help

cheers</description>
		<content:encoded><![CDATA[<p>Hey</p>
<p>It&#8217;s a very useful article.</p>
<p>Do you know maybe how to add Core Data model file to a project using some Static Library? The thing is, that this Core Data model file, should be invisible for person, who is using this Static Lib?<br />
thanks for help</p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David DelMonte</title>
		<link>http://www.raywenderlich.com/934/core-data-tutorial-getting-started#comment-7685</link>
		<dc:creator>David DelMonte</dc:creator>
		<pubDate>Tue, 14 Dec 2010 03:38:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.raywenderlich.com/?p=934#comment-7685</guid>
		<description>&quot;As far as the Simulator/Phone goes...&quot; 

Got it. Thanks again Ray.. That&#039;s why I need an desktop app to populate the app for distribution... hmmm..

I have one more question. I&#039;ve got my version of the CoreDataBooks app to work ok. I&#039;m having a hard time figuring how to add another level.

Using the CDB example, there is a root view and a detail view. But all items are in one table.

I have books, authors and shops.. 

a. Should I use three tables, as I would in mySQL, or XML or what..?

In the CDB example, it&#039;s easy to access the details by referring to the rootview.

How do you refer to top view elements from a subview, or from a separate table?

I really appreciate the help..

David

ps.. I will have about 2-400 top records, 1200-2400 detail records, and about 10 times that in lowest level records..</description>
		<content:encoded><![CDATA[<p>&#8220;As far as the Simulator/Phone goes&#8230;&#8221; </p>
<p>Got it. Thanks again Ray.. That&#8217;s why I need an desktop app to populate the app for distribution&#8230; hmmm..</p>
<p>I have one more question. I&#8217;ve got my version of the CoreDataBooks app to work ok. I&#8217;m having a hard time figuring how to add another level.</p>
<p>Using the CDB example, there is a root view and a detail view. But all items are in one table.</p>
<p>I have books, authors and shops.. </p>
<p>a. Should I use three tables, as I would in mySQL, or XML or what..?</p>
<p>In the CDB example, it&#8217;s easy to access the details by referring to the rootview.</p>
<p>How do you refer to top view elements from a subview, or from a separate table?</p>
<p>I really appreciate the help..</p>
<p>David</p>
<p>ps.. I will have about 2-400 top records, 1200-2400 detail records, and about 10 times that in lowest level records..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray Wenderlich</title>
		<link>http://www.raywenderlich.com/934/core-data-tutorial-getting-started#comment-7642</link>
		<dc:creator>Ray Wenderlich</dc:creator>
		<pubDate>Tue, 14 Dec 2010 00:37:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.raywenderlich.com/?p=934#comment-7642</guid>
		<description>@Vincent: Cool!  As far as connecting outlets goes, you might find this tutorial series helpful:

http://www.raywenderlich.com/1797/how-to-create-a-simple-iphone-app-tutorial-part-1

@Vaish: That&#039;s because the way the code is written, it inserts the test data every time the app is run.  So if it&#039;s already there, it will be added again.  If you don&#039;t want that behavior, you could modify it to check if it&#039;s there first before inserting or some such.

@David: As far as populating the database goes, you can either create a Mac app to import the data from whatever format you may have (another DB, XML file, etc.), which is the best way but also a good amount of work, or I have an alternative method described here:

http://www.raywenderlich.com/980/core-data-tutorial-how-to-preloadimport-existing-data

As far as the Simulator/Phone goes, they have completely different file systems and they are not synchronized, so any test data that you add to the Simulator will not appear on the iPhone (unless you included it in the app itself).

@Rene: Thanks so much for the kind words!  :]</description>
		<content:encoded><![CDATA[<p>@Vincent: Cool!  As far as connecting outlets goes, you might find this tutorial series helpful:</p>
<p><a href="http://www.raywenderlich.com/1797/how-to-create-a-simple-iphone-app-tutorial-part-1" rel="nofollow">http://www.raywenderlich.com/1797/how-to-create-a-simple-iphone-app-tutorial-part-1</a></p>
<p>@Vaish: That&#8217;s because the way the code is written, it inserts the test data every time the app is run.  So if it&#8217;s already there, it will be added again.  If you don&#8217;t want that behavior, you could modify it to check if it&#8217;s there first before inserting or some such.</p>
<p>@David: As far as populating the database goes, you can either create a Mac app to import the data from whatever format you may have (another DB, XML file, etc.), which is the best way but also a good amount of work, or I have an alternative method described here:</p>
<p><a href="http://www.raywenderlich.com/980/core-data-tutorial-how-to-preloadimport-existing-data" rel="nofollow">http://www.raywenderlich.com/980/core-data-tutorial-how-to-preloadimport-existing-data</a></p>
<p>As far as the Simulator/Phone goes, they have completely different file systems and they are not synchronized, so any test data that you add to the Simulator will not appear on the iPhone (unless you included it in the app itself).</p>
<p>@Rene: Thanks so much for the kind words!  :]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rene Pardon</title>
		<link>http://www.raywenderlich.com/934/core-data-tutorial-getting-started#comment-7604</link>
		<dc:creator>Rene Pardon</dc:creator>
		<pubDate>Mon, 13 Dec 2010 15:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.raywenderlich.com/?p=934#comment-7604</guid>
		<description>This is one of the best tutorials i&#039;ve ever seen.
Thank you for sharing this nice explanation. This helped me a lot, because i no longer have to use SQLite manually as i did before :)


regards
René</description>
		<content:encoded><![CDATA[<p>This is one of the best tutorials i&#8217;ve ever seen.<br />
Thank you for sharing this nice explanation. This helped me a lot, because i no longer have to use SQLite manually as i did before :)</p>
<p>regards<br />
René</p>
]]></content:encoded>
	</item>
</channel>
</rss>

