Skip to content
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

Top and Bottom textfields auto cap and auto delete #12

Merged
merged 1 commit into from
Sep 3, 2016

Conversation

tuliot
Copy link
Owner

@tuliot tuliot commented Sep 3, 2016

What is this?

The text on top and bottom didn't default to all caps, and it didn't auto-delete when you tapped on the textfields

What did I do?

  • Made the EditorViewController the delegate for both textfields, and that makes sure that they clear on tap.
  • Set the autocapitalizationtype to AllCaps on both textfields
  • The TOP and BOTTOM text that initially gets set was not a placeholder, so it wouldn't come back if I edited the textfield and left it empty. Those are now placeholders, so they do come back.

Related Issues

#9 Auto Capitalize Text
#10 Auto Delete Text

@tuliot tuliot merged commit 79ea825 into master Sep 3, 2016
@tuliot tuliot deleted the capitalize-delete branch September 3, 2016 14:24
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.

1 participant