Fun Animations with CGAffineTransform (Scale, Rotate, Reposition) Tutorial (iOS, Xcode 8, Swift 3)

Опубликовано: 05 Ноябрь 2024
на канале: Mark Moeykens
44,048
929

🌐 https://www.bigmountainstudio.com
In this tutorial, we make a bottom button menu that slides up. I make learning CGAffineTransform easy! We will animate scaling, rotating, and changing location (translation transform) with UIView.animate.

If you want to learn how to create round buttons, watch my other video:    • Round Buttons - Short Version (iOS, X...  

Here is the link to the DesignableX files on my GitHub page: https://github.com/bigmountainstudio/...

The code that returns radians should actually be this:
CGFloat(degrees * .pi / 180)

FREE SwiftUI PictureBook:
📙 SwiftUI Views: https://www.bigmountainstudio.com/fre...

COURSES
🎦 SwiftUI Courses hosted on Code with Chris: http://bigmtn.studio/cwc

SOCIAL
🔷 Twitter:   / bigmtnstudio  
🟣 Github: https://github.com/bigmountainstudio