1
0
This repository has been archived on 2025-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
Source-SnapChat/UI/Lenses/LensSideButton/SCFeatureLensSideButton.h
2018-05-24 00:30:29 +03:00

34 lines
771 B
Objective-C

//
// SCFeatureLensSideButton.h
// SCCamera
//
// Created by Anton Udovychenko on 4/12/18.
//
#import "AVCameraViewEnums.h"
#import "SCFeature.h"
#import <Foundation/Foundation.h>
@protocol SCFeatureLensSideButton;
@class SCGrowingButton, SCLens;
NS_ASSUME_NONNULL_BEGIN
@protocol SCFeatureLensSideButtonDelegate <NSObject>
- (void)featureLensSideButton:(id<SCFeatureLensSideButton>)featureLensSideButton
didPressLensButton:(SCGrowingButton *)lensButton;
- (nullable SCLens *)firstApplicableLens;
@end
@protocol SCFeatureLensSideButton <SCFeature>
@property (nonatomic, weak) id<SCFeatureLensSideButtonDelegate> delegate;
- (void)updateLensButtonVisibility:(CGFloat)visibilityPercentage;
- (void)showLensButtonIfNeeded;
@end
NS_ASSUME_NONNULL_END