Fix duplicate symbols error in xcode
This commit is contained in:
parent
763b0b1bc0
commit
8e7ccb58ea
|
@ -0,0 +1,7 @@
|
|||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface BlurAmount : UIBlurEffect
|
||||
+ (id)updateBlurAmount:(NSNumber*)blurAmount;
|
||||
|
||||
@property (nonatomic, copy) NSNumber *blurAmount;
|
||||
@end
|
|
@ -1,13 +1,10 @@
|
|||
#import <UIKit/UIKit.h>
|
||||
#import "BlurAmount.h"
|
||||
#import <objc/runtime.h>
|
||||
|
||||
@interface UIBlurEffect (Protected)
|
||||
@property (nonatomic, readonly) id effectSettings;
|
||||
@end
|
||||
|
||||
@interface BlurAmount : UIBlurEffect
|
||||
@property (nonatomic, copy) NSNumber *blurAmount;
|
||||
@end
|
||||
|
||||
@implementation BlurAmount
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#import "BlurView.h"
|
||||
#import "BlurAmount.m"
|
||||
#import "BlurAmount.h"
|
||||
|
||||
|
||||
@implementation BlurView {
|
||||
|
@ -12,7 +12,7 @@
|
|||
if (_visualEffectView) {
|
||||
[_visualEffectView removeFromSuperview];
|
||||
}
|
||||
|
||||
|
||||
self.clipsToBounds = true;
|
||||
if ([blurType isEqual: @"xlight"]) {
|
||||
blurEffect = [BlurAmount effectWithStyle:UIBlurEffectStyleExtraLight];
|
||||
|
|
Loading…
Reference in New Issue