[FIX] UITextField Text Jumping Sideways

Posted on

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.  

Lowercase am/pm using NSDateFormatter Swift 3

Posted on

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.