Latest 0.1.0
Homepage https://github.com/imranjutt/IJCardsView
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

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

pod 'IJCardsView', '~> 0.1.0'

Carthage

You can also add the framework via carthage simply add the following line in your Cartfile

github "imranjutt/IJCardsView" ~> 0.1.1

Usage

Usage is incredibly easy all you need to do is call

var cardsViewFrame = CGRect()
cardsViewFrame.size.width = UIScreen.main.bounds.size.width
cardsViewFrame.size.height = UIScreen.main.bounds.size.width * 0.625
cardsViewFrame.origin.x = 0;
cardsViewFrame.origin.y = 20;

let cardsView: IJCardsView = IJCardsView(frame: cardsViewFrame, numberOfCards: 10, cardImageName: "bank_card_soneri", cardPositionUpdatedBlock: { (selectedCardIndex) in
//handle callback here
print(selectedCardIndex)
})

self.view.addSubview(cardsView)

Author

imranjutt, [email protected]

License

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

Latest podspec

{
    "name": "IJCardsView",
    "version": "0.1.0",
    "summary": "A quick way to add Cards view to uour ios applications.",
    "description": "A drop in solution to add cards view to your IOS application.",
    "homepage": "https://github.com/imranjutt/IJCardsView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "imranjutt": "[email protected]"
    },
    "source": {
        "git": "https://github.com/imranjutt/IJCardsView.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "IJCardsView/Classes/**/*",
    "frameworks": "UIKit",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This