Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ajijoyo/ajsimpleparallax

simple parallax
https://github.com/ajijoyo/ajsimpleparallax

Last synced: 2 days ago
JSON representation

simple parallax

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