Closed cruisediary closed 7 years ago
ISSDUE #2
AS IS
TO BE
enum Point { case left case top case right case bottom case topLeft case topRight case bottomLeft case bottomRight case custom(position: CGPoint) }
EXAMPLE
pastelView.startPoint = .left pastelView.endPoint = .custom(CGPoint(x: 0.8, y: 1.0))
ISSDUE #2
AS IS
TO BE
EXAMPLE