Latest 2.1.1
Homepage https://github.com/SwiftGen/SwiftGenKit
License MIT
Platforms osx 10.9
Dependencies Kanna, PathKit
Frameworks Foundation
Authors

CircleCI
CocoaPods Compatible
Platform
Swift 3.0

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

Latest podspec

{
    "name": "SwiftGenKit",
    "version": "2.1.1",
    "summary": "The SwiftGen framework responsible for parsing assets and turn them in a dictionary representation suitable for Stencil templates",
    "description": "This pod contains asset parsers forn[SwiftGen](https://github.com/SwiftGen/SwiftGen), as well asnmethods for converting the data into contexts forn[Stencil](https://github.com/kylef/Stencil).",
    "homepage": "https://github.com/SwiftGen/SwiftGenKit",
    "license": "MIT",
    "authors": {
        "Olivier Halligon": "[email protected]"
    },
    "social_media_url": "https://twitter.com/aligatr",
    "platforms": {
        "osx": "10.9"
    },
    "source": {
        "git": "https://github.com/SwiftGen/SwiftGenKit.git",
        "tag": "2.1.1"
    },
    "source_files": "Sources/**/*.swift",
    "dependencies": {
        "Kanna": [],
        "PathKit": [
            "~> 0.8.0"
        ]
    },
    "frameworks": "Foundation",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This