https://github.com/leavesster/ylfpresentationcontroller
custom UIPresentationController
https://github.com/leavesster/ylfpresentationcontroller
Last synced: 4 months ago
JSON representation
custom UIPresentationController
- Host: GitHub
- URL: https://github.com/leavesster/ylfpresentationcontroller
- Owner: leavesster
- License: mit
- Created: 2018-09-16T09:42:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-16T11:39:27.000Z (almost 7 years ago)
- Last Synced: 2025-02-16T14:07:22.793Z (5 months ago)
- Language: Objective-C
- Size: 25.4 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# YLFPresentationController
[](https://travis-ci.org/leavesster/YLFPresentationController)
[](https://cocoapods.org/pods/YLFPresentationController)
[](https://cocoapods.org/pods/YLFPresentationController)
[](https://cocoapods.org/pods/YLFPresentationController)This project is inspired by [PresentBottom](https://github.com/IkeBanPC/PresentBottom)
## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
```Objective-C
UIViewController *controller = [[UIViewController alloc] init];
YLFTransitioningManager *transitioningManager = [[YLFTransitioningManager alloc] initWithViewController:controller];[self presentViewController:controller animated:YES completion:nil];
```## Requirements
iOS 8+
## Installation
YLFPresentationController is available through [CocoaPods](https://cocoapods.org). To install it, simply add the following line to your Podfile:
```ruby
target 'Demo' do
pod 'YLFPresentationController'
end
```## Reference
* Blog
[ViewController Transition](https://github.com/seedante/iOS-Note/wiki/ViewController-Transition)
[View Controller 转场](https://objccn.io/issue-5-3/)
[WWDC 2013 Session笔记 - iOS7中的ViewController切换](https://onevcat.com/2013/10/vc-transition-in-ios7/)* Apple
[UIViewControllerTransitionCoordinator](https://developer.apple.com/documentation/uikit/uiviewcontrollertransitioncoordinator?language=objc)
[UIPresentationController](https://developer.apple.com/documentation/uikit/uipresentationcontroller?language=objc)
[Creating Custom Presentations](https://developer.apple.com/library/archive/featuredarticles/ViewControllerPGforiPhoneOS/DefiningCustomPresentations.html#//apple_ref/doc/uid/TP40007457-CH25-SW1)## License
YLFPresentationController is available under the MIT license. See the LICENSE file for more info.