Skip to content

Gentear/CLLoopView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CLLoopView

一个自动循环滚动视图

使用方法

导入头文件

#import "CLLoopView.h"

//必须这个方法初始化

CLLoopView *loop = [[CLLoopView alloc]initWithFrame:CGRectMake(0, 0, 375, 300)];

loop.imageArray = @[@"123",@"bg",@"bg2",@"bg3"];

loop.delegate = self;

[self.view addSubview:loop];

代理方法如下

  • (void)tapClickWithInterger:(NSInteger)index{
  • NSLog(@"%ld",index);

}

About

一个自动循环滚动视图

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages