Latest 0.0.1
Homepage https://github.com/CEWendel/SECollectionViewFlowLayout
License MIT
Platforms ios 6.0, requires ARC
Authors

SECollectionViewFlowLayout

A flow layout for UICollectionView that implements swiping-to-select gestures.

Functionality

Panning to select

Just touch down and pan and select items in your UICollectionView, much easier than tapping each item

SEQBImagePickerController

Auto-select rows

If you choose you can enable auto-selecting rows, where if you pan to select an entire row you can continue panning down to select whole rows at a time.

SEQBImagePickerController

Pan to deselect

Along with panning to select collection view cells, you can choose to enable panning to deselect, where if you start panning from a selected cell, the panning will deselect cells.

SEQBImagePickerController

Auto select cells between touches

If you choose you can enable auto selection of cells between a first and second touch. Where all cells between the two touches will be selected.

SEQBImagePickerController

SEQBImagePickerController

The example use case (as seen in the gifs) is using SECollectionViewFlowLayout in combination with QBImagePickerController to select multiple photos from a UIImagePickerController clone. You can use this image picker in your project by adding to your podfile:

pod 'SEQBImagePickerController' 

SECollectionViewFlowLayout

You can also use SECollectionViewFlowLayout in your project and use it with your own UICollectionView.

pod 'SECollectionViewFlowLayout' 

Usage

When initializing your UICollectionViewController using initWithCollectionViewLayout:, allocate a new SECollectionViewFlowLayout

UICollectionViewController *collectionViewController = 
[[UICollectionViewController alloc] initWithCollectionViewLayout:
[SECollectionViewFlowLayout layoutWithAutoSelectRows:YES panToDeselect:YES autoSelectCellsBetweenTouches:YES]];

Contributing

Use Github issues to track bugs and feature requests

Contact

Chris Wendel

Licence

MIT

Latest podspec

{
    "name": "SEQBImagePickerController",
    "version": "0.0.1",
    "authors": {
        "Chris Wendel": "[email protected]"
    },
    "homepage": "https://github.com/CEWendel/SECollectionViewFlowLayout",
    "summary": "A clone of UIImagePickerController with multiple selection support that supports swipe-to-select",
    "license": "MIT",
    "source": {
        "git": "https://github.com/CEWendel/SECollectionViewFlowLayout.git",
        "tag": "0.0.1"
    },
    "source_files": "SECollectionViewFlowLayout/PodFiles/*.{h,m}",
    "platforms": {
        "ios": "6.0"
    },
    "requires_arc": true
}

Pin It on Pinterest

Share This