Skip to content

ziooooo/CCScrollParallaxView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CCScrollParallaxView

一般适用于引导页,轻松添加简单动画。

安装

下载Demo

复制以下两个文件至所需工程目录下

CCScrollParallaxView.h CCScrollParallaxView.m

使用效果

image

基本使用

1.创建CCScrollParallaxView实例

2.设置pageBackgroundImageArray背景图片数组,数组长度决定页数。

3.使用CCScrollParallaxView: -showToView:显示(至此就完成了普通的引导页)。

4.CCScrollParallaxView实例可承载多个CCScrollParallaxItem,创建CCScrollParallaxItem并设置属性,使用CCScrollParallaxView: -addScrollItem: toIndex:方法,添加item至CCScrollParallaxView

5.滚动起来。

About

适用于引导页,轻松添加简单动画。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published