This repository has been archived by the owner on Nov 6, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "KVOWithBlocks" | ||
s.version = "1.0.0" | ||
s.summary = "KVO with blocks instead of callbacks." | ||
|
||
s.description = <<-DESC | ||
A category on NSObject that allows you observe a | ||
keypath passing in a block to execute when the keypath | ||
changes instead of using a callback method. | ||
This works on iOS and OS X. | ||
Why? Blocks are funky. They let you define an action at the | ||
same time as you are setting up a observation. In most cases | ||
this leads to clearer code than using a callback. | ||
DESC | ||
|
||
s.homepage = "http://abizern.org/KVOWithBlocks/" | ||
s.license = 'MIT' | ||
s.author = { "Abizer Nasir" => "abizern@abizern.org" } | ||
s.source = { :git => "https://github.com/Abizern/KVOWithBlocks.git", :tag => "1.0.0" } | ||
s.source_files = '*.{h,m}' | ||
s.requires_arc = true | ||
end |