• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CoreData mutableSetValueForKey does NOT return a NSMutableSet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: CoreData mutableSetValueForKey does NOT return a NSMutableSet
      • From: mmalc Crawford <email@hidden>
  • Prev by Date: Re: StrokeColor in NSTextView
  • Next by Date: Re: CoreData mutableSetValueForKey does NOT return a NSMutableSet
  • Previous by thread: Re: StrokeColor in NSTextView
  • Next by thread: Re: CoreData mutableSetValueForKey does NOT return a NSMutableSet
  • Index(es):
    • Date
    • Thread