Add custom validation to UITextField with blocks