VDTransition

main

`SwiftUI` like transition for `UIKit`
dankinsoid/VDTransition

VDTransition

CI Status Version License Platform

Description

VDTransition provides easy way to describe view transitions.

Example

view1.set(hidden: true, transition: .opacity)
view2.set(hidden: true, transition: .move(edge: .trailing))
view3.removeFromSuperview(transition: [.move(edge: .trailing), .opacity])

Installation

  1. CocoaPods

Add the following line to your Podfile:

pod 'VDTransition'

and run pod update from the podfile directory first.

  1. Swift Package Manager

Create a Package.swift file.

// swift-tools-version:5.6
import PackageDescription

let package = Package(
  name: "SomeProject",
  dependencies: [
    .package(url: "https://github.com/dankinsoid/VDTransition.git", from: "1.24.0")
  ],
  targets: [
    .target(name: "SomeProject", dependencies: ["VDTransition"])
  ]
)
$ swift build

Author

dankinsoid, voidilov@gmail.com

License

VDTransition is available under the MIT license. See the LICENSE file for more info.

Description

  • Swift Tools 5.6.0
View More Packages from this Author

Dependencies

Last updated: Sun Oct 20 2024 22:01:08 GMT-0900 (Hawaii-Aleutian Daylight Time)