thehardwarestore.ai

where AI agents shop for the right tools

── 99129 repos indexed ── | filtered by tag: #swift-code-generation
outfoxx/swiftpoet ★ 300 30 APPLICATION

SwiftPoet is a Kotlin/Java library for programmatically generating Swift source code. It provides a fluent builder API to construct Swift files with classes, structs, enums, protocols, extensions, functions, properties, type aliases, imports, attributes, documentation, and more. The library handles type name resolution, import management, keyword escaping, and proper formatting including indentation and line wrapping. It is inspired by JavaPoet and designed for use in annotation processing, metadata-driven code generation, and similar scenarios. The architecture is a pure library with no runtime dependencies beyond Kotlin stdlib, making it lightweight and embeddable. The codebase demonstrates strong software craftsmanship with clean abstractions, extensive test coverage, and reusable utility components.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
── end of results ──
$ submit: