Skip to content

Commit 0bd61ad

Browse files
committed
Minor edits
1 parent e369ec0 commit 0bd61ad

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

JazzHands/IFTTTMaskAnimation.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ typedef NS_ENUM(NSUInteger, IFTTTMaskSwipeDirection)
1818

1919
@interface IFTTTMaskAnimation : IFTTTAnimation <IFTTTAnimatable>
2020

21-
- (instancetype)initWithView:(UIView *)view direction:(IFTTTMaskSwipeDirection)direction NS_DESIGNATED_INITIALIZER;
21+
- (instancetype)initWithView:(UIView *)view direction:(IFTTTMaskSwipeDirection)direction;
2222
+ (instancetype)animationWithView:(UIView *)view direction:(IFTTTMaskSwipeDirection)direction;
2323

2424
- (void)addKeyframeForTime:(CGFloat)time visibility:(CGFloat)percent;

JazzHands/IFTTTMaskAnimation.m

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
@interface IFTTTMaskAnimation ()
1212

13-
@property (nonatomic, strong) UIView* maskedView;
13+
@property (nonatomic, strong) UIView *maskedView;
1414
@property (nonatomic, assign) IFTTTMaskSwipeDirection direction;
1515

1616
@end
@@ -82,9 +82,9 @@ - (void)animate:(CGFloat)time
8282
break;
8383
}
8484

85-
UIBezierPath* maskPath = [UIBezierPath bezierPathWithRect:maskedRect];
85+
UIBezierPath *maskPath = [UIBezierPath bezierPathWithRect:maskedRect];
8686

87-
CAShapeLayer* maskLayer = [CAShapeLayer new];
87+
CAShapeLayer *maskLayer = [CAShapeLayer new];
8888
maskLayer.path = maskPath.CGPath;
8989
self.maskedView.layer.mask = maskLayer;
9090
}

0 commit comments

Comments
 (0)