|
@ -59,23 +59,24 @@ class KycForm1ViewController: UIViewController { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
struct StringConstants { |
|
|
struct StringConstants { |
|
|
let fullname = "full_name_text".localized() |
|
|
|
|
|
let fullnamePlaceholder = "full_name_placeholder_text".localized() |
|
|
|
|
|
let mobileNumber = "mobile_number_text".localized() |
|
|
|
|
|
let mobilePlaceholder = "mobile_number_placeholder_text".localized() |
|
|
|
|
|
let email = "email_text_optional".localized() |
|
|
|
|
|
let emailPlaceholder = "placeholder_enter_receiver_email_text".localized() |
|
|
|
|
|
let gender = "gender_text".localized() |
|
|
|
|
|
let genderPlacholder = "gender_placeholder_text".localized() |
|
|
|
|
|
let nativeCountry = "native_country_text".localized() |
|
|
|
|
|
let nativeCountryPlaceholder = "native_country_placeholder_text".localized() |
|
|
|
|
|
let addressInKorea = "address_in_korea_text".localized() |
|
|
|
|
|
let addressPlaceholder = "address_in_korea_text".localized() |
|
|
|
|
|
let province = "province_text".localized() |
|
|
|
|
|
let provincePlaceholder = "province_placeholder_text".localized() |
|
|
|
|
|
let occupation = "occupation_text".localized() |
|
|
|
|
|
let occupationPlaceholder = "occupation_placeholder_text".localized() |
|
|
|
|
|
let saveAndCoutinueText = "save_and_continue_text".localized() |
|
|
|
|
|
|
|
|
let fullname = "full_name_text".localized() |
|
|
|
|
|
let fullnamePlaceholder = "full_name_placeholder_text".localized() |
|
|
|
|
|
let mobileNumber = "mobile_number_text".localized() |
|
|
|
|
|
let mobilePlaceholder = "mobile_number_placeholder_text".localized() |
|
|
|
|
|
let email = "email_text_optional".localized() |
|
|
|
|
|
let emailPlaceholder = "placeholder_enter_receiver_email_text".localized() |
|
|
|
|
|
let gender = "gender_text".localized() |
|
|
|
|
|
let genderPlacholder = "gender_placeholder_text".localized() |
|
|
|
|
|
let nativeCountry = "native_country_text".localized() |
|
|
|
|
|
let nativeCountryPlaceholder = "native_country_placeholder_text".localized() |
|
|
|
|
|
let addressInKorea = "address_in_korea_text".localized() |
|
|
|
|
|
let addressPlaceholder = "address_in_korea_text".localized() |
|
|
|
|
|
let province = "province_text".localized() |
|
|
|
|
|
let provincePlaceholder = "province_placeholder_text".localized() |
|
|
|
|
|
let occupation = "occupation_text".localized() |
|
|
|
|
|
let occupationPlaceholder = "occupation_placeholder_text".localized() |
|
|
|
|
|
let saveAndCoutinueText = "save_and_continue_text".localized() |
|
|
|
|
|
let referralCode = "referral_code_text".localized() |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// MARK: IBOutlets |
|
|
// MARK: IBOutlets |
|
@ -120,6 +121,7 @@ class KycForm1ViewController: UIViewController { |
|
|
@IBOutlet weak var addressInKoreaTitleLabel: UILabel! |
|
|
@IBOutlet weak var addressInKoreaTitleLabel: UILabel! |
|
|
@IBOutlet weak var provinceTitleLabel: UILabel! |
|
|
@IBOutlet weak var provinceTitleLabel: UILabel! |
|
|
@IBOutlet weak var occupationTitleLabel: UILabel! |
|
|
@IBOutlet weak var occupationTitleLabel: UILabel! |
|
|
|
|
|
@IBOutlet weak var referralCodeTitleLabel: UILabel! |
|
|
|
|
|
|
|
|
@IBOutlet weak var saveAndContinue: UIButton! |
|
|
@IBOutlet weak var saveAndContinue: UIButton! |
|
|
|
|
|
|
|
@ -246,6 +248,7 @@ class KycForm1ViewController: UIViewController { |
|
|
self.addressInKoreaTitleLabel.text = StringConstants().addressInKorea |
|
|
self.addressInKoreaTitleLabel.text = StringConstants().addressInKorea |
|
|
self.provinceTitleLabel.text = StringConstants().province |
|
|
self.provinceTitleLabel.text = StringConstants().province |
|
|
self.occupationTitleLabel.text = StringConstants().occupation |
|
|
self.occupationTitleLabel.text = StringConstants().occupation |
|
|
|
|
|
self.referralCodeTitleLabel.text = StringConstants().referralCode |
|
|
self.saveAndContinue.setTitle(StringConstants().saveAndCoutinueText, for: UIControlState.normal) |
|
|
self.saveAndContinue.setTitle(StringConstants().saveAndCoutinueText, for: UIControlState.normal) |
|
|
|
|
|
|
|
|
self.firstNameTextField.placeholder = StringConstants().fullnamePlaceholder |
|
|
self.firstNameTextField.placeholder = StringConstants().fullnamePlaceholder |
|
|