Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions Classes/FTUtils+UIGestureRecognizer.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ of this software and associated documentation files (the "Software"), to deal
#import "FTUtils+UIGestureRecognizer.h"
#import <objc/runtime.h>

@interface UIGestureRecognizer()

- (void)handleAction:(UIGestureRecognizer *)recognizer;

@end

static char * kFTGestureActionKey = "ft_gestureAction";
static char * kFTGestureDisabledKey = "ft_gestureDisabled";

Expand Down Expand Up @@ -73,4 +67,4 @@ - (void)setDisabled:(BOOL)disabled {

@end

#endif
#endif
20 changes: 8 additions & 12 deletions Headers/FTUtils/FTAnimation+UIView.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
neither message will be sent.
@param startSelector A selector to be messaged on *delegate* right before the start
of the animation. This parameter can be `nil`.
@param startSelector A selector to be messaged on *delegate* after the animation has
@param stopSelector A selector to be messaged on *delegate* after the animation has
finished normally or been cancelled. This parameter can be `nil`.
*/
- (void)slideInFrom:(FTAnimationDirection)direction duration:(NSTimeInterval)duration delegate:(id)delegate
Expand All @@ -80,7 +80,7 @@
neither message will be sent.
@param startSelector A selector to be messaged on *delegate* right before the start
of the animation. This parameter can be `nil`.
@param startSelector A selector to be messaged on *delegate* after the animation has
@param stopSelector A selector to be messaged on *delegate* after the animation has
finished normally or been cancelled. This parameter can be `nil`.
*/
- (void)slideOutTo:(FTAnimationDirection)direction duration:(NSTimeInterval)duration delegate:(id)delegate
Expand Down Expand Up @@ -116,7 +116,7 @@
neither message will be sent.
@param startSelector A selector to be messaged on *delegate* right before the start
of the animation. This parameter can be `nil`.
@param startSelector A selector to be messaged on *delegate* after the animation has
@param stopSelector A selector to be messaged on *delegate* after the animation has
finished normally or been cancelled. This parameter can be `nil`.
*/
- (void)backOutTo:(FTAnimationDirection)direction withFade:(BOOL)fade duration:(NSTimeInterval)duration delegate:(id)delegate
Expand Down Expand Up @@ -144,7 +144,7 @@
neither message will be sent.
@param startSelector A selector to be messaged on *delegate* right before the start
of the animation. This parameter can be `nil`.
@param startSelector A selector to be messaged on *delegate* after the animation has
@param stopSelector A selector to be messaged on *delegate* after the animation has
finished normally or been cancelled. This parameter can be `nil`.
*/
- (void)backInFrom:(FTAnimationDirection)direction withFade:(BOOL)fade duration:(NSTimeInterval)duration delegate:(id)delegate
Expand All @@ -171,7 +171,6 @@
/**
Causes the view to fade in from invisible to fully opaque.

@param direction The edge or corner of the screen where animation will end.
@param duration The duration (in seconds) of the animation.
@param delegate The *delegate* will be forwarded the standard `CAAnimationDelegate`
methods.
Expand All @@ -187,15 +186,14 @@
neither message will be sent.
@param startSelector A selector to be messaged on *delegate* right before the start
of the animation. This parameter can be `nil`.
@param startSelector A selector to be messaged on *delegate* after the animation has
@param stopSelector A selector to be messaged on *delegate* after the animation has
finished normally or been cancelled. This parameter can be `nil`.
*/
- (void)fadeIn:(NSTimeInterval)duration delegate:(id)delegate startSelector:(SEL)startSelector stopSelector:(SEL)stopSelector;

/**
Causes the view to fade out until it is invisible.

@param direction The edge or corner of the screen where animation will end.
@param duration The duration (in seconds) of the animation.
@param delegate The *delegate* will be forwarded the standard `CAAnimationDelegate`
methods.
Expand All @@ -211,7 +209,7 @@
neither message will be sent.
@param startSelector A selector to be messaged on *delegate* right before the start
of the animation. This parameter can be `nil`.
@param startSelector A selector to be messaged on *delegate* after the animation has
@param stopSelector A selector to be messaged on *delegate* after the animation has
finished normally or been cancelled. This parameter can be `nil`.
*/
- (void)fadeOut:(NSTimeInterval)duration delegate:(id)delegate startSelector:(SEL)startSelector stopSelector:(SEL)stopSelector;
Expand All @@ -220,7 +218,6 @@
Causes the background color of the view to fade in from invisible to completely
opaque.

@param direction The edge or corner of the screen where animation will end.
@param duration The duration (in seconds) of the animation.
@param delegate The *delegate* will be forwarded the standard `CAAnimationDelegate`
methods.
Expand All @@ -237,7 +234,7 @@
neither message will be sent.
@param startSelector A selector to be messaged on *delegate* right before the start
of the animation. This parameter can be `nil`.
@param startSelector A selector to be messaged on *delegate* after the animation has
@param stopSelector A selector to be messaged on *delegate* after the animation has
finished normally or been cancelled. This parameter can be `nil`.
*/
- (void)fadeBackgroundColorIn:(NSTimeInterval)duration delegate:(id)delegate
Expand All @@ -246,7 +243,6 @@
/**
Causes the background color of the view to fade out until it is invisible.

@param direction The edge or corner of the screen where animation will end.
@param duration The duration (in seconds) of the animation.
@param delegate The *delegate* will be forwarded the standard `CAAnimationDelegate`
methods.
Expand All @@ -262,7 +258,7 @@
neither message will be sent.
@param startSelector A selector to be messaged on *delegate* right before the start
of the animation. This parameter can be `nil`.
@param startSelector A selector to be messaged on *delegate* after the animation has
@param stopSelector A selector to be messaged on *delegate* after the animation has
finished normally or been cancelled. This parameter can be `nil`.
*/
- (void)fadeBackgroundColorOut:(NSTimeInterval)duration delegate:(id)delegate
Expand Down
2 changes: 1 addition & 1 deletion Headers/FTUtils/FTAnimationManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ static inline CGPoint FTAnimationOffscreenCenterPoint(CGRect viewFrame, CGPoint
The maximum value (in points) that the bouncing animations will travel past their
end value before coming to rest. The default is 10.0.
*/
@property(assign) CGFloat overshootThreshold;
@property(atomic, assign) CGFloat overshootThreshold;

///---------------------------------------------------------------------------
/// @name Accessing the animation manager
Expand Down
2 changes: 1 addition & 1 deletion Headers/FTUtils/FTUtils+UIGestureRecognizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ typedef void (^FTGestureActionBlock)(id recognizer);

@end

#endif
#endif