Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaantonioni committed Jan 11, 2017
1 parent 0609361 commit d423ec8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pod "MBPhotoPicker"
To run the example project, clone the repo, and run `pod install` from the Example directory first.

For a quick start see the code below.
```
``` swift
var photo: MBPhotoPicker = MBPhotoPicker()
photo.photoCompletionHandler = { (image: UIImage!) -> Void in
print("Selected image")
Expand All @@ -39,10 +39,14 @@ photo.present(self)
```

To disable import image from external apps, just type code:
```photo.disableEntitlements = true```

Library supports bunch of localizated strings, to override translations just use one of available variables:
```swift
photo.disableEntitlements = true
```

Library supports bunch of localizated strings, to override translations just use one of available variables:

``` swift
alertTitle
alertMessage
actionTitleCancel
Expand All @@ -55,6 +59,7 @@ actionTitleLibrary
## Author

Marcin Butanowicz, m.butan@gmail.com

Andrea Antonioni, andreaantonioni97@gmail.com (Contributor)

## License
Expand Down

0 comments on commit d423ec8

Please sign in to comment.