diff --git a/CHANGELOG.md b/CHANGELOG.md index 038f2fa..d7b8aeb 100644 --- a/CHANGELOG.md +++ b/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 diff --git a/LocationPicker/Info.plist b/LocationPicker/Info.plist index 09bc972..3034b22 100644 --- a/LocationPicker/Info.plist +++ b/LocationPicker/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.1.0 + 1.1.2 CFBundleSignature ???? CFBundleVersion diff --git a/LocationPickerViewController.podspec b/LocationPickerViewController.podspec index ebfe3c3..652531b 100644 --- a/LocationPickerViewController.podspec +++ b/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" diff --git a/README.md b/README.md index cf50e2f..fea5100 100644 --- a/README.md +++ b/README.md @@ -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) ] ) ``` @@ -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.