Swiftpack.co - maxvol/CoreAnimationDSL as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by maxvol.
maxvol/CoreAnimationDSL 0.0.8
Swift DSL for CoreAnimation
⭐️ 1
🕓 2 years ago
.package(url: "https://github.com/maxvol/CoreAnimationDSL.git", from: "0.0.8")

CoreAnimationDSL

Swift DSL for CoreAnimation

Allows hierarchically structured declarations:

let line = UIBezierPath().apply {
    $0.move(to: lowerRightCorner)
    $0.addLine(to: upperLeftCorner)
    $0.addLine(to: lowerLeftCorner)
    $0.addLine(to: center)
}

let shape = CAShapeLayer().apply {
    $0.backgroundColor = UIColor.orange.cgColor
}

let animation = CAAnimation().apply {
    $0.autoreverses = true
}

GitHub

link
Stars: 1
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

xcode12
2 years ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics