Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taktik/tktokenfield
An easily expandable drop-in replacement for NSTokenField that actually works
https://github.com/taktik/tktokenfield
Last synced: 8 days ago
JSON representation
An easily expandable drop-in replacement for NSTokenField that actually works
- Host: GitHub
- URL: https://github.com/taktik/tktokenfield
- Owner: taktik
- License: lgpl-2.1
- Created: 2015-06-16T12:36:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-01-30T11:27:47.000Z (almost 5 years ago)
- Last Synced: 2024-02-03T00:20:35.728Z (10 months ago)
- Language: Objective-C
- Size: 57.6 KB
- Stars: 7
- Watchers: 19
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TKTokenField
An easily expandable drop-in replacement for NSTokenField that actually worksNSTokenField is not easy to subclass. I spent days fighting against it, to end up with an unreliable solution. Until I came with the need to do completion in an asynchronous way... And I didn't know where to start.
I tried a radically different approach by recoding it from scratch. It works significally better and ended up being much faster to implement.
TODOs
* Support pasteboard delegates
* Support cocoapods
* TestsUsage
Drag a Text Field from IB library. The class of the text field must be set to TKTokenField, the cell class to TKTokenFieldCell. The rich text option of the NSTextField *MUST* be clicked.