rsattar / CLTokenInputView

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

Remove constants and expose styling #44

Open dmorrow opened 7 years ago

dmorrow commented 7 years ago

I've exposed a number of properties on CLTokenInputView to enable better customization. All of the properties exposed were previous handled by constants. These include: padding (PADDING_*),fieldPadding, standardRowHeight, textFieldHSpace, linePadding (VSpace), minimumTextFieldWidth, tokenPadding

To allow for text styling without exposing the actual fields, there are now options for NSAttributedText attributes and NSAttributedStrings where needed. attributedFieldName, attributedPlaceholderText, defaultTextAttributes, selectedTextAttributes, placeholderTextAttributes

dmorrow commented 7 years ago

@rsattar Any thoughts?

mciarlo commented 7 years ago

Would love to see this get merged :) cc @rsattar

PlayDevelop commented 6 years ago

Would also love to see this merged.

mindgrub-rkoch commented 5 years ago

Any chance this can get merged in?