How to add a maximum character count for multiple textfields + a function to block certain characters from being entered in a text field swift I have been trying to do two things: