CoreData mutableSetValueForKey does NOT return a NSMutableSet
CoreData mutableSetValueForKey does NOT return a NSMutableSet
- Subject: CoreData mutableSetValueForKey does NOT return a NSMutableSet
- From: Steve Israelson <email@hidden>
- Date: Fri, 8 Jun 2007 09:53:20 -0700
I am trying to get a count of items in a to many relationship after
filtering.
I didn't see a way to use a fetch request to do this, so I figured I
could call mutableSetValueForKey to get the items and then call
allObjects on that set to get an array and then call
filteredArrayUsingPredicate to filter it.
But, for some reason the set returned does not respond to allObjects
since it is not a member of the NSSet class but some other private
class.
Is this a know issue?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden