split82 / hmgltransitions Goto Github PK
View Code? Open in Web Editor NEWHMGLTransitions is set of classes which can animate transition between two UIViews, or presentation / dismissing of UIViewControllers.
HMGLTransitions is set of classes which can animate transition between two UIViews, or presentation / dismissing of UIViewControllers.
If you look at twitter for iPhone and click any of the profile pic, they have a nice expanding animation before the image is shown. It should be easy to make considering complex ones like cloth.
Thanks.
How can I subclass HMGLTransitionManager? I'm attempting it now, but my override methods are not being called. Is there a recommended way to create a subclass? Do the source files need to be changed so that the superclass methods are declared in the .h?
The letter 'I' should be in lowercase.
:]
This library is really cool! If you add it to Cocoapods it'll be easier to integrate in our projects. Thanks. :)
When you scroll down in tableview and click a cell which opens using DoorsOpenTransition screen goes black when opening. but closing seems to work fine.
Any Idea as to why or is that a misuse on my end?
In modalPresentationButtonPressed: you don't have to check the type of device. Name your xib ModalController~ipad (note the tilde, not dash, and all lower-case) and then you can just ask for @"ModalController" exclusively. iOS will see that you're on an iPad and first look for the ~ipad.xib file. If it's there, it gets loaded instead.
This is known issue. Transitions between UIViewControllers with different orientations (landscape vs portrait) does not work correctly. Because of the whole system architecture, this won't be fixed too soon.
I run on iphone5 ios7. It doesn't work flip effect in landscape mode.
What I want to ask is if I can control the animation by touch action instead of after you press a button? For example, when I swipe to left, the flip animation will start and will change the position with the point the finger touched and finish only when the touch released.
I don't know you understand what I mean or not. It's something similar with the iBooks page turning animation.
Thanks
I have a UISplitViewController. In the detail view, I have this:
FlipTransition *transition = [[FlipTransition alloc] init];
transition.transitionType = FlipTransitionLeft;
[[HMGLTransitionManager sharedTransitionManager] setTransition:transition];
[[HMGLTransitionManager sharedTransitionManager] presentModalViewController:controller onViewController:self];
[transition release];
On modal view dismissal I have this:
FlipTransition *transition = [[FlipTransition alloc] init];
transition.transitionType = FlipTransitionRight;
[[HMGLTransitionManager sharedTransitionManager] setTransition:transition];
[[HMGLTransitionManager sharedTransitionManager] dismissModalViewController:controller];
[transition release];
This does not work. Inside -dismissModalViewController:
the following code causes the issue:
self.currentController = [modalViewController presentingViewController];
Instead of returning the controller which actually presented the view, it returns the UISplitViewController instead. -- this appears to be a bug in iOS5 . I've filed a radar -- #10255196.
Could anyone tell me how to reduce memory when transitioning? It takes 9M extra memory to complete the animation and then it remains allocated (even when the modal view controller is dismissed).
Thank you
Hi,
Is it possible attach a texture like wood (see ibook app) in RotateTransition?
Thanks!
I have see the DoorsTransition code,but I can't solve it.
Pretty great stuff - just letting you know that they changed sth in the new iOS that breaks the second animation (when you click on close to get back)
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.