Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,36 @@ SECollectionViewFlowLayout

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

##Functionality
###Panning to select
## Functionality
### Panning to select
Just touch down and pan and select items in your UICollectionView, much easier than tapping each item
<p align="center"><img src="http://i.minus.com/ihtAacZ6IYagC.gif"/></p>

###Auto-select rows
### 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.

<p align="center"><img src="http://i.minus.com/iQps2LYtvBU85.gif"/></p>

###Pan to deselect
### 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.

<p align="center"><img src="http://i.minus.com/ic3fsBQ4nzrMj.gif"/></p>

###Auto select cells between touches
### 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.

<p align="center"><img src="http://i.minus.com/ibgqzbf5s9M4cy.gif"/></p>


##SEQBImagePickerController
## SEQBImagePickerController
The example use case (as seen in the gifs) is using SECollectionViewFlowLayout in combination with [QBImagePickerController](https://github.com/questbeat/QBImagePickerController) to select multiple photos from a UIImagePickerController clone. You can use this image picker in your project by adding to your podfile:
<pre>pod 'SEQBImagePickerController' </pre>

##SECollectionViewFlowLayout
## SECollectionViewFlowLayout
You can also use SECollectionViewFlowLayout in your project and use it with your own UICollectionView.
<pre>pod 'SECollectionViewFlowLayout' </pre>

##Usage
## Usage

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

Expand All @@ -42,16 +42,16 @@ UICollectionViewController *collectionViewController =
[SECollectionViewFlowLayout layoutWithAutoSelectRows:YES panToDeselect:YES autoSelectCellsBetweenTouches:YES]];
```

##Contributing
## Contributing
Use [Github issues](https://github.com/cewendel/SECollectionViewFlowLayout/issues) to track bugs and feature requests

##Contact
## Contact

Chris Wendel
- http://twitter.com/CEWendel
- [chriwend@umich.edu](mailto:chriwend@umich.edu)

##Licence
## Licence

MIT

Expand Down