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

Delay with animation of securing text #7

Open
msbouchedid opened this issue Apr 16, 2020 · 1 comment
Open

Delay with animation of securing text #7

msbouchedid opened this issue Apr 16, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@msbouchedid
Copy link

Can we make the 500 milliseconds configurable??

// secure text after a bit
DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(500), execute: {
if !(textField.text?.isEmpty ?? true) {
placeholderLabel.isHidden = true
if self.shouldSecureText { textField.text = self.secureCharacter }
}
})

@Sunspension
Copy link
Owner

@msbouchedid Hi, sorry for some delay with answer, yes we can do that.

@Sunspension Sunspension added the enhancement New feature or request label Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants