Skip to content
This repository has been archived by the owner on Apr 8, 2023. It is now read-only.

Commit

Permalink
Release 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Tan authored and Jerome Tan committed Jun 10, 2016
1 parent 72924e8 commit 1d013d0
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,20 @@
# Change Log

## [1.1.2](https://github.com/JeromeTan1997/LocationPicker/releases/tag/1.1.2) (2016-06-10)

#### API breaking changes

- Rename `func addButtons` to `func addBarButtons`
- Move `doneButtonItem` property to tuple `barButtonsItems`

#### Enhancements

- Make `cancelButtonItem` public

#### Bug fixes

- Fix the issue that the **LocatiobPicker.framework** is missing in demo app [#7](https://github.com/JeromeTan1997/LocationPicker/issues/7)

## [1.1.1](https://github.com/JeromeTan1997/LocationPicker/releases/tag/1.1.1) (2016-05-09)

#### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion LocationPicker/Info.plist
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.1.0</string>
<string>1.1.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion LocationPickerViewController.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "LocationPickerViewController"
s.version = "1.1.1"
s.version = "1.1.2"
s.summary = "A ready for use and fully customizable location picker for your app."

s.homepage = "https://github.com/JeromeTan1997/LocationPicker"
Expand Down
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -99,7 +99,7 @@ let package = Package(
name: "Your Project Name",
targets: [],
dependencies: [
.Package(url: "https://github.com/JeromeTan1997/LocationPicker.git", versions: "1.1.1" ..< Version.max)
.Package(url: "https://github.com/JeromeTan1997/LocationPicker.git", versions: "1.1.2" ..< Version.max)
]
)
```
Expand Down Expand Up @@ -173,6 +173,8 @@ __Note__: To use current location, don't forget to add `NSLocationWhenInUseUsage

This method provides 3 optional parameter. `doneButtonItem` and `cancelButtonItem` can be set as the customized `UIBarButtonItem` object. `doneButtonOrientation` is used to determine how to align these two buttons. If none of the parameters is provided, two system style buttons would be used, and the done button would be put on the right side.

After this method is called, these two buttons can be accessed via `barButtonItems` property.

##### `func setColors`

This method aims to set colors more conveniently. `themColor` will be set to `currentLocationIconColor`, `searchResultLocationIconColor`, `alternativeLocationIconColor`, `pinColor`. `primaryTextColor` and `secondaryTextColor` can also be set by this method.
Expand Down

0 comments on commit 1d013d0

Please sign in to comment.