swift set textfield placeholder code example Example: uitextfield placeholder text textField.placeholder = "placeholderString"