Загрузка...

UIKit Dynamics - Why you would use physics based animations to your views in Swift

UIKit Dynamic is a great way to include physics based animations in your iOS apps. I will show you an example that I implemented in my app Assocy, where the user can sort items into different categories.

Other use cases could be to animating
- views appearing or disappearing by dropping them with a gravity field
- games with unusual / freaky physics worlds
- squishy buttons
- loading animations with views flying across the screen.

Alternatively, there is the SpriteKit framework for game development.

Apple Documentation for UIKit Dynamics
https://developer.apple.com/documentation/uikit/animation_and_haptics/uikit_dynamics

Assocy App uses physics based animations to make the user interaction more fun and playful. Check the Grouping exercise.
https://apps.apple.com/us/app/assocy-the-learning-notebook/id1464579365#?platform=ipad

What is a similarity? https://www.livescience.com/what-is-singularity

If you liked what you learned and you want to see more, check out one of my courses!
👨‍💻 my SwiftUI course https://school.swiftyplace.com/courses/swiftui-course
👨‍💻 my Core Data and SwiftUI course https://school.swiftyplace.com/courses/swiftui-and-core-data
👩🏻‍💻 Combine course
https://school.swiftyplace.com/courses/master-combine-framework

#Swift #Physics #InteractiveAnimations

Видео UIKit Dynamics - Why you would use physics based animations to your views in Swift канала Karin Prater
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять