mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
24 lines
724 B
Objective-C
24 lines
724 B
Objective-C
#import <UIKit/UIKit.h>
|
|
#import <SSignalKit/SSignalKit.h>
|
|
|
|
@class TGLocationMediaAttachment;
|
|
@class TGLocationPallete;
|
|
|
|
@interface TGLocationInfoCell : UITableViewCell
|
|
|
|
@property (nonatomic, strong) TGLocationPallete *pallete;
|
|
@property (nonatomic, assign) UIEdgeInsets safeInset;
|
|
|
|
@property (nonatomic, copy) void (^locatePressed)(void);
|
|
@property (nonatomic, copy) void (^directionsPressed)(void);
|
|
|
|
@property (nonatomic, readonly) UIButton *directionsButton;
|
|
|
|
- (void)setLocation:(TGLocationMediaAttachment *)location color:(UIColor *)color messageId:(int32_t)messageId userLocationSignal:(SSignal *)userLocationSignal;
|
|
|
|
@end
|
|
|
|
extern NSString *const TGLocationInfoCellKind;
|
|
extern const CGFloat TGLocationInfoCellHeight;
|
|
|