Friday, 15 June 2012

ios - Guidance - Custom UICollectionView animation -


I'm looking for guidance to contact with the following animation scenario.

I have UICollectionView's custom circular UICollectionViewLayout subclassed layout. Circles around the perimeter of the circle (circular) and in the center of the circle is a 50% larger (circular) image.

When the user touches one of the perimeter images, then I want the image to go to the center (being 50% larger) and "join" with the middle image then I want to float on top of viewing two images. (The bottom part of this scene will be a reference to the things related to the two joining images).

If this is understood by somebody, then I really appreciate any kind of starting point.

Anyway, I'm an old developer, but new to iOS and development in Swift (but I can read the purpose).

Thank you!

I solved this using a visual move. Of course, I'm sure there is a better way.

When one of the periphery chakras is used, then I make a change in the visual controller which immediately duplicates the center circle and tape circle places in its east, it appears that Other elements disappeared.

Then I simulate the tape circle with the center and center image at the top of the scene together. I enclose the circle with tape in brief and then it is carried over the view next to the circle of the center so that the original shape of the image of the tape can be restored.

Not elegant, but it works.


No comments:

Post a Comment