alexito4/SwiftUsing

Implementation of the `using` feature in Swift by code generation with SwiftSyntax

28
/ 100
Experimental

This tool helps Swift developers simplify their code when working with `struct` composition, allowing them to access nested properties directly as if they were part of the outer `struct`. You provide a Swift source file with a special comment, and it outputs a modified Swift file with the syntax streamlined. Swift developers who prefer `struct`s over classes for composition will find this useful.

No commits in the last 6 months.

Use this if you are a Swift developer using `struct` composition extensively and want to achieve a cleaner, more direct syntax for accessing nested properties.

Not ideal if you primarily use class inheritance or are working with complex type declarations or multiple files, as it has known limitations regarding single-file processing and basic declaration syntax.

Swift-development struct-composition code-generation developer-tooling programming-language-features
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 5 / 25
Maturity 16 / 25
Community 7 / 25

How are scores calculated?

Stars

11

Forks

1

Language

Swift

License

MIT

Last pushed

Apr 22, 2019

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/alexito4/SwiftUsing"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.