Skip to content

Commit 8355f7f

Browse files
authored
Merge pull request #1 from ANSCoder/codex/convert-cowcodable-to-ios-demo
Create iOS16 SwiftUI demo app
2 parents 79c46ee + 07d9835 commit 8355f7f

File tree

4 files changed

+33
-12
lines changed

4 files changed

+33
-12
lines changed

DemoApp/CowCodableDemoApp/CowCodableDemoApp.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
A10000000000000000000026 /* StrategyControlsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A10000000000000000000036 /* StrategyControlsView.swift */; };
1717
A10000000000000000000027 /* RescueLogView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A10000000000000000000037 /* RescueLogView.swift */; };
1818
A10000000000000000000028 /* OutputFormatter.swift in Sources */ = {isa = PBXBuildFile; fileRef = A10000000000000000000038 /* OutputFormatter.swift */; };
19+
E602326C2F4CDFDC0032AFBB /* AppIcon.icon in Resources */ = {isa = PBXBuildFile; fileRef = E602326B2F4CDFDC0032AFBB /* AppIcon.icon */; };
1920
E60C7D312F4CBD0A0093DF6E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E60C7D302F4CBD0A0093DF6E /* Assets.xcassets */; };
20-
E60C7D332F4CC1DC0093DF6E /* AppIcon.icon in Resources */ = {isa = PBXBuildFile; fileRef = E60C7D322F4CC1DC0093DF6E /* AppIcon.icon */; };
2121
/* End PBXBuildFile section */
2222

2323
/* Begin PBXFileReference section */
@@ -30,8 +30,8 @@
3030
A10000000000000000000036 /* StrategyControlsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StrategyControlsView.swift; sourceTree = "<group>"; };
3131
A10000000000000000000037 /* RescueLogView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RescueLogView.swift; sourceTree = "<group>"; };
3232
A10000000000000000000038 /* OutputFormatter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OutputFormatter.swift; sourceTree = "<group>"; };
33+
E602326B2F4CDFDC0032AFBB /* AppIcon.icon */ = {isa = PBXFileReference; lastKnownFileType = folder.iconcomposer.icon; path = AppIcon.icon; sourceTree = "<group>"; };
3334
E60C7D302F4CBD0A0093DF6E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
34-
E60C7D322F4CC1DC0093DF6E /* AppIcon.icon */ = {isa = PBXFileReference; lastKnownFileType = folder.iconcomposer.icon; path = AppIcon.icon; sourceTree = "<group>"; };
3535
/* End PBXFileReference section */
3636

3737
/* Begin PBXFrameworksBuildPhase section */
@@ -107,7 +107,7 @@
107107
isa = PBXGroup;
108108
children = (
109109
E60C7D302F4CBD0A0093DF6E /* Assets.xcassets */,
110-
E60C7D322F4CC1DC0093DF6E /* AppIcon.icon */,
110+
E602326B2F4CDFDC0032AFBB /* AppIcon.icon */,
111111
);
112112
path = Resource;
113113
sourceTree = "<group>";
@@ -177,7 +177,7 @@
177177
buildActionMask = 2147483647;
178178
files = (
179179
E60C7D312F4CBD0A0093DF6E /* Assets.xcassets in Resources */,
180-
E60C7D332F4CC1DC0093DF6E /* AppIcon.icon in Resources */,
180+
E602326C2F4CDFDC0032AFBB /* AppIcon.icon in Resources */,
181181
);
182182
runOnlyForDeploymentPostprocessing = 0;
183183
};
@@ -326,7 +326,7 @@
326326
isa = XCBuildConfiguration;
327327
buildSettings = {
328328
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
329-
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO;
329+
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
330330
CODE_SIGN_STYLE = Automatic;
331331
CURRENT_PROJECT_VERSION = 1;
332332
DEVELOPMENT_TEAM = "";
@@ -360,7 +360,7 @@
360360
isa = XCBuildConfiguration;
361361
buildSettings = {
362362
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
363-
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO;
363+
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
364364
CODE_SIGN_STYLE = Automatic;
365365
CURRENT_PROJECT_VERSION = 1;
366366
DEVELOPMENT_TEAM = "";
749 KB
Loading
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "AppIcon.png",
5+
"idiom" : "ios-marketing",
6+
"scale" : "1x",
7+
"size" : "1024x1024"
8+
}
9+
],
10+
"info" : {
11+
"author" : "xcode",
12+
"version" : 1
13+
}
14+
}

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,20 +167,27 @@ The app imports `CowCodable` as a local Swift package dependency from this repos
167167

168168
Switching the segmented control changes only the configured rescue policy; input JSON stays unchanged so behavior differences are observable.
169169

170-
## Screenshots
170+
## 📱 Demo App Preview
171171

172172
### Main View
173-
![Main Demo](docs/screenshots/demo-main.png)
173+
<p align="center">
174+
<img src="docs/screenshots/demo-main.png" width="320">
175+
</p>
174176

175177
### Strict Mode
176-
![Strict Mode](docs/screenshots/demo-strict.png)
178+
<p align="center">
179+
<img src="docs/screenshots/demo-strict.png" width="320">
180+
</p>
177181

178182
### Permissive Mode
179-
![Permissive Mode](docs/screenshots/demo-permissive.png)
183+
<p align="center">
184+
<img src="docs/screenshots/demo-permissive.png" width="320">
185+
</p>
180186

181187
### Overflow Case
182-
![Overflow](docs/screenshots/demo-overflow.png)
183-
188+
<p align="center">
189+
<img src="docs/screenshots/demo-overflow.png" width="320">
190+
</p>
184191
## Example Model
185192

186193
```swift

0 commit comments

Comments
 (0)