SebastianBoldt / Jelly

🌊 - Jelly is a library for animated, non-interactive & interactive viewcontroller transitions and presentations with the focus on a simple and yet flexible API.
http://www.sebastianboldt.com/
MIT License
2.45k stars 123 forks source link

Add a better way for the user to provide sizes for the Animator #6

Closed SebastianBoldt closed 7 years ago

SebastianBoldt commented 7 years ago

Currently a user needs to specify a custom Size to the JellyPresentation Object. It would be better Idea to create some Kind of size enum that provides the following cases: full, half and custom. We also need to change the init function to expect separate width and height values. As a result the user can more easily create rich transitions.

SebastianBoldt commented 7 years ago

Added in #7