Latest 1.0.0
Homepage https://github.com/iBlacksus/BSStackView
License MIT
Platforms ios 8.0
Frameworks SystemConfiguration
Authors

BSStackView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "BSStackView"

or install manually by downloading the files from GitHub and then use

#import "BSStackView.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 BSStackView *stackView;

Initialize the BSStackView in the Implementation File (.m)

self.stackView.swipeDirections = UISwipeGestureRecognizerDirectionLeft | UISwipeGestureRecognizerDirectionRight | UISwipeGestureRecognizerDirectionUp | UISwipeGestureRecognizerDirectionDown;
self.stackView.forwardDirections = UISwipeGestureRecognizerDirectionRight | UISwipeGestureRecognizerDirectionUp;
self.stackView.backwardDirections = UISwipeGestureRecognizerDirectionLeft | UISwipeGestureRecognizerDirectionDown;
self.stackView.changeAlphaOnSendAnimation = YES;
[self.stackView configureWithViews:views];
self.stackView.delegate = self;

Requirements

  • iOS 8.0 or higher
  • ARC

Author

iBlacksus, [email protected]

License

BSStackView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "BSStackView",
    "version": "1.0.0",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "homepage": "https://github.com/iBlacksus/BSStackView",
    "authors": {
        "iBlacksus": "[email protected]"
    },
    "summary": "StackView like card interface",
    "source": {
        "git": "https://github.com/iBlacksus/BSStackView.git",
        "tag": "1.0.0"
    },
    "source_files": "BSStackView/**/*",
    "frameworks": "SystemConfiguration",
    "platforms": {
        "ios": "8.0"
    },
    "ios": {
        "frameworks": "UIKit"
    }
}

Pin It on Pinterest

Share This