mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
23 lines
754 B
Objective-C
23 lines
754 B
Objective-C
#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>
|
|
|
|
@property (nonatomic, strong) IBOutlet UITableView *countryCodeTableView;
|
|
@property (nonatomic, strong) IBOutlet UISearchBar *searchBar;
|
|
@property (nonatomic, assign) id<CountryCodeViewControllerDelegate> delegate;
|
|
|
|
- (IBAction)cancelTapped:(id)sender;
|
|
|
|
@end
|