use obj.valueForKey("relationshipName")
On Oct 25, 2007, at 1:20 PM, Calven Eggert wrote:
I'm using EOEnterpriseObject and so .toManyRelationship() would not
work unless I had a class for my currentRecord.
___
Do not post admin requests to th
On 25-Oct-07, at 1:15 PM, Chuck Hill wrote:
On Oct 24, 2007, at 8:32 PM, Calven Eggert wrote:
On 24-Oct-07, at 8:50 PM, Chuck Hill wrote:
On Oct 24, 2007, at 11:58 AM, Calven Eggert wrote:
I was fetching a list of records from a to-many relationship and
none of the records were being dis
I don't think that WORepetition uses iterator() so this should not be
the problem.
Chuck
On Oct 24, 2007, at 10:09 PM, Sam Barnum wrote:
There's a bug in NSArray (actually one of the subclasses) where if
you call iterator() it doesn't fire the fault. So the iterator is
empty. If you use
On Oct 24, 2007, at 8:32 PM, Calven Eggert wrote:
On 24-Oct-07, at 8:50 PM, Chuck Hill wrote:
On Oct 24, 2007, at 11:58 AM, Calven Eggert wrote:
I was fetching a list of records from a to-many relationship and
none of the records were being displayed in my WORepetition. My
fetch is a sim
There's a bug in NSArray (actually one of the subclasses) where if
you call iterator() it doesn't fire the fault. So the iterator is
empty. If you use the enumerator or call count() first, it does fire
the fault. I'd bet that's what is happening in this case.
--
Sam Barnum
360 Works
ht
On 24-Oct-07, at 8:50 PM, Chuck Hill wrote:
On Oct 24, 2007, at 11:58 AM, Calven Eggert wrote:
I was fetching a list of records from a to-many relationship and
none of the records were being displayed in my WORepetition. My
fetch is a simple valueForKey like so:
NSMutableArray toM
On Oct 24, 2007, at 11:58 AM, Calven Eggert wrote:
I was fetching a list of records from a to-many relationship and
none of the records were being displayed in my WORepetition. My
fetch is a simple valueForKey like so:
NSMutableArray toManyArray = (NSMutableArray)
currentRecord.va
I was fetching a list of records from a to-many relationship and none
of the records were being displayed in my WORepetition. My fetch is
a simple valueForKey like so:
NSMutableArray toManyArray = (NSMutableArray)
currentRecord.valueForKey("toManyRelationship");
Then I tried this f