UI Animations with Swift – Swifting Around – Medium

UI Animations with Swift – Swifting Around – Medium

Old code:

var transform = CGAffineTransformIdentity
transform = CGAffineTransformScale(transform, 1.1, 1.1)
transform = CGAffineTransformTranslate(transform, 10, 10)
view.layer.setAffineTransform(transform)

New code:

var transform = CATransform3DIdentity
transform = CATransform3DScale(transform, 1.1, 1.1, 1.0)
transform = CATransform3DTranslate(transform, 10, 10, 0)
view.layer.transform = transform

Old code:

var transform = CGAffineTransformIdentity
transform = CGAffineTransformScale(transform, 1.1, 1.1)
transform = CGAffineTransformTranslate(transform, 10, 10)
view.layer.setAffineTransform(transform)

New code:

var transform = CATransform3DIdentity
transform = CATransform3DScale(transform, 1.1, 1.1, 1.0)
transform = CATransform3DTranslate(transform, 10, 10, 0)
view.layer.transform = transform

https://youtu.be/O3ltwjDJaMk

https://youtu.be/ZaW-xPmjutA

      https://youtu.be/ZaW-xPmjutA?t=13m34s   transform 

      https://youtu.be/ZaW-xPmjutA?t=3m53s   urlsession 작업 ( file 다운로드 )

      https://youtu.be/ZaW-xPmjutA?t=9m   url session 작업하면서 작업진행 확인

https://youtu.be/lYVazkkjOb8

       https://youtu.be/lYVazkkjOb8?t=3m42s     pulsing animation 

       https://youtu.be/lYVazkkjOb8?t=10m55s     status bar 바꾸는 작업  ( preferredStatusBarStyle )