Skip to content

Commit 28fda9e

Browse files
committed
refactor(swiftui): rename samples/client/swift/ to samples/client/swiftui/
Align sample directory naming with renderer directory convention. Update path references in README and docs.
1 parent dfe17bd commit 28fda9e

33 files changed

Lines changed: 81 additions & 3 deletions

docs/guides/swiftui-component-review.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@
8080
| SwiftUI 属性模型 | `renderers/swiftui/Sources/A2UI/Models/ComponentTypes.swift` |
8181
| SwiftUI 渲染逻辑 | `renderers/swiftui/Sources/A2UI/Views/A2UIComponentView.swift` |
8282
| SwiftUI 样式/自定义 | `renderers/swiftui/Sources/A2UI/Styling/A2UIStyle.swift` |
83-
| Demo 数据 | `samples/client/swift/A2UIDemoApp/A2UIDemoApp/Pages/CatalogPage.swift` |
83+
| Demo 数据 | `samples/client/swiftui/A2UIDemoApp/A2UIDemoApp/Pages/CatalogPage.swift` |

renderers/swiftui/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,11 @@ JSONL streaming, incremental updates, and Codable round-trips.
129129

130130
## Demo App
131131

132-
The demo app is located at `samples/client/swift/A2UIDemoApp/` in the
132+
The demo app is located at `samples/client/swiftui/A2UIDemoApp/` in the
133133
repository root. It demonstrates both offline sample rendering and live A2A
134134
agent integration.
135135

136-
Open `samples/client/swift/A2UIDemoApp/A2UIDemoApp.xcodeproj` in Xcode and run on a
136+
Open `samples/client/swiftui/A2UIDemoApp/A2UIDemoApp.xcodeproj` in Xcode and run on a
137137
simulator or device.
138138

139139
## Known Limitations

samples/client/swift/A2UIDemoApp/A2UIDemoApp.xcodeproj/project.pbxproj renamed to samples/client/swiftui/A2UIDemoApp/A2UIDemoApp.xcodeproj/project.pbxproj

File renamed without changes.

samples/client/swift/A2UIDemoApp/A2UIDemoApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata renamed to samples/client/swiftui/A2UIDemoApp/A2UIDemoApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata

File renamed without changes.
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "2630"
4+
version = "1.7">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES"
8+
buildArchitectures = "Automatic">
9+
<BuildActionEntries>
10+
<BuildActionEntry
11+
buildForTesting = "YES"
12+
buildForRunning = "YES"
13+
buildForProfiling = "YES"
14+
buildForArchiving = "YES"
15+
buildForAnalyzing = "YES">
16+
<BuildableReference
17+
BuildableIdentifier = "primary"
18+
BlueprintIdentifier = "F1FAD1862F4DA60400BE5C9D"
19+
BuildableName = "A2UIDemoApp.app"
20+
BlueprintName = "A2UIDemoApp"
21+
ReferencedContainer = "container:A2UIDemoApp.xcodeproj">
22+
</BuildableReference>
23+
</BuildActionEntry>
24+
</BuildActionEntries>
25+
</BuildAction>
26+
<TestAction
27+
buildConfiguration = "Debug"
28+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
29+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
30+
shouldUseLaunchSchemeArgsEnv = "YES"
31+
shouldAutocreateTestPlan = "YES">
32+
</TestAction>
33+
<LaunchAction
34+
buildConfiguration = "Debug"
35+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
36+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
37+
launchStyle = "0"
38+
useCustomWorkingDirectory = "NO"
39+
ignoresPersistentStateOnLaunch = "NO"
40+
debugDocumentVersioning = "YES"
41+
debugServiceExtension = "internal"
42+
allowLocationSimulation = "YES">
43+
<BuildableProductRunnable
44+
runnableDebuggingMode = "0">
45+
<BuildableReference
46+
BuildableIdentifier = "primary"
47+
BlueprintIdentifier = "F1FAD1862F4DA60400BE5C9D"
48+
BuildableName = "A2UIDemoApp.app"
49+
BlueprintName = "A2UIDemoApp"
50+
ReferencedContainer = "container:A2UIDemoApp.xcodeproj">
51+
</BuildableReference>
52+
</BuildableProductRunnable>
53+
</LaunchAction>
54+
<ProfileAction
55+
buildConfiguration = "Release"
56+
shouldUseLaunchSchemeArgsEnv = "YES"
57+
savedToolIdentifier = ""
58+
useCustomWorkingDirectory = "NO"
59+
debugDocumentVersioning = "YES">
60+
<BuildableProductRunnable
61+
runnableDebuggingMode = "0">
62+
<BuildableReference
63+
BuildableIdentifier = "primary"
64+
BlueprintIdentifier = "F1FAD1862F4DA60400BE5C9D"
65+
BuildableName = "A2UIDemoApp.app"
66+
BlueprintName = "A2UIDemoApp"
67+
ReferencedContainer = "container:A2UIDemoApp.xcodeproj">
68+
</BuildableReference>
69+
</BuildableProductRunnable>
70+
</ProfileAction>
71+
<AnalyzeAction
72+
buildConfiguration = "Debug">
73+
</AnalyzeAction>
74+
<ArchiveAction
75+
buildConfiguration = "Release"
76+
revealArchiveInOrganizer = "YES">
77+
</ArchiveAction>
78+
</Scheme>

samples/client/swift/A2UIDemoApp/A2UIDemoApp/A2UIDemoApp.entitlements renamed to samples/client/swiftui/A2UIDemoApp/A2UIDemoApp/A2UIDemoApp.entitlements

File renamed without changes.

samples/client/swift/A2UIDemoApp/A2UIDemoApp/A2UIDemoApp.swift renamed to samples/client/swiftui/A2UIDemoApp/A2UIDemoApp/A2UIDemoApp.swift

File renamed without changes.

samples/client/swift/A2UIDemoApp/A2UIDemoApp/Assets.xcassets/AccentColor.colorset/Contents.json renamed to samples/client/swiftui/A2UIDemoApp/A2UIDemoApp/Assets.xcassets/AccentColor.colorset/Contents.json

File renamed without changes.

samples/client/swift/A2UIDemoApp/A2UIDemoApp/Assets.xcassets/AppIcon.appiconset/Contents.json renamed to samples/client/swiftui/A2UIDemoApp/A2UIDemoApp/Assets.xcassets/AppIcon.appiconset/Contents.json

File renamed without changes.

samples/client/swift/A2UIDemoApp/A2UIDemoApp/Assets.xcassets/Contents.json renamed to samples/client/swiftui/A2UIDemoApp/A2UIDemoApp/Assets.xcassets/Contents.json

File renamed without changes.

0 commit comments

Comments
 (0)