mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
c6d44e59e2
- Using same clang format file for old and new files. - Moving out all TextSecure code to allow other clients (OS X, iOS) to integrate easily TextSecure functionality. - Use TextSecure API to signup.
24 lines
867 B
Objective-C
24 lines
867 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, UISearchDisplayDelegate>
|
|
|
|
@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;
|
|
|
|
@end
|