From 988d9a89c49a6c40d4aef184673138aa80d33a25 Mon Sep 17 00:00:00 2001 From: Nikita Lutsenko Date: Fri, 25 Mar 2016 19:10:07 -0700 Subject: [PATCH 1/2] =?UTF-8?q?KVOController=201.1.0=20=F0=9F=94=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FBKVOController/Info.plist | 4 ++-- KVOController.podspec | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/FBKVOController/Info.plist b/FBKVOController/Info.plist index 4c64b75..dc640d4 100644 --- a/FBKVOController/Info.plist +++ b/FBKVOController/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.0.3 + 1.1.0 CFBundleSignature ???? CFBundleVersion - 1.0.3 + 1.1.0 NSPrincipalClass diff --git a/KVOController.podspec b/KVOController.podspec index fdb0c60..6b01d98 100644 --- a/KVOController.podspec +++ b/KVOController.podspec @@ -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' => 'kimon@mac.com' } @@ -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 From 1a94e0382a9ee48f38cc0b81c8eb807a583e5bde Mon Sep 17 00:00:00 2001 From: Nikita Lutsenko Date: Fri, 25 Mar 2016 19:10:15 -0700 Subject: [PATCH 2/2] Update method documentation in README. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 621997c..f17574f 100644 --- a/README.md +++ b/README.md @@ -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 ` for an automatic `KVOController` property on all objects. +For an even easier usage, just `#import ` for an automatic `KVOController` property on all objects. ```objc [self.KVOController observe:clock keyPath:@"date" options:NSKeyValueObservingOptionInitial|NSKeyValueObservingOptionNew action:@selector(updateClockWithDateChange:)]; @@ -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 +#import ``` ## Testing