Layer transform matrix (CATransform3D, etc.) but with IBDesignable?
问题 This class will put perspective on an upright image. It works perfectly BUT does not work live in Storyboard with IBDesignable. Which is very sad. Is it possible to use CATransform3D and the like for live display on Storyboard with IBDesignable?? // Twist.swift .. twist on Y, perspective from the left import UIKit @IBDesignable class Twist:UIViewController { @IBInspectable var perspective:CGFloat = 0.5 // -1 to 1 @IBOutlet var im:UIView! // the image you want to twist on y override func