Skip to content

Remove constants and expose styling #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

dmorrow
Copy link

@dmorrow dmorrow commented Dec 15, 2016

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
Copy link
Author

dmorrow commented Dec 27, 2016

@rsattar Any thoughts?

@mciarlo
Copy link

mciarlo commented Jan 26, 2017

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

@PlayDevelop
Copy link

Would also love to see this merged.

@mindgrub-rkoch
Copy link

Any chance this can get merged in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants