session-ios/Signal/src/view controllers/CountryCodeViewController.h

24 lines
863 B
C
Raw Normal View History

2014-05-06 19:41:08 +02:00
#import <UIKit/UIKit.h>
@class CountryCodeViewController;
@protocol CountryCodeViewControllerDelegate <NSObject>
- (void)countryCodeViewController:(CountryCodeViewController *)vc
didSelectCountryCode:(NSString *)code
forCountry:(NSString *)country;
- (void)countryCodeViewControllerDidCancel:(CountryCodeViewController *)vc;
@end
@interface CountryCodeViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, UISearchBarDelegate, UISearchDisplayDelegate>
2014-05-06 19:41:08 +02:00
@property (nonatomic, strong) IBOutlet UITableView *countryCodeTableView;
@property (nonatomic, strong) IBOutlet UISearchBar *searchBar;
@property (nonatomic, assign) id<CountryCodeViewControllerDelegate> delegate;
@property (nonatomic, strong) NSString* callingCodeSelected;
@property (nonatomic, strong) NSString* countryNameSelected;
2014-05-06 19:41:08 +02:00
@end