Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ajijoyo/ajsimpleparallax
simple parallax
https://github.com/ajijoyo/ajsimpleparallax
Last synced: 2 days ago
JSON representation
simple parallax
- Host: GitHub
- URL: https://github.com/ajijoyo/ajsimpleparallax
- Owner: ajijoyo
- Created: 2015-09-18T08:24:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-18T09:30:14.000Z (over 9 years ago)
- Last Synced: 2024-11-23T11:28:58.764Z (2 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