pointfreeco/swift-enum-properties
🤝 Struct and enum data access in harmony.
Archived⚠️ **Note:** This project is archived and superseded by [Case Paths](https://github.com/pointfreeco/swift-case-paths). Provided generated computed properties with both getters and setters for enum associated values, enabling dot-syntax access (`result.success`) and KeyPath support equivalent to struct properties. A command-line code generator using Swift's syntax parsing automatically inlined properties directly into enum declarations, avoiding the need for separate extension files while keeping dependent types in scope.
197 stars. No commits in the last 6 months.
Stars
197
Forks
9
Language
Swift
License
MIT
Category
Last pushed
Aug 17, 2021
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/pointfreeco/swift-enum-properties"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
WendellXY/CodableKit
A Swift macro package designed to simplify the use of Swift's Codable protocol by allowing easy...
yonaskolb/SwagGen
OpenAPI/Swagger 3.0 Parser and Swift code generator
SwiftyLab/MetaCodable
Supercharge Swift's Codable implementations with macros meta-programming.
Lighter-swift/Lighter
Swift APIs for SQLite: Type-safe down to the schema. Very, very, fast. Dependency free.
DanielMSchmidt/objective-c-parser
Get the JSON representation of an Objective-C header file