<?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: Adding Core Data Existing iPhone Projects</title>
	<atom:link href="http://wiresareobsolete.com/wordpress/2009/12/adding-core-data-existing-iphone-projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://wiresareobsolete.com/wordpress/2009/12/adding-core-data-existing-iphone-projects/</link>
	<description>Achieving the goal of cutting the cord through mobile applications and accessories</description>
	<lastBuildDate>Sat, 15 Oct 2011 16:10:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: core wires</title>
		<link>http://wiresareobsolete.com/wordpress/2009/12/adding-core-data-existing-iphone-projects/comment-page-1/#comment-112</link>
		<dc:creator>core wires</dc:creator>
		<pubDate>Sat, 03 Apr 2010 12:36:38 +0000</pubDate>
		<guid isPermaLink="false">http://wiresareobsolete.com/wordpress/?p=5#comment-112</guid>
		<description>[...] wires     Adding Core Data Existing iPhone Projects Wires Are ObsoleteCore Data is a very powerful framework that Apple provides to developers for persisting data in [...]</description>
		<content:encoded><![CDATA[<p>[...] wires     Adding Core Data Existing iPhone Projects Wires Are ObsoleteCore Data is a very powerful framework that Apple provides to developers for persisting data in [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prasanna</title>
		<link>http://wiresareobsolete.com/wordpress/2009/12/adding-core-data-existing-iphone-projects/comment-page-1/#comment-111</link>
		<dc:creator>Prasanna</dc:creator>
		<pubDate>Thu, 01 Apr 2010 09:21:45 +0000</pubDate>
		<guid isPermaLink="false">http://wiresareobsolete.com/wordpress/?p=5#comment-111</guid>
		<description>its cool man... tons of thanks</description>
		<content:encoded><![CDATA[<p>its cool man&#8230; tons of thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Normann</title>
		<link>http://wiresareobsolete.com/wordpress/2009/12/adding-core-data-existing-iphone-projects/comment-page-1/#comment-96</link>
		<dc:creator>Normann</dc:creator>
		<pubDate>Sat, 27 Mar 2010 10:41:34 +0000</pubDate>
		<guid isPermaLink="false">http://wiresareobsolete.com/wordpress/?p=5#comment-96</guid>
		<description>thanx alot!</description>
		<content:encoded><![CDATA[<p>thanx alot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://wiresareobsolete.com/wordpress/2009/12/adding-core-data-existing-iphone-projects/comment-page-1/#comment-90</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 24 Mar 2010 19:05:33 +0000</pubDate>
		<guid isPermaLink="false">http://wiresareobsolete.com/wordpress/?p=5#comment-90</guid>
		<description>Very good, well done!</description>
		<content:encoded><![CDATA[<p>Very good, well done!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno Watt</title>
		<link>http://wiresareobsolete.com/wordpress/2009/12/adding-core-data-existing-iphone-projects/comment-page-1/#comment-88</link>
		<dc:creator>Bruno Watt</dc:creator>
		<pubDate>Wed, 24 Mar 2010 06:01:55 +0000</pubDate>
		<guid isPermaLink="false">http://wiresareobsolete.com/wordpress/?p=5#comment-88</guid>
		<description>Brilliant! I was considering taking up smoking again to deal with working out what was needed. ;P

Thanks heaps Dave and all contributors here who saved me much agony!</description>
		<content:encoded><![CDATA[<p>Brilliant! I was considering taking up smoking again to deal with working out what was needed. ;P</p>
<p>Thanks heaps Dave and all contributors here who saved me much agony!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Conor Griffin</title>
		<link>http://wiresareobsolete.com/wordpress/2009/12/adding-core-data-existing-iphone-projects/comment-page-1/#comment-55</link>
		<dc:creator>Conor Griffin</dc:creator>
		<pubDate>Mon, 15 Feb 2010 19:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://wiresareobsolete.com/wordpress/?p=5#comment-55</guid>
		<description>Thanks Dave, I found the error though.  As I&#039;m still learning I had made a rookie mistake, but it might be useful for you to include in your instructions in case someone else does the same.

I had defined my ViewController with an @Class declaration in the AppDelegate.h file, but I had not instantiated it.  I was also missing the #import statement for my ViewController.h file at the beginning of my AppDelegate.m file.

So, when I tried to reference the ViewController.managedObjectContext as you described, the controller threw an error because it didn&#039;t know anything about it until I instantiated the class and imported its header file.

Was a tough bug to find but I think I&#039;m good to go now, at least I&#039;m compiling cleanly, we&#039;ll see how it goes once I start calling on objects.

Thanks again ;o)</description>
		<content:encoded><![CDATA[<p>Thanks Dave, I found the error though.  As I&#8217;m still learning I had made a rookie mistake, but it might be useful for you to include in your instructions in case someone else does the same.</p>
<p>I had defined my ViewController with an @Class declaration in the AppDelegate.h file, but I had not instantiated it.  I was also missing the #import statement for my ViewController.h file at the beginning of my AppDelegate.m file.</p>
<p>So, when I tried to reference the ViewController.managedObjectContext as you described, the controller threw an error because it didn&#8217;t know anything about it until I instantiated the class and imported its header file.</p>
<p>Was a tough bug to find but I think I&#8217;m good to go now, at least I&#8217;m compiling cleanly, we&#8217;ll see how it goes once I start calling on objects.</p>
<p>Thanks again ;o)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://wiresareobsolete.com/wordpress/2009/12/adding-core-data-existing-iphone-projects/comment-page-1/#comment-54</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 15 Feb 2010 15:05:10 +0000</pubDate>
		<guid isPermaLink="false">http://wiresareobsolete.com/wordpress/?p=5#comment-54</guid>
		<description>Hi Conor -

Those errors are referring to the managedObjectContext member of your View Controller; and I have two ideas:

1. Make sure that @synthesize managedObjectContext is in your ViewController.m file.  This is the call that creates the setter methods, and may have been missed.

2. Make sure that when you defined managedObjectContext in the ViewController.h with @property that it wasn&#039;t defined with a &quot;readonly&quot; attribute.  I mention this because the object in AppDelegate IS defined as readonly, so there may be confusion there.

Hope one of those helps!</description>
		<content:encoded><![CDATA[<p>Hi Conor -</p>
<p>Those errors are referring to the managedObjectContext member of your View Controller; and I have two ideas:</p>
<p>1. Make sure that @synthesize managedObjectContext is in your ViewController.m file.  This is the call that creates the setter methods, and may have been missed.</p>
<p>2. Make sure that when you defined managedObjectContext in the ViewController.h with @property that it wasn&#8217;t defined with a &#8220;readonly&#8221; attribute.  I mention this because the object in AppDelegate IS defined as readonly, so there may be confusion there.</p>
<p>Hope one of those helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Conor Griffin</title>
		<link>http://wiresareobsolete.com/wordpress/2009/12/adding-core-data-existing-iphone-projects/comment-page-1/#comment-52</link>
		<dc:creator>Conor Griffin</dc:creator>
		<pubDate>Mon, 15 Feb 2010 01:30:58 +0000</pubDate>
		<guid isPermaLink="false">http://wiresareobsolete.com/wordpress/?p=5#comment-52</guid>
		<description>I should say that my app is a UITabBarController containing 3 separate view controllers</description>
		<content:encoded><![CDATA[<p>I should say that my app is a UITabBarController containing 3 separate view controllers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Conor Griffin</title>
		<link>http://wiresareobsolete.com/wordpress/2009/12/adding-core-data-existing-iphone-projects/comment-page-1/#comment-51</link>
		<dc:creator>Conor Griffin</dc:creator>
		<pubDate>Mon, 15 Feb 2010 01:17:46 +0000</pubDate>
		<guid isPermaLink="false">http://wiresareobsolete.com/wordpress/?p=5#comment-51</guid>
		<description>Hey Dave, great post.  I&#039;ve followed your instructions and I have run into a problem which I can&#039;t figure out the answer to.  Maybe it will be obvious to you.

As you recommended, I placed the line 

ViewController.managedObjectContext = self.managedObjectContext;

in the ApplicationDidFinishLaunching method of my Delegate, but I get the following error:

&quot;Accessing unknown &#039;setManagedObjectContext:&#039; class method&quot;
and
Object cannot be set - either readonly property or no setter found

If you&#039;ve any idea what is likely to cause this I&#039;d be very grateful for your help, thanks</description>
		<content:encoded><![CDATA[<p>Hey Dave, great post.  I&#8217;ve followed your instructions and I have run into a problem which I can&#8217;t figure out the answer to.  Maybe it will be obvious to you.</p>
<p>As you recommended, I placed the line </p>
<p>ViewController.managedObjectContext = self.managedObjectContext;</p>
<p>in the ApplicationDidFinishLaunching method of my Delegate, but I get the following error:</p>
<p>&#8220;Accessing unknown &#8216;setManagedObjectContext:&#8217; class method&#8221;<br />
and<br />
Object cannot be set &#8211; either readonly property or no setter found</p>
<p>If you&#8217;ve any idea what is likely to cause this I&#8217;d be very grateful for your help, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tobe</title>
		<link>http://wiresareobsolete.com/wordpress/2009/12/adding-core-data-existing-iphone-projects/comment-page-1/#comment-28</link>
		<dc:creator>tobe</dc:creator>
		<pubDate>Mon, 01 Feb 2010 11:37:37 +0000</pubDate>
		<guid isPermaLink="false">http://wiresareobsolete.com/wordpress/?p=5#comment-28</guid>
		<description>thanks for the tutorial and the comments. It helped me a lot</description>
		<content:encoded><![CDATA[<p>thanks for the tutorial and the comments. It helped me a lot</p>
]]></content:encoded>
	</item>
</channel>
</rss>

