Swiftpack.co -  drrost/SDBC as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
drrost/SDBC
Swift Database SSQLite.git
.package(url: "https://github.com/drrost/SDBC.git", from: "1.2.4")

Swift Database Connectivity

The package simplifies working with SQLite DB file for Swift applications. May be used on any platform that suports Swift - iOS, macOS, Linux.

A new version is under construction. It's a try to implement a part of JDBC approach. It should at least:

  • Allow performing CRUD operations.
  • Work with both - Statement and PreparedStatement.

Dependencies

How to use


How to add

Xcode project

  • Add the package to your project. For Xcode project select <porject> > <project> > Swift Packages > +.

  • Then paste git@github.com:drrost/SDBC.git to the text field.

Another package

To the Package.swift file of your package add in dependencies section:

dependencies: [
    .package(
        name: "SDBC",
        url: "git@github.com:drrost/SDBC.git",
        from: "1.0.5")
],

Then in the same file add to the targets section:

targets: [
    .target(
        name: "YourPackage",
        dependencies: ["SDBC"]),
    .testTarget(
        name: "YourPackageTests",
        dependencies: ["YourPackage"]),
    ]

DBManager

Responsibilities:

  • Is able to switch environment - prod and unit test.
  • Create

License

MIT

GitHub

link
Stars: 0
Last commit: 4 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API