Skip to content

Commit

Permalink
Update podspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
kizitonwose committed Aug 2, 2020
1 parent 5cf0fbd commit d1d0649
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CountryPickerView.podspec
Original file line number Diff line number Diff line change
@@ -1,7 1,7 @@
Pod::Spec.new do |spec|

spec.name = "CountryPickerView"
spec.version = "3.1.2"
spec.version = "3.1.3"
spec.summary = "A simple, customizable view for selecting countries in iOS apps."
spec.homepage = "https://github.com/kizitonwose/CountryPickerView"
spec.license = "MIT"
Expand Down
6 changes: 3 additions & 3 deletions CountryPickerView/Delegate DataSource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 6,7 @@
// Copyright © 2018 Kizito Nwose. All rights reserved.
//

import Foundation
import UIKit

public protocol CountryPickerViewDelegate: class {
/// Called when the user selects a country from the list.
Expand Down Expand Up @@ -81,7 81,7 @@ public protocol CountryPickerViewDataSource: class {
func localeForCountryNameInList(in countryPickerView: CountryPickerView) -> Locale

/// An array of countries you wish to exclude from the list of countries.
func excludedCountriesInList(in countryPickerView: CountryPickerView) -> [Country]
func excludedCountries(in countryPickerView: CountryPickerView) -> [Country]
}

// MARK:- CountryPickerViewDataSource default implementations
Expand Down Expand Up @@ -151,7 151,7 @@ public extension CountryPickerViewDataSource {
return Locale.current
}

func excludedCountriesInList(in countryPickerView: CountryPickerView) -> [Country] {
func excludedCountries(in countryPickerView: CountryPickerView) -> [Country] {
return []
}
}
Expand Down

0 comments on commit d1d0649

Please sign in to comment.