Create an Invalid Username and Password Animation in SwiftUI
Highlight and shake TextFields when wrong credentials are entered
Published in
3 min readJul 14, 2020
In this tutorial, we’ll be creating code to look at the number of login attempts just for the password field. It would be best if you didn’t let the user know which field has the wrong data. Instead, have both the username/email and password fields…