Skip to content

Commit

Permalink
Create TPKeyboardAvoiding.podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
bassrock committed Jul 10, 2013
1 parent f336ae2 commit 92a4c45
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions TPKeyboardAvoiding.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Pod::Spec.new do |s|
s.name = 'TPKeyboardAvoiding'
s.version = '1.0'
s.license = {
:type => 'Custom permissive license',
:text => <<-LICENSE
Free for commercial use and redistribution in any form. Credit is appreciated but not essential. Oh, and there aint no warranty!
Michael Tyson, A Tasty Pixel
[email protected]
LICENSE
}
s.platform = :ios
s.summary = 'A drop-in universal solution for moving text fields out of the way of the keyboard in iOS.'
s.homepage = 'https://github.com/michaeltyson/TPKeyboardAvoiding'
s.author = { 'Michael Tyson' => '[email protected]' }
s.source = { :git => 'https://github.com/michaeltyson/TPKeyboardAvoiding.git' }

s.description = "This is a relatively universal, drop-in solution: UIScrollView and UITableView subclasses that handle everything." \
"When the keyboard is about to appear, the subclass will find the subview that's about to be edited, " \
"and adjust its frame and content offset to make sure that view is visible, with an animation to match the keyboard pop-up. "\
"When the keyboard disappears, it restores its prior size."

s.source_files = 'TPKeyboardAvoidingScrollView.{h,m}','TPKeyboardAvoidingTableView.{h,m}'
s.requires_arc = false
end

0 comments on commit 92a4c45

Please sign in to comment.