 		return [space, doneButton]
 	}
 
-	// UITextFieldDelegate
+	// - UITextFieldDelegate
 	
 	public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
 		if string == "" && text == phoneCode {

		return true
	}
	
	public func textFieldDidEndEditing(_ textField: UITextField) {
		set(phoneNumber: textField.text!)
	}
	
	// CountryPickerDelegate

	public func countryPhoneCodePicker(_ picker: CountryPicker, didSelectCountryWithName name: String, countryCode: String, phoneCode: String, flag: UIImage) {
		self.phoneCode = phoneCode

		sendActions(for: .editingChanged)
	}

	// - CTKFlagPhoneNumberDelegate
	
	func didSelect(country: Country) {
		self.phoneCode = country.phoneCode
		self.countryCode = country.code
		
		flagButton.setImage(country.flag, for: .normal)
		text = phoneCode
		
		sendActions(for: .editingChanged)
	}
}
