60

GitHub - IvanVorobei/SPStorkController: Modal controller as mail or Apple music...

 5 years ago
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

68747470733a2f2f72617763646e2e6769746861636b2e636f6d2f4976616e566f726f6265692f535053746f726b436f6e74726f6c6c65722f306163643531626265373665663438363131653162646434303861656262396337643962306165362f7265736f75726365732f6769662d6d6f636b75702e676966

68747470733a2f2f72617763646e2e6769746861636b2e636f6d2f4976616e566f726f6265692f526571756573745065726d697373696f6e2f366663643962646235306139396365613335383239343939396531363164666665353562653436662f7265736f75726365732f726571756573742d7065726d697373696f6e202d20646f6e6174652e737667

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

68747470733a2f2f72617763646e2e6769746861636b2e636f6d2f4976616e566f726f6265692f526571756573745065726d697373696f6e2f366663643962646235306139396365613335383239343939396531363164666665353562653436662f7265736f75726365732f726571756573742d7065726d697373696f6e202d20646f6e6174652e737667

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!

68747470733a2f2f72617763646e2e6769746861636b2e636f6d2f4976616e566f726f6265692f526571756573745065726d697373696f6e2f666235336432306631353261336537366530353365366166353239333036363131666237393466302f7265736f75726365732f726571756573742d7065726d697373696f6e202d206d6f636b75705f707265766965772e676966

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK