What are the blue atomic groupings/tags in MacOS and iOS apps' text field controls called? And is it a standard OS feature?
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.
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
精彩评论