If you’ve ever noticed your ui text field jumping sideways when moving to the next UITextInput, you can use this snippet to stop the text from jumping. All you have to do is subclass a UITextField.
If you’re wondering how to make the AM and PM lowercase when using the DateFormatter or NSDateFormatter, you can set the properties formatter.amSymbol = “am” and formatter.pmSymbol = “pm”. Hopefully this quick little snippet helped someone! Happy Coding.