GitHub - IvanVorobei/SPStorkController: Modal controller as mail or Apple music...
source link: https://github.com/IvanVorobei/SPStorkController
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
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 [email protected]. 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
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK