CalStorePickCountryViewController Class Reference
Inherits from | CalStoreBaseApiContentViewController : CalStoreBaseViewController : UIViewController |
---|---|
Declared in | CalStorePickCountryViewController.h |
Overview
ViewController that allows the user to pick a country from the list of countries supported by the store.
Warning: This is the Abstract Base Class of a Class Cluster. Creating an instance of this class will return a concrete implementation. On iOS6 and beyond, a collectionview based implementation is used, while on iOS5 a tableview based implementation is used.
Showing Cancel buttons
showsCancelButton
If YES, shows a cancel button which will dismiss or pop the viewcontroller. Defaults to YES.
@property (nonatomic, assign) BOOL showsCancelButton
Declared In
CalStorePickCountryViewController.h
Managing Selection
selectedCountryIso3166Code
The ISO3166 code that is selected.
@property (nonatomic, copy) NSString *selectedCountryIso3166Code
Declared In
CalStorePickCountryViewController.h
Responding to selection changes
selectionDidChangeCallback
Block callback that will be invoked on the main queue when the user selects a country.
@property (nonatomic, copy) CalStorePickCountryViewControllerCallback selectionDidChangeCallback
Discussion
Note: The callback is responsible for dismissing the view controller.
Declared In
CalStorePickCountryViewController.h