Latest 0.1.3
Homepage https://github.com/pixio/PXFullBleedCollectionView
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit
Authors

Version
License
Platform

Usage

  1. Implement a subclass of PXFullBleedHeaderView
    The important (and only) features of this class are the maxHeight and minHeight properties. These allow your subclass to determine how tall the header should be when scrolled all the way to the top of the collection view, and how short to make it as scrolling moves down.
  2. Make a UIViewController and a custom view subclass with a PXFullBleedHeaderCollectionView in it.
    This collection view has a headerView property for an instance of your header view. Then, you add yourself as the datasource and delegate of the PXFullBleedHeaderCollectionView and you’re ready to go.
  3. Make sure your content looks good as it resizes.

Your collection views can now look this good:

Collection view with resizing header

(Note the image centering is not built in by default. See PXImageView for details.)

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

Installation

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

pod "PXFullBleedCollectionView"

Author

Daniel Blakemore, [email protected]

License

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

Latest podspec

{
    "name": "PXFullBleedCollectionView",
    "version": "0.1.3",
    "summary": "Full bleed header for a collection view.",
    "description": "A collectionview "subclass" and header class that allows you to make a full-bleed header for your collection view.nIt resizes as you scroll!  See the example project for more details.",
    "homepage": "https://github.com/pixio/PXFullBleedCollectionView",
    "license": "MIT",
    "authors": {
        "Daniel Blakemore": "[email protected]"
    },
    "source": {
        "git": "https://github.com/pixio/PXFullBleedCollectionView.git",
        "tag": "0.1.3"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "PXFullBleedCollectionView": [
            "Pod/Assets/*.png"
        ]
    },
    "public_header_files": "Pod/Classes/**/*.h",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This