Latest 1.0.5
Homepage https://github.com/serkansokmen/ESCoverFlowLayout
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

Ported to Swift 3 from YRCoverFLowLayout

CI Status
Version
License
Platform

Example

Check Example project for implementation.

Installation

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

pod "ESCoverFlowLayout"

Customization

Make sure your custom layout extends from ESCoverFlowLayout.
Vertical scrolling is not supported yet.

// Max degree of rotation for items. Default to 22.5. This means that item on a left side of screen
// will be rotated 22.5 degrees around y and item on a right side will be rotated -22.5 degrees around y.
public var maxCoverDegree: CGFloat

// This property means how neighbour items are placed to in relation to currently displayed item.
// Default to 1/8. This means that item on left will cover 1/8 of current displayed item
// and item from right will also cover 1/8 of current item. Value should be in 0..1 range.
// Negative values seperate cells from each other.
public var coverDensity: CGFloat

// Min opacity that can be applied to individual item. Default to 0.4 (alpha 40%).
public var minCoverOpacity: CGFloat

// Min scale that can be applied to individual item. Default to 1.0 (no scale).
public var minCoverScale: CGFloat

// Cell snapping behavior can be toggled, default is enabled.
public var isSnapEnabled: Bool

Author

serkansokmen, [email protected]

License

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

Latest podspec

{
    "name": "ESCoverFlowLayout",
    "version": "1.0.5",
    "summary": "Custom Coverflow Collection View Layout",
    "description": "Simple coverflow layout for UICollectionView",
    "homepage": "https://github.com/serkansokmen/ESCoverFlowLayout",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "serkansokmen": "[email protected]"
    },
    "source": {
        "git": "https://github.com/serkansokmen/ESCoverFlowLayout.git",
        "tag": "1.0.5"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "ESCoverFlowLayout/Classes/**/*",
    "frameworks": "UIKit",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This