Skip to content

Commit

Permalink
Merge pull request #1 from EurekaCommunity/readme
Browse files Browse the repository at this point in the history
readme update
  • Loading branch information
Martin Barreto authored Oct 4, 2016
2 parents d87ad98 + 28cfcc5 commit f893a79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ github "EurekaCommunity/ImageRow" ~> 1.0

## Customization

ImageRow has 2 properties to customize:

* `sourceTypes` which allows us to specify the source of the picture. It could be .PhotoLibrary, .Camera, .SavedPhotosAlbum, or any combination of the previous values since `sourceTypes` property type is `ImageRowSourceTypes` which conforms to `OptionSet`.
* `clearAction` let's us add a clear action sheet option and configure its style. Possible values are: `.no` or `.yes(style: UIAlertActionStyle)`. Notice that .yes value requires we pass a `UIAlertActionStyle` style.

## Author

Expand Down

0 comments on commit f893a79

Please sign in to comment.