Skip to content

EkkoG/EGChainable

Repository files navigation

EGChainable

Version License Platform

Intro

Chainable tools for iOS API, most code is generated by Sourcery.

The generated code is under EGChainable/Classes/Generated.

To generate code, run script generator.sh on a Mac with Xcode installed.

Requirement

  • Xcode 13.2.1 and above
  • Target iOS 10+

Usage

let label = UILabel()
label.chainable.text("ahhhh").textColor(.black).backgroundColor(.red)

For class appear at Chainable.swift, all open or public var is support, all Void return method is support.

For all supported method, you can visit EGChainable/Classes/Generated

Installation

EGChainable is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'EGChainable'

Thanks

This project is heavy inspired by https://github.com/Ernest0-Production/DeclarativeLayoutKit, thanks for your good idea.

Author

EkkoG, [email protected]

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages