Apple Music Genre Selection Screen

Does anyone have an idea of ​​how genre bubbles were created in Apple music? The movement seems to be done with UiKit Dynamics. I definitely see the behavior of the collisions, but it seems that I cannot reproduce the fluidity of the pushing motion and the force of gravity towards the center of vision. I tried using UIPushBehavior and UiSnapBehavior , but no luck.

screenshot

+8
ios swift uikit-dynamics
source share
3 answers

I do not think that this was done using UIKit Dynamics, I think they used SpriteKit. I created a component that can simulate similar physics

https://github.com/ProudOfZiggy/SIFloatingCollection_Swift

+6
source share

This is possible in UIKitDynamics, but can also be done using SpriteKit, which greatly simplifies its implementation. I wrote a small component that gives a similar effect in Objecti-C using SpriteKit. You can find it here , it’s not exactly the same, but nearby, and you can use the same approach to create your own or polish it.

+4
source share

I developed it using box2d and libGdx on android, so using libGdx u can use my code logic for iOS as well ... take a look at my project, hope this helps, https://github.com/mohitKejriwal/Bubble-UI -Android

0
source share

All Articles