Swiftgram/submodules/LegacyComponents/Sources/TGLocationCurrentLocationCell.h
2020-02-22 15:38:54 +04:00

23 lines
810 B
Objective-C

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import <SSignalKit/SSignalKit.h>
@class TGMessage;
@class TGLocationPallete;
@interface TGLocationCurrentLocationCell : UITableViewCell
@property (nonatomic, strong) TGLocationPallete *pallete;
@property (nonatomic, weak) UIImageView *edgeView;
- (void)configureForCurrentLocationWithAccuracy:(CLLocationAccuracy)accuracy;
- (void)configureForCustomLocationWithAddress:(NSString *)address;
- (void)configureForGroupLocationWithAddress:(NSString *)address;
- (void)configureForLiveLocationWithAccuracy:(CLLocationAccuracy)accuracy;
- (void)configureForStopWithMessage:(TGMessage *)message remaining:(SSignal *)remaining;
@end
extern NSString *const TGLocationCurrentLocationCellKind;
extern const CGFloat TGLocationCurrentLocationCellHeight;