https://github.com/ajijoyo/ajsimpleparallax
simple parallax
https://github.com/ajijoyo/ajsimpleparallax
Last synced: 29 days ago
JSON representation
simple parallax
- Host: GitHub
- URL: https://github.com/ajijoyo/ajsimpleparallax
- Owner: ajijoyo
- Created: 2015-09-18T08:24:01.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-18T09:30:14.000Z (almost 10 years ago)
- Last Synced: 2025-01-28T13:54:20.576Z (5 months ago)
- Language: Objective-C
- Size: 266 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AJsimpleparallax
this is simple parllax with extends view
implement on scrollviewdidscroll# import
```obj-c
#import "AJsimpleParallax.h"
```# Usage
```obj-c
-(void)scrollViewDidScroll:(UIScrollView *)scrollView{
[myImage setThisParallax:scrollView ];
}```
use this when your own threshold
```obj-c
-(void)scrollViewDidScroll:(UIScrollView *)scrollView{
[myImage setThisParallax:scrollView withTreshold: 0.3];
}```
# license
MIT