项目
在 GitHub 查看 ######To run the example project, clone the repo, and run
zammitjames/JZStackedView
关于
3D Stacked View control for iOS
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文JZStackedView

Installation
JZStackedView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "JZStackedView"
or install manually by downloading the files from GitHub and then use
#import "JZStackedView.h"
Usage
######To run the example project, clone the repo, and run pod install from the Example directory first.
Add the below reference to the @interface method in the header file(.h)
@property (nonatomic, strong) IBOutlet JZ *JZStackedView;
Initialize the JZStackedView in the Implementation File (.m)
self.JZStackedView = [[JZ alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width,
self.view.frame.size.height * 0.75)];
[self.JZStackedView setCenter:CGPointMake(self.view.frame.size.width * 0.5, self.view.frame.size.height * 0.5)];
self.JZStackedView.delegate = self;
self.JZStackedView.dataSource = self;
[self.view addSubview:self.JZStackedView];
// Properties
self.JZStackedView.bounces = YES;
self.JZStackedView.scrollSpeed = 0.85f;
self.JZStackedView.vertical = YES;
self.JZStackedView.bounceDistance = 0.4f;
self.JZStackedView.pagingEnabled = YES;
self.JZStackedView.ignorePerpendicularSwipes = YES;
JZStackedView Required Delegate Methods
- (NSInteger)numberOfItemsInJZStackedView:(JZ *)JZStackedView;
- (UIView *)JZStackedView:(JZ *)JZStackedView viewForItemAtIndex:(NSInteger)index reusingView:(UIView *)view;
Other Available Delegate Methods
- (void)JZStackedViewCurrentItemIndexDidChange:(JZ *)JZStackedView;
Requirements
- iOS 7.0 or higher
- ARC
Author
James Zammit, [email protected]
License
JZStackedView is available under the MIT license. See the LICENSE file for more info.
探索相关项目
加载中…