Skip to content

Commit

Permalink
Bump version to v2.0.1
Browse files Browse the repository at this point in the history
Add installation instructions for CocoaPods to the README.
  • Loading branch information
Kevin Ballard committed Sep 15, 2016
1 parent 7640ee6 commit d523d53
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 6 deletions.
2 changes: 1 addition & 1 deletion PMKVObserver.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "PMKVObserver"
s.version = "2.0.0"
s.version = "2.0.1"
s.summary = "Modern thread-safe and type-safe key-value observing for Swift and Objective-C."
s.description = <<-DESC
PMKVObserver provides a safe block-based wrapper around Key-Value Observing, with APIs for both Obj-C and Swift. Features include:
Expand Down
2 changes: 1 addition & 1 deletion PMKVObserver/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.0</string>
<string>2.0.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion PMKVObserverTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>2.0</string>
<string>2.0.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
30 changes: 27 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PMKVObserver

[![Version](https://img.shields.io/badge/version-v2.0.0-blue.svg)](https://github.com/postmates/PMKVObserver/releases/latest)
[![Version](https://img.shields.io/badge/version-v2.0.1-blue.svg)](https://github.com/postmates/PMKVObserver/releases/latest)
![Platforms](https://img.shields.io/badge/platforms-ios%20%7C%20osx%20%7C%20watchos%20%7C%20tvos-lightgrey.svg)
![Languages](https://img.shields.io/badge/languages-swift%20%7C%20objc-orange.svg)
![License](https://img.shields.io/badge/license-MIT%2FApache-blue.svg)
Expand Down Expand Up @@ -96,6 +96,10 @@ If you install by copying the source into your project, it should work on iOS 7
## Installation
After installing with any mechanism, you can use this by adding `import PMKVObserver` (Swift) or `@import PMKVObserver;` (Objective-C) to your code.
### Carthage
To install using [Carthage][], add the following to your Cartfile:
```
Expand All @@ -108,9 +112,25 @@ This version supports Swift 3.0. For Swift 2.3, use the following instead:
github "postmates/PMKVObserver" "v1.0.5"
```
You may also install manually by adding the framework to your workspace, or by adding the 3 files KVObserver.h, KVObserver.m, and (optionally) KVObserver.swift to your project.
### CocoaPods
To install using [CocoaPods][], add the following to your Podfile:
```
pod 'PMKVObserver', '~> 2.0'
```
This release supports Swift 3. If you want Swift 2.3 support, you can use
Once installed, you can use this by adding `import PMKVObserver` (Swift) or `@import PMKVObserver;` (Objective-C) to your code.
```
pod 'PMKVObserver', '~> 1.0.5'
```
[CocoaPods]: https://cocoapods.org
### Manual Installation
You may also install manually by adding the framework to your workspace, or by adding the 3 files KVObserver.h, KVObserver.m, and (optionally) KVObserver.swift to your project.
## License
Expand All @@ -126,6 +146,10 @@ Unless you explicitly state otherwise, any contribution intentionally submitted
## Version History
#### v2.0.1 (2016-09-15)
* Fix CocoaPods.
#### v2.0.0 (2016-09-08)
* Update for Swift 3.0.
Expand Down

0 comments on commit d523d53

Please sign in to comment.