Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Commit

Permalink
Merge pull request #103 from facebook/nlutsenko.110
Browse files Browse the repository at this point in the history
KVOController 1.1.0 🔑
  • Loading branch information
nlutsenko committed Mar 28, 2016
2 parents 1c597ce + 1a94e03 commit 34b03fa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions FBKVOController/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0.3</string>
<string>1.1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0.3</string>
<string>1.1.0</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
Expand Down
6 changes: 2 additions & 4 deletions KVOController.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'KVOController'
spec.version = '1.0.3'
spec.version = '1.1.0'
spec.license = { :type => 'BSD' }
spec.homepage = 'https://github.com/facebook/KVOController'
spec.authors = { 'Kimon Tsinteris' => '[email protected]' }
Expand All @@ -12,10 +12,8 @@ Pod::Spec.new do |spec|
No exceptions on observer removal.
Implicit observer removal on controller dealloc.
Thread-safety with special guards against observer resurrection.
Single class: FBKVOController
DESC
spec.source = { :git => 'https://github.com/facebook/KVOController.git', :tag => spec.version.to_s }
spec.source = { :git => 'https://github.com/facebook/KVOController.git', :tag => "v#{spec.version.to_s}" }
spec.source_files = 'FBKVOController/*.{h,m}'
spec.requires_arc = true

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ While simple, the above example is complete. A clock view creates a KVO controll
Note: the observer specified must support weak references. The zeroing weak reference guards against notification of a deallocated observer instance.
#### NSObject Category
For an even easier usage, just `#import <KVOController/FBKVOController.h>` for an automatic `KVOController` property on all objects.
For an even easier usage, just `#import <KVOController/NSObject+FBKVOController.h>` for an automatic `KVOController` property on all objects.
```objc
[self.KVOController observe:clock keyPath:@"date" options:NSKeyValueObservingOptionInitial|NSKeyValueObservingOptionNew action:@selector(updateClockWithDateChange:)];
Expand Down Expand Up @@ -66,7 +66,7 @@ Alternatively, drag and drop FBKVOController.h and FBKVOController.m into your X

Having installed using CocoaPods or Carthage, add the following to import in Objective-C:
```objective-c
#import <KVOController/FBKVOController.h>
#import <KVOController/KVOController.h>
```

## Testing
Expand Down

0 comments on commit 34b03fa

Please sign in to comment.