i use rudimentary bounce animation in several places in app. when selection made in 1 of collection views, bounce selected item before acting on it. when apply bounce animation selected cell, cell clipped parent view frame. however, clipping behavior doesn't occur other child views.
in video below, created 2 examples of bounce animation.
the centered example child uiview (red) child of containing uiview (light gray). can tap , bounce child uiview (red) without clipping parent view (gray).
the example @ bottom uicollectionview demonstrates clipping behavior of uicollectionviewcell when selected (turns red).
the example swift ipad app source code can found here:
https://github.com/psparago/collection-view-bounce-test.git
my question is, possible cell bounce above frame of collection view?
just off top of head, have made sure parent uicollectionviewcell had “clip subviews” turned off in attributes inspector?
Comments
Post a Comment