-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Very basic example of the Hero framework #33
Conversation
🚫 CI failed with log |
@fruitcoder Thanks for sharing this! We're thinking about merging examples into one big project (discussion here). |
Generated by 🚫 Danger |
🚫 CI failed with log |
Hey @nguyenhuy ! Sure, sounds great :) What can I do to make this happen? |
@fruitcoder Awesome! I think the first step is to add a simple detail view controller that shows an image and is presented when user taps it in the feed. Then we can use Hero to handle the VC transition. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Marking this as "Changes requested" per previous discussion.
@fruitcoder this is very exciting, thanks for the contribution! I think there's a huge amount of potential in creating a larger, more sophisticated sample app. ASDKgram moved in this direction, and has already proven to be our most-used sample app, but we can do better. Using Hero sounds awesome, because Texture will certainly support the beautiful and natural UI feel that physics-based animations can provide. Indeed, that was the motivation that started the framework. The sample app that you've suggested would be the first ever example to showcase Texture (or ASDK) in a physics-driven app! Let us know if you run into any specific implementation issues, or if you don't have time to circle back to this for a while (in which case we can close the PR but open when ready). |
Hey @appleguy! I have to release a new project until the end of June and then I'm on vacation for 1 month so I'll only come back on this in July :/ |
Hi guys in the example provided, UI forced layout then animation starts, which cause a little delay. |
@hashemp206 I think we have to wait for an synchronous render here. You can, however, try to minimize the amount of content to be rendered at this step. Ideally, you only need to wait for nodes in the visible rect. Might be easy or hard, depends on your actual view. |
@fruitcoder This PR is falling behind too far. Let's close it but please open up a new one whenever you have time. Really looking forward to it! |
This more a proof of concept than a full-blown example, but it might helpful as a starting point