HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to scale, stretch, move, and rotate UIViews using CGAffineTransform – Swift 5

8,284 views October 26, 2019 1:31

Watch on YouTube
ChannelPaul Hudson

Description from the creator

Every UIView subclass has a transform property that lets you manipulate its size, position and rotation using something called an affine transform. This property is animatable, which means you can make a view smoothly double in size, or make it spin around, just by changing one value.

For more answers and solutions to common Swift problems, see the Hacking with Swift knowledge base: hackingwithswift.com/example-code/

About this tutorial

Paul Hudson published this 1:31 video tutorial on October 26, 2019. It has been watched 8,284 times on YouTube.

Duration
1:31
Published
October 26, 2019
Views
8,284
Likes
72

Tags

Share

This tutorial in other languages