mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-08 22:09:29 +00:00
git-subtree-dir: submodules/LegacyComponents git-subtree-mainline:6086305304git-subtree-split:d559434616
21 lines
528 B
Objective-C
21 lines
528 B
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
@interface TGCameraSegmentsView : UIView
|
|
|
|
@property (nonatomic, copy) void (^deletePressed)(void);
|
|
|
|
- (void)setSegments:(NSArray *)segments;
|
|
|
|
- (void)startCurrentSegment;
|
|
- (void)setCurrentSegment:(CGFloat)length;
|
|
- (void)commitCurrentSegmentWithCompletion:(void (^)(void))completion;
|
|
|
|
- (void)highlightLastSegment;
|
|
- (void)removeLastSegment;
|
|
|
|
- (void)setHidden:(bool)hidden animated:(bool)animated delay:(NSTimeInterval)delay;
|
|
|
|
- (void)setDeleteButtonHidden:(bool)hidden animated:(bool)animated;
|
|
|
|
@end
|