Mail like search field with tokens (Mac OS X 10.7)

时光怂恿深爱的人放手 提交于 2019-12-06 01:31:38

问题


Is there a standard control for developers to get the search field behavior like in Mail (Mac OS X 10.7) to make advanced searches with tokens?

In Mail the tokens are used to visualize a search for a mail which for example was sent by a person with the name "Steve Jobs". I try to accomplish the same but in another context.


回答1:


What your looking for is called a token field. See the Token Field Programming Guide. (Also documented on the CocoaDev Wiki)



来源:https://stackoverflow.com/questions/8643690/mail-like-search-field-with-tokens-mac-os-x-10-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!