1.15.0
VDTransition provides easy way to describe view transitions.
view1.set(hidden: true, transition: .opacity) view2.set(hidden: true, transition: .move(edge: .trailing)) view3.removeFromSuperview(transition: [.move(edge: .trailing), .opacity])
Add the following line to your Podfile:
pod 'VDTransition'
and run pod update from the podfile directory first.
pod update
Create a Package.swift file.
Package.swift
// swift-tools-version:5.6 import PackageDescription let package = Package( name: "SomeProject", dependencies: [ .package(url: "https://github.com/dankinsoid/VDTransition.git", from: "1.15.0") ], targets: [ .target(name: "SomeProject", dependencies: ["VDTransition"]) ] )
$ swift build
dankinsoid, voidilov@gmail.com
VDTransition is available under the MIT license. See the LICENSE file for more info.
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
VDTransition
Description
VDTransition provides easy way to describe view transitions.
Example
Installation
Add the following line to your Podfile:
and run
pod update
from the podfile directory first.Create a
Package.swift
file.Author
dankinsoid, voidilov@gmail.com
License
VDTransition is available under the MIT license. See the LICENSE file for more info.