Skip to content

dankinsoid/VDChain

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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, voidilov@gmail.com

License

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

About

Properties chaining

Resources

License

Stars

Watchers

Forks

Packages

No packages published