• 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
Efficient interactive address book searches
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Efficient interactive address book searches


  • Subject: Efficient interactive address book searches
  • From: Nicko van Someren <email@hidden>
  • Date: Mon, 19 Jul 2004 13:58:12 +0100

Is there a straightforward way to make an ABSearchElement which matches a substring in ANY address book field? The methods for creating a search element for a person require a non-nil property to search in but if I for instance do a search in the Address Book application it matches substrings in the various name fields and in the parts of the address. I know I can make a whole stack of search elements and conjoin them with an "OR" operation but this both is very cumbersome and requires me to enumerate all the possible address book properties. Does anyone know if there is some special property which will match against all fields? Failing that, does anyone know how Address Book does it's interactive searches?

Cheers,
Nicko
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Efficient interactive address book searches
      • From: Yann Bizeul <email@hidden>
  • Prev by Date: Re: cocoa app from scratch
  • Next by Date: Re: Obj-C header-file becoming C header-file, & NSImage problem
  • Previous by thread: Ink Services
  • Next by thread: Re: Efficient interactive address book searches
  • Index(es):
    • Date
    • Thread