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:
17
Watch/Extension/TGAvatarViewModel.h
Normal file
17
Watch/Extension/TGAvatarViewModel.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#import <WatchKit/WatchKit.h>
|
||||
|
||||
@class TGBridgeContext;
|
||||
@class TGBridgeUser;
|
||||
@class TGBridgeChat;
|
||||
|
||||
@interface TGAvatarViewModel : NSObject
|
||||
|
||||
@property (nonatomic, weak) WKInterfaceGroup *group;
|
||||
@property (nonatomic, weak) WKInterfaceLabel *label;
|
||||
|
||||
- (void)updateWithUser:(TGBridgeUser *)user context:(TGBridgeContext *)context isVisible:(bool (^)(void))isVisible;
|
||||
- (void)updateWithChat:(TGBridgeChat *)chat isVisible:(bool (^)(void))isVisible;
|
||||
|
||||
- (void)updateIfNeeded;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user