-
-
Save larssondaniel/208a3e22388c3b48f418ac3a26ea9e3b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef NS_ENUM(NSInteger, PlayerState) { | |
PlayerStateThumbnail, | |
PlayerStateFullscreen, | |
}; | |
@interface ViewController () | |
@property (weak, nonatomic) IBOutlet UIView *playerView; | |
@property (nonatomic) UIViewPropertyAnimator *playerViewAnimator; | |
@property (nonatomic) PlayerState playerState; | |
@property (nonatomic) CGRect originalPlayerViewFrame; | |
@property (nonatomic) UIPanGestureRecognizer *panGestureRecognizer; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment