• 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
strange behavior with NSSearchfield
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strange behavior with NSSearchfield


  • Subject: strange behavior with NSSearchfield
  • From: Karim Morsy <email@hidden>
  • Date: Fri, 26 May 2006 00:52:48 +0200

Hi,

I have encountered some strange behavior in my search field.
the target of the search field is the data source of a table view that searches through the whole array of records for a given substring.
you have the options "Send whole search string" or "sends search string immediately" in Interface Builder.
when I activate "sends whole ..." the search starts as soon as I press enter. the search result gets displayed instantly.
now, when I set the check box for " send ..immediately" the search for the exact same string (a single character) takes surprisingly long, almost a second.
I've put logs at the beginning of the search action and in either case the data source is sent the action immediately... so
I'm really puzzled about what happens in the background of nssearchfield when "send.. immediately" is activated.
any ideas what might be going wrong here ?


thanks,
Karim
_______________________________________________
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


  • Prev by Date: Re: user-stoppable program
  • Next by Date: Question about dataFromPropertyList:format:errorDescription
  • Previous by thread: how do I find the contents of a NSSearchField in an array filled with custom objects?
  • Next by thread: Question about dataFromPropertyList:format:errorDescription
  • Index(es):
    • Date
    • Thread