Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Commit

Permalink
Update podspec and license
Browse files Browse the repository at this point in the history
  • Loading branch information
m1entus committed Feb 25, 2015
1 parent bbc5a15 commit c316bac
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 6 deletions.
4 changes: 2 additions & 2 deletions MZFormSheetController.podspec
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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|
Expand Down
Original file line number Diff line number Diff line change
@@ -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 <Foundation/Foundation.h>

Expand Down
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
Original file line number Diff line number Diff line change
@@ -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 <UIKit/UIKit.h>
#import "MZFormSheetPresentationController.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
===========

Expand Down

0 comments on commit c316bac

Please sign in to comment.