mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 02:17:51 +01:00
24 lines
655 B
Objective-C
24 lines
655 B
Objective-C
#import "TGInterfaceController.h"
|
|
|
|
@class TGBridgeContext;
|
|
@class TGBridgeUser;
|
|
|
|
@interface TGContactsControllerContext : NSObject <TGInterfaceContext>
|
|
|
|
@property (nonatomic, strong) TGBridgeContext *context;
|
|
@property (nonatomic, readonly) NSString *query;
|
|
@property (nonatomic, copy) void (^completionBlock)(TGBridgeUser *user);
|
|
|
|
- (instancetype)initWithQuery:(NSString *)query;
|
|
|
|
@end
|
|
|
|
@interface TGContactsController : TGInterfaceController
|
|
|
|
@property (nonatomic, weak) IBOutlet WKInterfaceTable *table;
|
|
@property (nonatomic, weak) IBOutlet WKInterfaceImage *activityIndicator;
|
|
|
|
@property (nonatomic, weak) IBOutlet WKInterfaceLabel *alertLabel;
|
|
|
|
@end
|