VDChain
Description
Combination of @dynamicMemberLookup
with KeyPath
es and callAsFunction
let label = UILabel()~
.text("Text")
.textColor(.red)
.font(.system(24))
.apply()
Installation
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
Add the following line to your Podfile:
pod 'VDChain'
and run pod update
from the podfile directory first.
Author
dankinsoid, voidilov@gmail.com
License
VDChain is available under the MIT license. See the LICENSE file for more info.