mirror of
https://github.com/danog/Telegram.git
synced 2024-12-12 09:29:55 +01:00
24 lines
655 B
C
24 lines
655 B
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
|