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 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