Swiftpack.co - dankinsoid/VDChain as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by dankinsoid.
dankinsoid/VDChain 2.7.0
Properties chaining
⭐️ 0
🕓 1 week ago
iOS macOS
.package(url: "https://github.com/dankinsoid/VDChain.git", from: "2.7.0")

VDChain

CI Status Version License Platform

Description

Combination of @dynamicMemberLookup with KeyPathes and callAsFunction

let label = UILabel()~
  .text("Text")
  .textColor(.red)
  .font(.system(24))
  .apply()

Installation

  1. Swift Package Manager

Create a Package.swift file.

// swift-tools-version:5.0
import PackageDescription

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

Add the following line to your Podfile:

pod 'VDChain'

and run pod update from the podfile directory first.

Author

dankinsoid, [email protected]

License

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

GitHub

link
Stars: 0
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

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