开发者

What are the blue atomic groupings/tags in MacOS and iOS apps' text field controls called? And is it a standard OS feature?

开发者 https://www.devze.com 2023-04-01 17:19 出处:网络
I have no idea how 开发者_运维技巧to call these and so I\'m having a hard time googling for it.I\'ve seen these a several times in iOS and MacOS apps to think they might be an OS feature.I\'m talking

I have no idea how 开发者_运维技巧to call these and so I'm having a hard time googling for it. I've seen these a several times in iOS and MacOS apps to think they might be an OS feature. I'm talking about the blue tags or groups in text field controls. See the images below.

What are the blue atomic groupings/tags in MacOS and iOS apps' text field controls called? And is it a standard OS feature?

What are the blue atomic groupings/tags in MacOS and iOS apps' text field controls called? And is it a standard OS feature?


That's an NSTokenField on Mac. On iOS there's no official implementation (file a request if you want one) so you'd have to go with a third-party implementation. If I remember correctly, the Three20 framework has one...

Googling found these iOS versions:

  • JSTokenField
  • TTMessageRecipientField (I think)


This helper class is SO much better... https://github.com/thermogl/TITokenFieldView

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号