Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with latest original repo 0.8.0 #2

Open
wants to merge 52 commits into
base: master
Choose a base branch
from

Conversation

LuisLopes94
Copy link
Collaborator

No description provided.

Aurélien Grifasi and others added 30 commits May 20, 2019 10:23
Added 'weak' in front of 'var delegate: FPNDelegate?' to prevent a possible retain cycle
When using an instance of FPNTextField() eg. let phoneNumberTextField = FPNTextField(), you may want to save the code, name, and phoneCode to the db for future reference. In addition to having the user's phone number, declaring these as public gives you easy access to them once a selection is made inside the phoneNumberTextField

eg

phoneNumberTextField.set(phoneNumber: 1-212-555-1212)

let countryName = phoneNumberTextField.selectedCountry?.name // save the name of the user's country code US
let countryCode = phoneNumberTextField.selectedCountry?.code.rawValue //  save the name of the user's country United States
let phoneDialCode = phoneNumberTextField.selectedCountry?.phoneCode // save the prefix code +1
Replaced the FlagPhoneNumberTextField to FPNTextField
🔧 Changes minimum deployment target
@LuisLopes94 LuisLopes94 changed the title Sync with latest original repo Sync with latest original repo 0.8.0 Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants