Need help with JZStackedView?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

zammitjames
207 Stars 32 Forks MIT License 35 Commits 3 Opened issues

Description

3D Stacked View control for iOS

Services available

!
?

Need anything else?

Contributors list

# 280,023
C++
C
Shell
35 commits

JZStackedView

CI Status CI Status Version License Platform

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 ```ObjC

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)

```ObjC @property (nonatomic, strong) IBOutlet JZ *JZStackedView;

Initialize the JZStackedView in the Implementation File (.m) ```ObjC 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 
```ObjC
- (NSInteger)numberOfItemsInJZStackedView:(JZ *)JZStackedView;
- (UIView *)JZStackedView:(JZ *)JZStackedView viewForItemAtIndex:(NSInteger)index reusingView:(UIView *)view;

Other Available Delegate Methods

ObjC
- (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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.