Lighter-swift/Lighter
Swift APIs for SQLite: Type-safe down to the schema. Very, very, fast. Dependency free.
This tool helps iOS app developers, or anyone building Swift applications, efficiently manage and embed SQLite databases directly within their apps. It takes your existing SQLite database schema or SQL definition files and automatically generates native Swift code. This means you get type-safe access to your database records, ensuring your app interacts with data precisely as defined in your database, making data handling faster and more reliable.
515 stars.
Use this if you are a Swift developer building an iOS app or server-side application and need a fast, type-safe, and dependency-free way to work with local SQLite databases or bundle pre-filled data.
Not ideal if you need a full Object-Relational Mapping (ORM) solution with complex object graph management, or if your application doesn't use SQLite databases.
Stars
515
Forks
15
Language
Swift
License
MIT
Category
Last pushed
Jan 30, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/Lighter-swift/Lighter"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
SwiftyLab/MetaCodable
Supercharge Swift's Codable implementations with macros meta-programming.
WendellXY/CodableKit
A Swift macro package designed to simplify the use of Swift's Codable protocol by allowing easy...
DanielMSchmidt/objective-c-parser
Get the JSON representation of an Objective-C header file
yonaskolb/SwagGen
OpenAPI/Swagger 3.0 Parser and Swift code generator
andreadelfante/PredicateFlow
Write amazing, strong-typed and easy-to-read NSPredicate.