Latest 0.1.5
Homepage https://github.com/MillmanY/MMParallaxCollectionView
License MIT
Platforms ios 8.0
Authors

[![CI Status](http://img.shields.io/travis/Millman YANG/MMParallaxCollectionView.svg?style=flat)](https://travis-ci.org/Millman YANG/MMParallaxCollectionView)
Version
License
Platform

Demo

1.Parallax

demo

2.front

demo

3.rear

demo

Example

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

Requirements

iOS 8.0+
Xcode 8.0+
Swift 3.0+

Use

Step:

1.set your headerStyle

public enum HeaderStyle {
    case rear
    case front
    case normal
}
collectionVIew.setHeaderStyle(style: .front)

2.Parallax

collectionView.addParallax(view: yourView,height: 180)

3."UICollectionReusableView" need to inherit MMHeaderReuseView

 class HeaderTitleView: MMHeaderReuseView {
 }

4.Control yourself is show the bar

collectionView.showNavigationBar(isShow: false, animated: false)

5.get navigation hiding Rate(Ex.This function can help you hide the item on the navigation Bar)

collection.getNavigationRate { (rate) in
   self.titleView.alpha = rate
}

Installation

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

pod "MMParallaxCollectionView"

Author

Millman YANG, [email protected]

License

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

Latest podspec

{
    "name": "MMParallaxCollectionView",
    "version": "0.1.5",
    "summary": "Custom Parallax CollectionView",
    "description": "Custom Parallax CollectionView and can use group style Like TableView",
    "homepage": "https://github.com/MillmanY/MMParallaxCollectionView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Millman YANG": "[email protected]"
    },
    "source": {
        "git": "https://github.com/MillmanY/MMParallaxCollectionView.git",
        "tag": "0.1.5"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "MMParallaxCollectionView/Classes/**/*",
    "pushed_with_swift_version": "3.0-GM-CANDIDATE"
}

Pin It on Pinterest

Share This