Re: predicates and sort descriptors for NSFetchRequest - documentation is a bit vague

2011-12-14 Thread David Reed
On Dec 14, 2011, at 2:05 PM, Keary Suska wrote: > On Dec 14, 2011, at 11:07 AM, Dave Reed wrote: > >> Here's my sorting scenario with a few more details. >> >> Entity A (the one I'm fetching) has a to-one relation to Entity B with >> attribute b. Let's call the relation "tob" so my sort descri

Re: predicates and sort descriptors for NSFetchRequest - documentation is a bit vague

2011-12-14 Thread Keary Suska
On Dec 14, 2011, at 11:07 AM, Dave Reed wrote: > Here's my sorting scenario with a few more details. > > Entity A (the one I'm fetching) has a to-one relation to Entity B with > attribute b. Let's call the relation "tob" so my sort descriptor said > withKey:@"tob.b" and it results of the fetch

Re: predicates and sort descriptors for NSFetchRequest - documentation is a bit vague

2011-12-14 Thread Dave Reed
On Dec 14, 2011, at 12:32 PM, Keary Suska wrote: > On Dec 14, 2011, at 9:46 AM, davel...@mac.com wrote: > >> >> I have a fetch request with sort descriptors that was sorting on a many-one >> relationship (i.e., I'm fetching Entity A which has a relationship to one >> entity B and I was trying

Re: predicates and sort descriptors for NSFetchRequest - documentation is a bit vague

2011-12-14 Thread Keary Suska
On Dec 14, 2011, at 9:46 AM, davel...@mac.com wrote: > > I have a fetch request with sort descriptors that was sorting on a many-one > relationship (i.e., I'm fetching Entity A which has a relationship to one > entity B and I was trying to get back the array of A entities sorted on an > attrib

predicates and sort descriptors for NSFetchRequest - documentation is a bit vague

2011-12-14 Thread davelist
I have a fetch request with sort descriptors that was sorting on a many-one relationship (i.e., I'm fetching Entity A which has a relationship to one entity B and I was trying to get back the array of A entities sorted on an attribute of B). This doesn't work using sort descriptors; however, if