项目介绍:
使用uicollectionviewflowlayout实现了一个圆环形滑杆,记录婴儿的成长历程。每一个不同的时间阶段显示不同的里程碑
主要集成代码属性值:
[Objective-C] 查看源文件 复制代码
#import "ViewController.h" #import "XKCircleMacros.h" #import "XKView.h" #import "XKCircleCell.h" #import "XKCollectionViewLayout.h" #import "XKCollectionView.h" #import "XKBezierPathView.h" #import "KTOneFingerRotationGestureRecognizer.h" #import "RometeView.h" @interface ViewController () <UICollectionViewDelegate,UICollectionViewDataSource,UIScrollViewDelegate,UIScrollViewAccessibilityDelegate> @property (nonatomic ,strong)XKView *drawBackView; @property (nonatomic ,strong)XKCollectionView *collectionView; @property (nonatomic ,strong)XKCollectionViewLayout *layout; @property (nonatomic, assign) CGFloat interitemSpacing; @property (nonatomic, assign) int stepNum; @property (nonatomic, assign) int value; @property (nonatomic, assign) BOOL scrollByHand; @property (nonatomic, assign) float realValue; @property (nonatomic, assign ,readonly) int minValue; @property (nonatomic, assign ,readonly) int maxValue; @property (nonatomic, assign ,readonly) int step; @property (nonatomic, assign ,readonly) int num1; @end static NSString *XKCellId = @"cellId";
XKXKBabyDevelopmentSec.zip
(283.54 KB, 下载次数: 33, 售价: 10 金钱)
2016-7-14 15:57 上传
点击文件名下载附件
demo1