1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-12 09:29:55 +01:00
Telegram/Watch/Extension/TGContactsController.h

24 lines
655 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#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