Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Morissard committed May 9, 2016
1 parent 4a033bf commit b5a8b3a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
Binary file not shown.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,20 @@ ActionSheet and UIActivityViewController replacement, using a descriptor compone
[![CocoaPods](http://img.shields.io/cocoapods/v/JMActionSheetDescription.svg)](https://github.com/leverdeterre/PermissiveResearch)
[![Platform](https://img.shields.io/cocoapods/p/JMActionSheetDescription.svg?style=flat)](http://cocoapods.org/pods/JMActionSheetDescription)

## Capability
* present labels
* present actions (UIButton)
* present image(s)
* present picker
* present datepicker
* present icons collections

## Changelog

0.4.9 :

* add DatePicker support

0.4.7 / 0.4.8 :

* Improve protocol usage
Expand Down Expand Up @@ -104,6 +116,20 @@ desc.items = @[itemShare,pickerItem];
### Shortcuts for creation
#### To present a picker (JMDatePickerActionSheet)
```objective-c
NSDate *minDate = [NSDate date];
NSDate *maxDate = [[NSDate date] dateByAddingTimeInterval:999999];
NSDate *selectedDate = [[NSDate date] dateByAddingTimeInterval:64000];
[JMDatePickerActionSheet showDatePickerActionSheetMinDate:minDate maxDate:maxDate selectedDate:selectedDate didSelectBlock:^(id selectedItem) {
NSLog(@"Plop");
}
title:@"MyTitle"
inViewController:self];
```

#### To present a picker (JMPickerActionSheet)

```objective-c
Expand Down

0 comments on commit b5a8b3a

Please sign in to comment.