GCCountryPickerViewController
public final class GCCountryPickerViewController: UITableViewController
The GCCountryPickerViewController class defines a view controller containing a country picker interface.
By default, the country picker interface displays the 249 countries that have been officially assigned ISO 3166-1 alpha-2 country codes as part of the ISO 3166 standard. You can customize which countries the country picker interface displays by setting the data source property and adopting the GCCountryPickerDataSource protocol.
-
The object that acts as the delegate of the country picker view controller.
Declaration
Swift
public var delegate: GCCountryPickerDelegate?
-
The object that acts as the data source of the country picker view controller.
Declaration
Swift
public var dataSource: GCCountryPickerDataSource?
-
Initializes and returns a newly allocated country picker view controller object.
Declaration
Swift
public init(displayMode: GCCountryPickerDisplayMode)
Parameters
displayMode
The display mode for the country picker.
Return Value
An initialized country picker view controller object.