react-native-blur/ios/BlurAmount.h
Eli Perkins 71b7e59a62 Refactor BlurView to use modern Objective-C syntax and paradigms
This moves to modern Objective-C practices.

Synthesized properties now use property declarations in a private
category.

UIVisualEffectViews will now only be created once, rather than on each
change of blurType.

BlurAmount uses a class property to track the currently set amount.
2017-04-10 11:19:29 -04:00

10 lines
166 B
Objective-C

#import <UIKit/UIKit.h>
@interface BlurAmount : UIBlurEffect
@property (nonatomic, copy) NSNumber *blurAmount;
+ (id)updateBlurAmount:(NSNumber*)blurAmount;
@end