rsattar / CLTokenInputView

A replica of iOS's native contact bubbles UI
MIT License
504 stars 127 forks source link

Separate by comma #4

Closed mergesort closed 8 years ago

mergesort commented 9 years ago

If I type jeff,, it'd be great if CLTokenInputView had the option to separate on that delimiter, not just return. Otherwise, people type jeff, and hit enter, and are left with jeff, in the token view.

rsattar commented 8 years ago

Done! Added support for this in 2.2.0.

To do this, basically:

self.tokenInputView.tokenizationCharacters = [NSSet setWithArray:@[@","]];