marcosgriselli / easytransitions Goto Github PK
View Code? Open in Web Editor NEWA simple way to create custom interactive UIViewController transitions
License: MIT License
A simple way to create custom interactive UIViewController transitions
License: MIT License
Example does not build shows compilaton error
Support to swift 5.1
Roadmap for transition examples:
ModalTransitionDelegate
should be easy to configure with the behavior we want transition to have in each case. In this way we avoid subclassing when we need a custom presenting flow.
I am using this library to present several UIViewControllers. Many of them have UIScrollView subviews.
ModalTransitionDelegate.interactiveController.gestureRecognizer
is private and this makes it impossible for me to tell my views to prefer their gesture recognizers over the interactive controllers gesture recognizer.
What is your recommended way around this?
NavigationTransitionDelegate
should be easy to configure with the behavior we want transition to have in each case. In this way we avoid subclassing when we need a custom navigation flow.
Use iOS 10 API's to support interruptible transitions in both UIViewControllerAnimatedTransitioning
and UIPercentDrivenInteractiveTransition
.
Refactor the Configurator objects to take in an animation type so this can be injected instead of a internal setup value. This will let us support iOS 8+ and still provide the ability to create transitions with UIViewPropertyAnimator.
Since you are using UIViewPropertyAnimator why not animate the corner radius of content view in the today example instead of checking card state and changing corner radius of back view in the details view controller??
As in your demo the swipe from bottom to up and then open that ViewController that have Airpod image.
I want same like that button i want to open when click on UIButton not on swipe.
Please help to do onclick.
I am a andorid developer from china,I think good for this library about EayTransitions.But I think do it on Android App. Can you give me a good idea? thanks!
There really is now way to do this that I can see. The gestureRecognizer has been marked as private.
I have a horizontal UICollectionViewController. It triggers the dismiss action every time I touch it. Can't move forward until this is fixed or move to a different library.
Do you have any suggestions?
Hello!
First of all, great library! I'm experiencing a small issue when using a table view as the detail view in the AppStore transition. When dismissing it - but not completely - and releasing it before it actually dismisses so it returns back to the detail VC, the table view seems to distort. (width decreases it seems)
Support transitions for UIPresentationController
TransitionInteractiveController
performs the navigationAction
only depending on the swipe velocity. We want to support parameterized handling so we can start the transition only if a requirement is met before swiping.
For example if our presented UIViewController
has a UITableView
we want to make sure the contentOffset.y
is 0
before starting a transition triggered by a Pan.regular(.fromTop)
.
In order to have a well documented API we need to describe what each class, struct, enum and method responsibilities are and how to use it.
Hi guys,
Simulate swipe of Notification center, when user swipe of any orientation for sample, started transition to present second viewcontroller. the effect opposite PresentationControllerAnimator
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.