A learning-by-doing UITextField extension written in Swift