Created
July 29, 2013 07:49
-
-
Save zapsleep/6102728 to your computer and use it in GitHub Desktop.
Interface of DVParallaxView (w/o gyro)
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
#import <UIKit/UIKit.h> | |
@interface DVParallaxView : UIView | |
@property (nonatomic, strong) UIImage *backgroundImage; | |
@property (nonatomic, strong) UIView *frontView; | |
@property (nonatomic) float parallaxDistanceFactor; | |
@property (nonatomic) float parallaxFrontFactor; | |
@property (nonatomic) CGPoint contentOffset; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment