You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, this might not what you want for a PR, as it would always require a user to override both classes to customise the TIToken class. Other options are to:
Pass a dictionary of class mappings to TITokenFieldView that gets passed along to the TITokenField instance.
Add properties to the TITokenFieldView and TITokenField classes that specify the classes to use.
Add delegate methods that return either classes or, (mainly) in the case of TIToken return an instance, akin to -[UITableViewDataSource tableView:cellForRowAtIndexPath:].
If you can let me know if and how you would want this to be, then I will submit a PR for that.
The text was updated successfully, but these errors were encountered:
I’m looking at creating a PR to make customising the view classes more easy. For my personal requirements I’m going to start out by just adding:
However, this might not what you want for a PR, as it would always require a user to override both classes to customise the
TIToken
class. Other options are to:TITokenFieldView
that gets passed along to theTITokenField
instance.TITokenFieldView
andTITokenField
classes that specify the classes to use.TIToken
return an instance, akin to-[UITableViewDataSource tableView:cellForRowAtIndexPath:]
.If you can let me know if and how you would want this to be, then I will submit a PR for that.
The text was updated successfully, but these errors were encountered: