I have a few places where I’d like to have essentially an NSTextField with an 
auto-complete - but its not a combo-box. The closest I can come up with what 
I’m looking for is the Apple Calendar location field where it brings up a 
search auto-complete. A few things are that it looks like a standard text field 
and you can type any text you want, but you can also select something from the 
completion list. The completion list is also an attributed string or a table 
cell that lets us customize the look just like it:

https://www.dropbox.com/s/w61ztjlwzv414l6/Screenshot%202015-03-19%2015.47.05.png?dl=0

So what are my best options here? This also needs to work IN a Popover, so 
having a popover come under the text field doesn’t work either. I’ve looked at 
NSSearchField and this is not a search field. Its a suggestion box which is 
different both in its purpose and aesthetics.

I’m sure its just a simple “do this and this”. Maybe its just a text field with 
a NSTableView in my view that is hidden until its needed. That’s fine, but I 
want to make sure I’m doing it right. Thanks.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to