<?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/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	
	>
<channel>
	<title>
	Comments on: Core Data Objects in Wrong Sections	</title>
	<atom:link href="https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/feed/" rel="self" type="application/rss+xml" />
	<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/</link>
	<description>Creative Thinking, Clear Engineering</description>
	<lastBuildDate>Wed, 24 May 2023 18:57:16 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.2.9</generator>
	<item>
		<title>
		By: Pedro		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-79089</link>

		<dc:creator><![CDATA[Pedro]]></dc:creator>
		<pubDate>Wed, 18 Jul 2018 22:37:09 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-79089</guid>

					<description><![CDATA[Even though this is an old post, and in ObjC rather then Swift it just saved me from a couple hours of headache 
Thanks a lot]]></description>
			<content:encoded><![CDATA[<p>Even though this is an old post, and in ObjC rather then Swift it just saved me from a couple hours of headache<br />
Thanks a lot</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ned		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-78623</link>

		<dc:creator><![CDATA[Ned]]></dc:creator>
		<pubDate>Thu, 30 Mar 2017 19:24:08 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-78623</guid>

					<description><![CDATA[Thanks!]]></description>
			<content:encoded><![CDATA[<p>Thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: PRAJWAL AS		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-78616</link>

		<dc:creator><![CDATA[PRAJWAL AS]]></dc:creator>
		<pubDate>Sun, 12 Mar 2017 16:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-78616</guid>

					<description><![CDATA[Thanks so much. I was struggling with this section info keypath issue for more than a week. 
Its kind of illogical by Apple that even after mentioning group by section names, it is grouping objects in wrong sections. Adding an extra sort key fixed for me.]]></description>
			<content:encoded><![CDATA[<p>Thanks so much. I was struggling with this section info keypath issue for more than a week.<br />
Its kind of illogical by Apple that even after mentioning group by section names, it is grouping objects in wrong sections. Adding an extra sort key fixed for me.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Greg Kerzhner		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-77654</link>

		<dc:creator><![CDATA[Greg Kerzhner]]></dc:creator>
		<pubDate>Sat, 20 Feb 2016 01:54:32 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-77654</guid>

					<description><![CDATA[Yep, saved my ass too.  Thanks!]]></description>
			<content:encoded><![CDATA[<p>Yep, saved my ass too.  Thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: peter		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-76905</link>

		<dc:creator><![CDATA[peter]]></dc:creator>
		<pubDate>Fri, 28 Aug 2015 18:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-76905</guid>

					<description><![CDATA[Thanks, this was EXTREMELY useful.

 &#062; If this **sectionNameKeyPath** is not the same as that specified by the **first sort descriptor** in fetchRequest, they **must** generate the **same relative orderings**. For example, the first sort descriptor in fetchRequest might specify the key for a persistent property; sectionNameKeyPath might specify a key for a transient property derived from the persistent property.]]></description>
			<content:encoded><![CDATA[<p>Thanks, this was EXTREMELY useful.</p>
<p> &gt; If this **sectionNameKeyPath** is not the same as that specified by the **first sort descriptor** in fetchRequest, they **must** generate the **same relative orderings**. For example, the first sort descriptor in fetchRequest might specify the key for a persistent property; sectionNameKeyPath might specify a key for a transient property derived from the persistent property.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anonymous		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-57962</link>

		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Tue, 17 Feb 2015 10:42:43 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-57962</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-1721&quot;&gt;Richard Warrender&lt;/a&gt;.

How can we give custom section names without having the &quot;type&quot; attribute]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-1721">Richard Warrender</a>.</p>
<p>How can we give custom section names without having the &#8220;type&#8221; attribute</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mariano Donati		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-46636</link>

		<dc:creator><![CDATA[Mariano Donati]]></dc:creator>
		<pubDate>Sun, 28 Dec 2014 20:41:53 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-46636</guid>

					<description><![CDATA[Thanks man! This was driving me crazy. You saved my day. Thanks for taking the time to post and help others.]]></description>
			<content:encoded><![CDATA[<p>Thanks man! This was driving me crazy. You saved my day. Thanks for taking the time to post and help others.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Moose		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7496</link>

		<dc:creator><![CDATA[Moose]]></dc:creator>
		<pubDate>Mon, 27 May 2013 03:23:12 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-7496</guid>

					<description><![CDATA[Thanks man!  This was driving me crazy.  Glad I found you post.  Saved me a ton of time!]]></description>
			<content:encoded><![CDATA[<p>Thanks man!  This was driving me crazy.  Glad I found you post.  Saved me a ton of time!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: visiter		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7467</link>

		<dc:creator><![CDATA[visiter]]></dc:creator>
		<pubDate>Thu, 25 Apr 2013 04:12:07 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-7467</guid>

					<description><![CDATA[Thank you man]]></description>
			<content:encoded><![CDATA[<p>Thank you man</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Hasan		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7385</link>

		<dc:creator><![CDATA[Hasan]]></dc:creator>
		<pubDate>Tue, 15 Jan 2013 12:03:42 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-7385</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7366&quot;&gt;Core Data Objects in Wrong Sections &#124; sayem khan / blog&lt;/a&gt;.

Thanx so much]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7366">Core Data Objects in Wrong Sections | sayem khan / blog</a>.</p>
<p>Thanx so much</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Core Data Objects in Wrong Sections &#124; sayem khan / blog		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7366</link>

		<dc:creator><![CDATA[Core Data Objects in Wrong Sections &#124; sayem khan / blog]]></dc:creator>
		<pubDate>Mon, 24 Dec 2012 02:17:33 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-7366</guid>

					<description><![CDATA[[...] Also a post on this: &#8220;Core Data Objects in Wrong Sections&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Also a post on this: &#8220;Core Data Objects in Wrong Sections&#8221; [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tranz		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7363</link>

		<dc:creator><![CDATA[Tranz]]></dc:creator>
		<pubDate>Tue, 18 Dec 2012 11:08:26 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-7363</guid>

					<description><![CDATA[Wow! you really save my day!]]></description>
			<content:encoded><![CDATA[<p>Wow! you really save my day!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anastasia		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7359</link>

		<dc:creator><![CDATA[Anastasia]]></dc:creator>
		<pubDate>Tue, 04 Dec 2012 20:51:16 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-7359</guid>

					<description><![CDATA[Thanks. Saved my night.]]></description>
			<content:encoded><![CDATA[<p>Thanks. Saved my night.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pyraego		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7018</link>

		<dc:creator><![CDATA[Pyraego]]></dc:creator>
		<pubDate>Tue, 19 Jun 2012 20:29:19 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-7018</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7016&quot;&gt;Richard Warrender&lt;/a&gt;.

Got it working!! Ended up returning nil for that method. Thanks for all the help. You can delete the previous post if you want. Sorry for posting it &quot;anonymous&quot;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7016">Richard Warrender</a>.</p>
<p>Got it working!! Ended up returning nil for that method. Thanks for all the help. You can delete the previous post if you want. Sorry for posting it &#8220;anonymous&#8221;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anonymous		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7017</link>

		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Tue, 19 Jun 2012 19:45:22 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-7017</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7016&quot;&gt;Richard Warrender&lt;/a&gt;.

AHA yes! Just searched that method and found it in &quot;CoreDataTableViewController&quot;. Now I just need to figure out how to remove this. This file is a template I found when going through core-data tutorials.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7016">Richard Warrender</a>.</p>
<p>AHA yes! Just searched that method and found it in &#8220;CoreDataTableViewController&#8221;. Now I just need to figure out how to remove this. This file is a template I found when going through core-data tutorials.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Richard Warrender		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7016</link>

		<dc:creator><![CDATA[Richard Warrender]]></dc:creator>
		<pubDate>Tue, 19 Jun 2012 11:56:55 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-7016</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7015&quot;&gt;Pyraego&lt;/a&gt;.

Hi Pyraego, you must have implemented - (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView in your UITableViewDataSource?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7015">Pyraego</a>.</p>
<p>Hi Pyraego, you must have implemented &#8211; (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView in your UITableViewDataSource?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pyraego		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-7015</link>

		<dc:creator><![CDATA[Pyraego]]></dc:creator>
		<pubDate>Mon, 18 Jun 2012 14:08:11 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-7015</guid>

					<description><![CDATA[How do you not show the &quot;quick search index sidebar&quot; on the right of the screen? When ever is set &quot;sectionNameKeyPath&quot; i get the first letter capitalized with a scroll bar. Noticed yours doesn&#039;t have this.

Thanks in advanced!]]></description>
			<content:encoded><![CDATA[<p>How do you not show the &#8220;quick search index sidebar&#8221; on the right of the screen? When ever is set &#8220;sectionNameKeyPath&#8221; i get the first letter capitalized with a scroll bar. Noticed yours doesn&#8217;t have this.</p>
<p>Thanks in advanced!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dave		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-6999</link>

		<dc:creator><![CDATA[Dave]]></dc:creator>
		<pubDate>Tue, 15 May 2012 20:16:11 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-6999</guid>

					<description><![CDATA[THANK YOU!  Had already wasted 2h on this when I came across your explanation.  Many, many thanks.]]></description>
			<content:encoded><![CDATA[<p>THANK YOU!  Had already wasted 2h on this when I came across your explanation.  Many, many thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ST		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-3028</link>

		<dc:creator><![CDATA[ST]]></dc:creator>
		<pubDate>Wed, 29 Jun 2011 11:14:53 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-3028</guid>

					<description><![CDATA[Thanks a lot, that saved me a lot of time. It&#039;s logical once you know it!]]></description>
			<content:encoded><![CDATA[<p>Thanks a lot, that saved me a lot of time. It&#8217;s logical once you know it!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Richard Warrender		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-2520</link>

		<dc:creator><![CDATA[Richard Warrender]]></dc:creator>
		<pubDate>Wed, 27 Apr 2011 10:13:08 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-2520</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-2519&quot;&gt;Denis&lt;/a&gt;.

I&#039;m glad I could help Denis. I&#039;m trying to jot down as many of these little gotchas as I encounter them.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-2519">Denis</a>.</p>
<p>I&#8217;m glad I could help Denis. I&#8217;m trying to jot down as many of these little gotchas as I encounter them.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Denis		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-2519</link>

		<dc:creator><![CDATA[Denis]]></dc:creator>
		<pubDate>Wed, 27 Apr 2011 09:52:06 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-2519</guid>

					<description><![CDATA[Thanks. Saved my day. :-) Well written and logical once you think about it.]]></description>
			<content:encoded><![CDATA[<p>Thanks. Saved my day. :-) Well written and logical once you think about it.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Richard Warrender		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-1721</link>

		<dc:creator><![CDATA[Richard Warrender]]></dc:creator>
		<pubDate>Fri, 11 Feb 2011 18:41:46 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-1721</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-1624&quot;&gt;AD&lt;/a&gt;.

Hi AD,

Fruit and Vegetables are values of the type property you&#039;d create on the entity.

So with the RWFruit entity that I&#039;ve got in my example, it has a type property and a name property. All the fruits have the type set to &quot;Fruit&quot; and all the vegetables have the  the type set to &quot;Vegetable&quot;. Then you set the sectionKeyPath to &quot;type&quot; and it will group all the objects that have matching types.

Hope that helps explain it, I might upload an example project if it helps.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-1624">AD</a>.</p>
<p>Hi AD,</p>
<p>Fruit and Vegetables are values of the type property you&#8217;d create on the entity.</p>
<p>So with the RWFruit entity that I&#8217;ve got in my example, it has a type property and a name property. All the fruits have the type set to &#8220;Fruit&#8221; and all the vegetables have the  the type set to &#8220;Vegetable&#8221;. Then you set the sectionKeyPath to &#8220;type&#8221; and it will group all the objects that have matching types.</p>
<p>Hope that helps explain it, I might upload an example project if it helps.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: AD		</title>
		<link>https://richardwarrender.com/2010/10/core-data-objects-in-wrong-sections/#comment-1624</link>

		<dc:creator><![CDATA[AD]]></dc:creator>
		<pubDate>Sat, 29 Jan 2011 14:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://richardwarrender.com/?p=213#comment-1624</guid>

					<description><![CDATA[Where are the section headers &quot;Fruit&quot; and &quot;Vegetable&quot; coming from?

How do you set up the relationship between a manually created section header and a core data entity?

Thanks]]></description>
			<content:encoded><![CDATA[<p>Where are the section headers &#8220;Fruit&#8221; and &#8220;Vegetable&#8221; coming from?</p>
<p>How do you set up the relationship between a manually created section header and a core data entity?</p>
<p>Thanks</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Minified using Disk
Database Caching using Memcached (Request-wide modification query)

Served from: richardwarrender.com @ 2026-04-30 05:32:58 by W3 Total Cache
-->