Ivan Vorobei 425f8ec1ca Fix layout for SPStorkController
- Fix layout for SPStorkController
- Add extenshion for `CGRect` static var `displayFrame`. It is rect for screen size
- Set clear background color for `SPStorkIndicatorView`
2018-11-29 12:49:56 +03:00
2018-11-29 12:49:56 +03:00
2018-11-28 16:13:38 +03:00
2018-11-27 14:51:51 +03:00
2018-11-29 12:49:56 +03:00
2018-11-28 17:16:12 +03:00

SPStorkController

Modal controller as in mail or Apple music application. Similar animation and transition. I tried to repeat all the animations, corner radius and frames. The controller supports gestures

Preview GIF loading 4mb. Please, wait

The project is absolutely free, but but it takes time to support and update it. Your support is very motivating and very important. I often receive emails asking me to update or add functionality. Small donate for a cup of coffee helps to develop the project and make it better

Requirements

Swift 4.2. Ready for use on iOS 10+

Integration

Drop in Source/Sparrow folder to your Xcode project. Make sure to enable Copy items if needed and Create groups

Or via CocoaPods:

pod 'SPStorkController'

and import library in class:

import SparrowKit

How to use

Create controller (please, set background, it maybe clear color) and set transitioningDelegate to SPStorkTransitioningDelegate(). Use present or dismiss functions:

let controller = UIViewController()
controller.transitioningDelegate = SPStorkTransitioningDelegate()
controller.modalPresentationStyle = .custom
present(controller, animated: true, completion: nil)

My projects

Project SPPermission about managing permissions with the customizable visual effects. Beautiful dialog increases the chance of approval (which is important when we request notification). Simple control of this module saves you hours of development. You can start using this project with just two lines of code and easy customization!

License

SPStorkController is released under the MIT license. Check LICENSE.md for details

Contact

If you need develop application or UI, write me to hello@ivanvorobei.by. I am develop design and ios apps. I am use swift. If you want to ask for more functionality, you should create a new issue

hello.ivanvorobei.by & ivanvorobei.by

My apps in AppStore & in AppStore 2

S
Description
Languages
Swift 99.8%
Objective-C 0.1%