//
// CycleScrollView.h
// DatePickerScroll
//
// Created by lance on 14/12/8.
// Copyright (c) 2014年 Lance. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol CycleScrollViewDataSource;
@protocol CycleScrollViewDelegate;
@interface CycleScrollView : UIView <UIScrollViewDelegate>
@property (nonatomic, strong, readonly) UIScrollView *scrollView;
/**
* 当前行
*/
@property (nonatomic, assign) NSInteger index;
@property (nonatomic, assign) id<CycleScrollViewDelegate> delegate;
@property (nonatomic, assign) id<CycleScrollViewDataSource> dataSource;
/**
* 重新加载数据
*/
- (void)reloadData;
@end
@protocol CycleScrollViewDataSource <NSObject>
@required
/**
* rows 行数
*
* @param cycleScrollView CycleScrollView
*
* @return 行数
*/
- (NSInteger)numberOfRowsInCycleScrollView:(CycleScrollView *)cycleScrollView;
/**
* 行内容
*
* @param cycleScrollView CycleScrollView
* @param index 行坐标
*
* @return UIView
*/
- (UIView *)cycleScrollView:(CycleScrollView *)cycleScrollView viewForRowAtIndex:(NSInteger)index;
@end
@protocol CycleScrollViewDelegate <NSObject>
@optional
/**
* 当前选中,回调
*
* @param cycleScrollView CycleScrollView
* @param index 行坐标
*/
- (void)cycleScrollView:(CycleScrollView *)cycleScrollView didSelectedAtIndex:(NSInteger)index;
@end
没有合适的资源?快使用搜索试试~ 我知道了~
UIDatePicker 自定义,循环滑动控件
共22个文件
m:6个
h:4个
plist:3个
5星 · 超过95%的资源 需积分: 9 31 下载量 166 浏览量
2014-12-09
17:53:13
上传
评论
收藏 38KB ZIP 举报
温馨提示
UIDatePicker 自定义,循环滑动控件,日期中的年,月,都是单独循环滑动的..
资源推荐
资源详情
资源评论
收起资源包目录
DatePickerScroll.zip (22个子文件)
DatePickerScroll
DatePickerScroll
AppDelegate.h 279B
CycleScrollView.m 6KB
ViewController.h 217B
Base.lproj
Main.storyboard 2KB
LaunchScreen.xib 4KB
CustomDatePicker.m 9KB
main.m 336B
Images.xcassets
AppIcon.appiconset
Contents.json 585B
CustomDatePicker.h 209B
Info.plist 1KB
AppDelegate.m 2KB
ViewController.m 728B
CycleScrollView.h 1KB
DatePickerScroll.xcodeproj
project.xcworkspace
contents.xcworkspacedata 161B
xcuserdata
beyondsoft.xcuserdatad
UserInterfaceState.xcuserstate 17KB
project.pbxproj 17KB
xcuserdata
beyondsoft.xcuserdatad
xcschemes
DatePickerScroll.xcscheme 4KB
xcschememanagement.plist 578B
xcdebugger
Breakpoints_v2.xcbkptlist 91B
.DS_Store 6KB
DatePickerScrollTests
DatePickerScrollTests.m 888B
Info.plist 749B
共 22 条
- 1
资源评论
- Honyun1002018-11-01谢谢楼主分享,不错的资源。
路漫漫走
- 粉丝: 11
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功