Latest 0.1.0
Homepage https://github.com/zqpmaster/MXCardLayout
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

MXCardLayout Build Status License

Introduction

MXCardLayout reproduces the behavior seen in iOS9’s multitasking switcher.

Preview

Usage

  • Create a UICollectionViewController with MXCardLayout
    MXCardLayout *layout = [[MXCardLayout alloc] init]; 

    layout.itemSize = CGSizeMake(100,150);

    MXCollectionViewController *vc = [[MXCollectionViewController alloc] initWithCollectionViewLayout:layout];

Installation

There are two ways to use MXCardLayout in your project:

  • using CocoaPods
  • copying all the files into your project

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. See the Get Started section for more details.

Podfile

platform :ios, '8.1'
pod 'MXCardLayout'

If you are using Swift, be sure to add use_frameworks! and set your target to iOS 8+:

platform :ios, '8.0'
use_frameworks!
pod 'MXCardLayout'

License

MXCardLayout is released under a MIT License. See LICENSE file for details.

Latest podspec

{
    "name": "MXCardLayout",
    "version": "0.1.0",
    "summary": "MXCardLayout reproduces the behavior seen in iOS9's multitasking switcher.",
    "homepage": "https://github.com/zqpmaster/MXCardLayout",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Max": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/zqpmaster/MXCardLayout.git",
        "tag": "0.1.0"
    },
    "source_files": [
        "MXCardLayout",
        "MXCardLayout/*.{h,m}"
    ],
    "frameworks": "UIKit",
    "requires_arc": true
}

Pin It on Pinterest

Share This