Displaying a progress indicator inside the NSSearchField field

I use NSSearchField to run a query over the Internet and display the results in a table. While the query is running, would I like to display a progress indicator inside the NSSearchField? I think I saw this in another application before.

Is there an open source component that I could use to accomplish this?

How should I do it? What is the best way? What are the pitfalls?

+5
source share
3 answers

- () . , z- . OS X, , , , , .

NSSearchField , Cocoa .

+1

UISearchFieldCell. , , . . , , , .

0

This is not my solution, but I ran into this question, and ended up finding someone who developed the solution, and it worked for me:

https://github.com/owainhunt/UAShared/blob/master/UAShared/NSSearchField%2BSpinner.m

0
source

All Articles