Skip to content

Commit

Permalink
update LICENCE and README
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Morissard committed Jun 4, 2015
1 parent 27826e3 commit d89ac65
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2015 Jerome Morissard <jerome.morissard@backelite.com>
Copyright (c) 2015 Jerome Morissard <morissardj@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
[![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)

## Usage

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

## Screenshots

![Image](./screenshots/iphones.png)
Expand All @@ -19,7 +15,7 @@ To run the example project, clone the repo, and run `pod install` from the Examp
![Image](./screenshots/iphone4.png)


## Installation
## Installation & Usage

JMActionSheetDescription is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:
Expand All @@ -28,6 +24,7 @@ it, simply add the following line to your Podfile:
pod "JMActionSheetDescription"
```

### Manual creation

```objective-c
//init your description
Expand Down Expand Up @@ -68,8 +65,10 @@ desc.items = @[itemShare,pickerItem];
[JMActionSheet showActionSheetDescription:desc inViewController:self];
```
## Shortcuts :)
### To present a picker (JMPickerActionSheet)
### Shortcuts for creation
#### To present a picker (JMPickerActionSheet)
```objective-c
[JMPickerActionSheet showPickerActionSheetElements:@[@"One", @"Two", @"three", @"Four"]
Expand All @@ -79,7 +78,7 @@ desc.items = @[itemShare,pickerItem];
inViewController:self];
```

### Present a mutliple images choice (JMImagesActionSheet)
#### Present a mutliple images choice (JMImagesActionSheet)

```objective-c
[JMImagesActionSheet showImagesActionSheetImages:@[
Expand Down

0 comments on commit d89ac65

Please sign in to comment.