mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Added .gitignore
This commit is contained in:
29
Watch/Extension/TGInterfaceController.h
Normal file
29
Watch/Extension/TGInterfaceController.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#import <WatchKit/WatchKit.h>
|
||||
|
||||
@class TGIndexPath;
|
||||
|
||||
@protocol TGInterfaceContext <NSObject>
|
||||
|
||||
@end
|
||||
|
||||
@interface TGInterfaceController : WKInterfaceController
|
||||
|
||||
@property (nonatomic, strong) NSString *title;
|
||||
@property (nonatomic, readonly, getter=isVisible) bool visible;
|
||||
@property (nonatomic, readonly, getter=isPresenting) bool presenting;
|
||||
|
||||
@property (nonatomic, weak, readonly) TGInterfaceController *presentingController;
|
||||
@property (nonatomic, readonly) NSArray *presentedControllers;
|
||||
|
||||
- (void)configureWithContext:(id<TGInterfaceContext>)context;
|
||||
|
||||
- (void)pushControllerWithClass:(Class)controllerClass context:(id<TGInterfaceContext>)context;
|
||||
- (void)presentControllerWithClass:(Class)controllerClass context:(id<TGInterfaceContext>)context;
|
||||
|
||||
- (void)performInterfaceUpdate:(void (^)(bool animated))update;
|
||||
|
||||
- (id<TGInterfaceContext>)contextForSegueWithIdentifer:(NSString *)segueIdentifier table:(WKInterfaceTable *)table indexPath:(TGIndexPath *)indexPath;
|
||||
|
||||
+ (NSString *)identifier;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user