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

Swift Magical Grid: Animate Out Zoom Bounce Effect (Ep 3)

https://youtu.be/DPJh4qnzBXE?t=1m30s   유아이뷰obj.animate

https://youtu.be/DPJh4qnzBXE?t=8m10s   gesture 이벤트가 끝나면 수행하는 작업 만들기

유아이뷰obj.animate()

유아이뷰obj.layer.transform

CATransform3DMakeScale

view.bringSubview(toFront:)    —- bring subview를 앞쪽에 보이게 한다.

CATransform3DIdentity

제스처obj.state

Swift Magical Grid: Animate Out Zoom Bounce Effect (Ep 3)

https://youtu.be/DPJh4qnzBXE?t=1m30s   유아이뷰obj.animate

https://youtu.be/DPJh4qnzBXE?t=8m10s   gesture 이벤트가 끝나면 수행하는 작업 만들기

유아이뷰obj.animate()

유아이뷰obj.layer.transform

CATransform3DMakeScale

view.bringSubview(toFront:)    —- bring subview를 앞쪽에 보이게 한다.

CATransform3DIdentity

제스처obj.state