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

NSSearchfield help


  • Subject: NSSearchfield help
  • From: email@hidden
  • Date: Thu, 10 Feb 2011 02:44:18 +0000

I have a NSTableView populated by an NSArrayController. Above the table, I have an NSToolbar, to which I would like add the ability to search. I have found a couple of examples of implementing search using an NSSearchField, but the two that I have found both display the results in a dropdown attached to the NSSearchField. I would like the table to display the results live as the user types characters. And when the search field is cleared, the table should repopulate with the original entries. First, is this even possible? I can't think of an application that even does this. If so, is there any sample code that demonstrates this?
Thanks
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please 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: NSSearchfield help
      • From: Dave Reed <email@hidden>
  • Prev by Date: Re: Initializing NSError **, again Re: CoreData Migration Problems
  • Next by Date: NSOutlineView + NSButtonCell weird bug
  • Previous by thread: Re: Core Data, NSTableView, Bindings, in code update problem
  • Next by thread: Re: NSSearchfield help
  • Index(es):
    • Date
    • Thread