diff --git a/Example/PerspectiveTransform/Visual.playground/Pages/Animate.xcplaygroundpage/Contents.swift b/Example/PerspectiveTransform/Visual.playground/Pages/Animate.xcplaygroundpage/Contents.swift index 407c332..ee1d056 100644 --- a/Example/PerspectiveTransform/Visual.playground/Pages/Animate.xcplaygroundpage/Contents.swift +++ b/Example/PerspectiveTransform/Visual.playground/Pages/Animate.xcplaygroundpage/Contents.swift @@ -1,4 +1,6 @@ -//: Playground - noun: a place where people can play +//: Animation to show tranformation of subview + +//: open Playground timeline to see it import UIKit import PerspectiveTransform @@ -25,6 +27,7 @@ containerView.addSubview(view) let start = Perspective(view.frame) let transform = start.projectiveTransform(Perspective(destinationView.frame)) +print(transform) UIView.animateWithDuration(1.0, delay: 0, diff --git a/Example/PerspectiveTransform/Visual.playground/contents.xcplayground b/Example/PerspectiveTransform/Visual.playground/contents.xcplayground index 5c73353..b740cfc 100644 --- a/Example/PerspectiveTransform/Visual.playground/contents.xcplayground +++ b/Example/PerspectiveTransform/Visual.playground/contents.xcplayground @@ -1,5 +1,5 @@ - +