mxc

MXCardLayout

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

Showing:

Popularity

Downloads/wk

0

GitHub Stars

39

Maintenance

Last Commit

5yrs ago

Contributors

1

Package

Dependencies

0

License

MIT

Categories

Readme

MXCardLayout

Build Status License Platform

Introduction

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

MXCardLayout是仿iOS9多任务切换实现的一个卡片流布局。

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'

Usage

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

    layout.itemSize = CGSizeMake(100,150);
    
    UICollectionViewController *vc = [[UICollectionViewController alloc] initWithCollectionViewLayout:layout];
    

Changelog

Version: 0.1.0

  • Initial Build

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100