SwiftGenKit
The framework behind SwiftGen, responsible for parsing various resources and turn them into Stencil contexts
Install / Use
/learn @SwiftGen/SwiftGenKitREADME
:warning: Deprecated :warning:
This repository has been merged into the main SwiftGen repository.
SwiftGenKit
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
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
