SwiftGenKit 2.1.0

SwiftGenKit 2.1.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Aug 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Olivier Halligon.


Downloads

Total313
Week5
Month43

Installs

Apps2
Apps WeekApps This Week 1
Test Targets3
Test WeekTests This week 1
powered by Segment

GitHub

Stars6
Watchers6
Forks7
Issues2
Contributors4
Pull Requests3

Code

Files15
LOCLines of Code 932


 
Depends on:
Kanna>= 0
PathKit~> 0.8.0
 

SwiftGenKit

CircleCI

This is the framework behind SwiftGen, responsible for parsing various resources and turning them into Stencil contexts.

Context

This framework contains various resource parsers (especially parsers for images, Localizable strings files, fonts, color palettes, storyboards, …) which are responsible for providing a dictionary representation of those resources suitable to be used by a template engine like Stencil.

The goal of this framework is to be used by Code Generation tools like SwiftGen to turn those resources into some internal representation that can then be used to generate custom code from it.

Documentation

Each parser provided by this framework has a corresponding documentation file explaining the expected input and the format of the generated output, so you can know how to exploit it:

Contributing

Please check the CONTRIBUTING file for guidelines on how to contribute to this repository.

During development, should you make changes to the code generating context, you can re-generate all the context files instead of modifying them manually. Use either of these methods:

  • In Xcode, select the “Generate Contexts” scheme and run the tests
  • From Terminal, execute rake generate_contexts