Releases: kizitonwose/CountryPickerView
Releases · kizitonwose/CountryPickerView
2.2.1
- Add
CPVCountry
typealias which should be used if a project already has aCountry
class or struct to avoid conflicts. - Fix country search logic.
- Add delegate methods for customizing cell label and section title label colors.
- Make
CountryPickerViewController
public to ease customization. - Change the way
xib
files are packaged so the framework can be used as a static library.
2.2.0
- Add
CountryPickerViewDataSource
methods for cell configuration:func sectionTitleLabelFont(in countryPickerView: CountryPickerView) -> UIFont
func cellLabelFont(in countryPickerView: CountryPickerView) -> UIFont
func cellImageViewSize(in countryPickerView: CountryPickerView) -> CGSize
func cellImageViewCornerRadius(in countryPickerView: CountryPickerView) -> CGFloat
- Set default corner radius value to
2
. - Upgrade to Swift 4.2.
2.1.1
- Fix an issue where the search bar goes off screen sometimes.
- Add
willShow
anddidShow
methods to CountryPickerViewDelegate.
2.1.0
- Added default protocol implementations for
CountryPickerViewDataSource
- The following
CountryPickerViewDataSource
methods no longer return optional values:- preferredCountries(in:)
- showOnlyPreferredSection(in:)
- showPhoneCodeInList(in:)
2.0.0
Upgrade to swift 4.0
1.0.0
Initial release.