diff --git a/README.md b/README.md index bc597c46..52f2559b 100644 --- a/README.md +++ b/README.md @@ -33,10 +33,32 @@ Notes These classes currently adjust the contentInset parameter to avoid content moving beneath the keyboard. This is done, as opposed to adjusting the frame, in order to work around an iOS bug that results in a jerky animation where the view jumps upwards, before settling down. In order to facilitate this workaround, the contentSize is maintained to be at least same size as the view's frame. -Licence -------- +Licence (Zlib) +-------------- -Free for commercial use and redistribution in any form. Credit is appreciated but not essential. Oh, and there aint no warranty! +Copyright (c) 2013 Michael Tyson + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + +3. This notice may not be removed or altered from any source + distribution. + + +------------ Michael Tyson, A Tasty Pixel michael@atastypixel.com diff --git a/TPKeyboardAvoiding.podspec b/TPKeyboardAvoiding.podspec index 42987064..322e20a4 100644 --- a/TPKeyboardAvoiding.podspec +++ b/TPKeyboardAvoiding.podspec @@ -1,15 +1,7 @@ Pod::Spec.new do |s| s.name = 'TPKeyboardAvoiding' s.version = '1.2.1' - 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 - michael@atastypixel.com - LICENSE - } + s.license = 'zlib' 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'