From c316bacdbeccb822179a350eb3a0acd08ef9ae9e Mon Sep 17 00:00:00 2001 From: Michal Zaborowski Date: Wed, 25 Feb 2015 21:58:39 +0100 Subject: [PATCH] Update podspec and license --- MZFormSheetController.podspec | 4 ++-- ...ZFormSheetPresentationControllerAnimator.h | 19 ++++++++++++++++++- ...ZFormSheetPresentationControllerAnimator.m | 19 ++++++++++++++++++- .../MZFormSheetPresentationControllerSegue.h | 19 ++++++++++++++++++- .../MZFormSheetPresentationControllerSegue.m | 19 ++++++++++++++++++- README.md | 5 +++++ 6 files changed, 79 insertions(+), 6 deletions(-) diff --git a/MZFormSheetController.podspec b/MZFormSheetController.podspec index 255f903..6fb9e3e 100644 --- a/MZFormSheetController.podspec +++ b/MZFormSheetController.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'MZFormSheetController' - s.version = '2.3.6' + s.version = '3.0.0' s.license = 'MIT' s.summary = 'Provides an alternative to the native iOS UIModalPresentationFormSheet.' s.homepage = 'https://github.com/m1entus/MZFormSheetController' @@ -12,7 +12,7 @@ Pod::Spec.new do |s| s.dependency 'MZAppearance', '~> 1.1.3' s.subspec "Core" do |sp| - sp.source_files = 'MZFormSheetController/*.{h,m}' + sp.source_files = 'MZFormSheetController/**/*.{h,m}' end s.subspec "SVProgressHUD" do |sp| diff --git a/MZFormSheetController/MZFormSheetPresentationController/MZFormSheetPresentationControllerAnimator.h b/MZFormSheetController/MZFormSheetPresentationController/MZFormSheetPresentationControllerAnimator.h index 76f15e1..6f6bd22 100644 --- a/MZFormSheetController/MZFormSheetPresentationController/MZFormSheetPresentationControllerAnimator.h +++ b/MZFormSheetController/MZFormSheetPresentationController/MZFormSheetPresentationControllerAnimator.h @@ -1,10 +1,27 @@ // // MZFormSheetPresentationControllerAnimator.h -// Xcode5Example +// MZFormSheetPresentationControllerAnimator // // Created by Michał Zaborowski on 24.02.2015. // Copyright (c) 2015 Michał Zaborowski. All rights reserved. // +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #import diff --git a/MZFormSheetController/MZFormSheetPresentationController/MZFormSheetPresentationControllerAnimator.m b/MZFormSheetController/MZFormSheetPresentationController/MZFormSheetPresentationControllerAnimator.m index 62dc329..f45c166 100644 --- a/MZFormSheetController/MZFormSheetPresentationController/MZFormSheetPresentationControllerAnimator.m +++ b/MZFormSheetController/MZFormSheetPresentationController/MZFormSheetPresentationControllerAnimator.m @@ -1,10 +1,27 @@ // // MZFormSheetPresentationControllerAnimator.m -// Xcode5Example +// MZFormSheetPresentationControllerAnimator // // Created by Michał Zaborowski on 24.02.2015. // Copyright (c) 2015 Michał Zaborowski. All rights reserved. // +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #import "MZFormSheetPresentationControllerAnimator.h" diff --git a/MZFormSheetController/MZFormSheetPresentationController/MZFormSheetPresentationControllerSegue.h b/MZFormSheetController/MZFormSheetPresentationController/MZFormSheetPresentationControllerSegue.h index 5fc046b..9fb5d5d 100644 --- a/MZFormSheetController/MZFormSheetPresentationController/MZFormSheetPresentationControllerSegue.h +++ b/MZFormSheetController/MZFormSheetPresentationController/MZFormSheetPresentationControllerSegue.h @@ -1,10 +1,27 @@ // // MZFormSheetPresentationControllerSegue.h -// Xcode5Example +// MZFormSheetPresentationControllerSegue // // Created by Michał Zaborowski on 25.02.2015. // Copyright (c) 2015 Michał Zaborowski. All rights reserved. // +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #import #import "MZFormSheetPresentationController.h" diff --git a/MZFormSheetController/MZFormSheetPresentationController/MZFormSheetPresentationControllerSegue.m b/MZFormSheetController/MZFormSheetPresentationController/MZFormSheetPresentationControllerSegue.m index 1de5292..eb8fa6a 100644 --- a/MZFormSheetController/MZFormSheetPresentationController/MZFormSheetPresentationControllerSegue.m +++ b/MZFormSheetController/MZFormSheetPresentationController/MZFormSheetPresentationControllerSegue.m @@ -1,10 +1,27 @@ // // MZFormSheetPresentationControllerSegue.m -// Xcode5Example +// MZFormSheetPresentationControllerSegue // // Created by Michał Zaborowski on 25.02.2015. // Copyright (c) 2015 Michał Zaborowski. All rights reserved. // +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #import "MZFormSheetPresentationControllerSegue.h" diff --git a/README.md b/README.md index bdeb081..6c62efd 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ [![](http://inspace.io/github-cover.jpg)](http://inspace.io) +MZFormSheetController v3 (MZFormSheetPresentationController) +=========== + +### MZFormSheetPresentationController was rewritten and build on iOS 8 API. You can still use MZFormSheetController if you want to support iOS5 >, but if you have deployment target set to iOS8 i recommed you to use MZFormSheetPresentationController. It don't use any tricky hacks to present form sheet as a UIWindow, it use native modalPresentationStyle UIModalPresentationOverFullScreen. + MZFormSheetController ===========