• 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
Object exclusion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Object exclusion


  • Subject: Object exclusion
  • From: "Marcus S. Zarra" <email@hidden>
  • Date: Sat, 3 Sep 2005 11:16:21 -0600

In Core Data, is there a way to exclude an object from a fetch?

For instance, I created a new object and I want to see if another
object already exists with the same "unique" field.  Right now I am
searching on that field and then looping through the results looking
for my new object to exclude it.

Is there an easy way to add this as a predicate to the fetch to avoid this loop?

Thanks,

Marcus
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Object exclusion
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: How to return a list from a script command
  • Next by Date: posting an event
  • Previous by thread: Re: How to return a list from a script command
  • Next by thread: Re: Object exclusion
  • Index(es):
    • Date
    • Thread