Skip to content

Commit ae4f7d0

Browse files
committed
Merge branch 'chore/add-examples-2' into develop
2 parents 6106746 + 11b594a commit ae4f7d0

39 files changed

+1400
-15
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.DS_Store
22
/.build
33
/Packages
4-
/*.xcodeproj
54
xcuserdata/
65
DerivedData/
76
.swiftpm/config/registries.json

AppLogic/.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.DS_Store
2+
/.build
3+
/Packages
4+
/*.xcodeproj
5+
xcuserdata/
6+
DerivedData/
7+
.swiftpm/config/registries.json
8+
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
9+
.netrc

AppLogic/Package.swift

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// swift-tools-version: 5.7
2+
3+
import PackageDescription
4+
5+
let package = Package(
6+
name: "AppLogic",
7+
8+
// This is required because the Northwind package has the same requirement.
9+
platforms: [ .macOS(.v10_15), .iOS(.v13) ],
10+
products: [
11+
.library(name: "WebDependencies", targets: [ "WebDependencies" ]),
12+
.library(name: "AppDependencies", targets: [ "AppDependencies" ])
13+
],
14+
15+
// The dependencies.
16+
dependencies: [
17+
.package(url: "[email protected]:55DB091A-8471-447B-8F50-5DFF4C1B14AC/Lighter.git",
18+
branch: "develop"),
19+
.package(url: "[email protected]:55DB091A-8471-447B-8F50-5DFF4C1B14AC/NorthwindSQLite.swift.git",
20+
branch: "develop"),
21+
22+
.package(url: "https://github.com/Macro-swift/MacroExpress.git",
23+
from: "0.8.8"),
24+
25+
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")
26+
],
27+
28+
// Our own targets, those are linked by the Xcode project targets.
29+
targets: [
30+
.target(name: "WebDependencies", dependencies: [
31+
"MacroExpress",
32+
.product(name: "Northwind", package: "NorthwindSQLite.swift")
33+
]),
34+
.target(name: "AppDependencies", dependencies: [
35+
.product(name: "Northwind", package: "NorthwindSQLite.swift")
36+
])
37+
]
38+
)

AppLogic/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<h2>Lighter Examples AppLogic Helper
2+
<img src="https://zeezide.com/img/lighter/Lighter256.png"
3+
align="right" width="64" height="64" />
4+
</h2>
5+
6+
This is a helper package until Xcode 14 project level package dependencies
7+
properly run package plugins.
8+
9+
It is generally a good idea to manage Xcode package dependencies in such a
10+
local package.
11+
12+
Since the APIs require macOS 10.15 / iOS 13, this platforms declaration is
13+
usually needed in the [Package.swift](Package.swift):
14+
```swift
15+
platforms: [ .macOS(.v10_15), .iOS(.v13) ],
16+
```
17+
18+
### Who
19+
20+
Lighter is brought to you by
21+
[Helge Heß](https://github.com/helje5/) / [ZeeZide](https://zeezide.de).
22+
We like feedback, GitHub stars, cool contract work,
23+
presumably any form of praise you can think of.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// This empty file is required to make SPM detect the target as Swift
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// This empty file is required to make SPM detect the target as Swift

LighterExamples.xcodeproj/project.pbxproj

Lines changed: 591 additions & 0 deletions
Large diffs are not rendered by default.

LighterExamples.xcodeproj/project.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.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"colors" : [
3+
{
4+
"idiom" : "universal"
5+
}
6+
],
7+
"info" : {
8+
"author" : "xcode",
9+
"version" : 1
10+
}
11+
}

0 commit comments

Comments
 (0)