Skip to content

Commit 907e04c

Browse files
committed
Added project files
1 parent 4a22477 commit 907e04c

6 files changed

Lines changed: 476 additions & 0 deletions

File tree

.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

Package.swift

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// swift-tools-version:5.5
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "SQLiteAdapter",
8+
products: [
9+
.library(
10+
name: "SQLiteAdapter",
11+
targets: ["SQLiteAdapter"]),
12+
],
13+
targets: [
14+
.target(
15+
name: "SQLiteAdapter",
16+
path: "Sources"),
17+
.testTarget(
18+
name: "SQLiteAdapterTests",
19+
dependencies: ["SQLiteAdapter"],
20+
path: "Tests"),
21+
]
22+
)

README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# SQLiteAdapter
2+
3+
[![Swift](https://img.shields.io/badge/Swift-5-orange.svg?style=flat)](https://swift.org)
4+
[![Platform](https://img.shields.io/badge/platform-iOS%20%7C%20macOS%20%7C%20watchOS%20%7C%20tvOS-lightgrey.svg)](https://developer.apple.com/swift/)
5+
6+
A simple wrapper around the SQLite3 API.
7+
8+
Usage examples can be found in [iOS-MVVM-Clean-Architecture](https://github.com/denissimon/iOS-MVVM-Clean-Architecture).
9+
10+
Installation
11+
------------
12+
13+
#### Swift Package Manager
14+
15+
To install SQLiteAdapter using [Swift Package Manager](https://swift.org/package-manager):
16+
17+
```txt
18+
Xcode: File -> Add Packages
19+
Enter Package URL: https://github.com/denissimon/SQLiteAdapter
20+
```
21+
22+
#### CocoaPods
23+
24+
To install SQLiteAdapter using [CocoaPods](https://cocoapods.org), add this line to your `Podfile`:
25+
26+
```ruby
27+
pod 'SQLiteAdapter', '~> 0.1'
28+
```
29+
30+
#### Carthage
31+
32+
To install SQLiteAdapter using [Carthage](https://github.com/Carthage/Carthage), add this line to your `Cartfile`:
33+
34+
```ruby
35+
github "denissimon/SQLiteAdapter"
36+
```
37+
38+
### Manually
39+
40+
Copy `SQLiteAdapter.swift` into your project.
41+
42+
License
43+
-------
44+
45+
Licensed under the [MIT license](https://github.com/denissimon/SQLiteAdapter/blob/main/LICENSE)

0 commit comments

Comments
 (0)