Skip to content

Commit b618ebd

Browse files
authored
Merge pull request #8 from ra1028/chore/rename
chore: Prepare for renaming the repository name to be swiftui-atom-properties
2 parents 19b7880 + be7c4d5 commit b618ebd

File tree

13 files changed

+110
-111
lines changed

13 files changed

+110
-111
lines changed

Examples/App.xcodeproj/project.pbxproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@
276276
"-Xfrontend",
277277
"-enable-actor-data-race-checks",
278278
);
279-
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.swiftui-atomic-architecture.examples.iOS";
279+
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.swiftui-atom-properties.examples.iOS";
280280
SDKROOT = iphoneos;
281281
TARGETED_DEVICE_FAMILY = "1,2";
282282
};
@@ -300,7 +300,7 @@
300300
"-Xfrontend",
301301
"-enable-actor-data-race-checks",
302302
);
303-
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.swiftui-atomic-architecture.examples.CrossPlatform-macOS";
303+
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.swiftui-atom-properties.examples.CrossPlatform-macOS";
304304
SDKROOT = macosx;
305305
};
306306
name = Debug;
@@ -322,7 +322,7 @@
322322
"-Xfrontend",
323323
"-enable-actor-data-race-checks",
324324
);
325-
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.swiftui-atomic-architecture.examples.CrossPlatform-iOS";
325+
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.swiftui-atom-properties.examples.CrossPlatform-iOS";
326326
SDKROOT = iphoneos;
327327
TARGETED_DEVICE_FAMILY = "1,2";
328328
};
@@ -345,7 +345,7 @@
345345
"-Xfrontend",
346346
"-enable-actor-data-race-checks",
347347
);
348-
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.swiftui-atomic-architecture.examples.iOS";
348+
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.swiftui-atom-properties.examples.iOS";
349349
SDKROOT = iphoneos;
350350
TARGETED_DEVICE_FAMILY = "1,2";
351351
};
@@ -423,7 +423,7 @@
423423
"-Xfrontend",
424424
"-enable-actor-data-race-checks",
425425
);
426-
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.swiftui-atomic-architecture.examples.CrossPlatform-macOS";
426+
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.swiftui-atom-properties.examples.CrossPlatform-macOS";
427427
SDKROOT = macosx;
428428
};
429429
name = Release;
@@ -445,7 +445,7 @@
445445
"-Xfrontend",
446446
"-enable-actor-data-race-checks",
447447
);
448-
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.swiftui-atomic-architecture.examples.CrossPlatform-tvOS";
448+
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.swiftui-atom-properties.examples.CrossPlatform-tvOS";
449449
SDKROOT = appletvos;
450450
TARGETED_DEVICE_FAMILY = 3;
451451
TVOS_DEPLOYMENT_TARGET = 14.0;
@@ -469,7 +469,7 @@
469469
"-Xfrontend",
470470
"-enable-actor-data-race-checks",
471471
);
472-
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.swiftui-atomic-architecture.examples.CrossPlatform-tvOS";
472+
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.swiftui-atom-properties.examples.CrossPlatform-tvOS";
473473
SDKROOT = appletvos;
474474
TARGETED_DEVICE_FAMILY = 3;
475475
TVOS_DEPLOYMENT_TARGET = 14.0;
@@ -554,7 +554,7 @@
554554
"-Xfrontend",
555555
"-enable-actor-data-race-checks",
556556
);
557-
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.swiftui-atomic-architecture.examples.CrossPlatform-iOS";
557+
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.swiftui-atom-properties.examples.CrossPlatform-iOS";
558558
SDKROOT = iphoneos;
559559
TARGETED_DEVICE_FAMILY = "1,2";
560560
};

Examples/Packages/CrossPlatform/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import PackageDescription
44

5-
let atoms = Target.Dependency.product(name: "Atoms", package: "swiftui-atomic-architecture")
5+
let atoms = Target.Dependency.product(name: "Atoms", package: "swiftui-atom-properties")
66

77
let package = Package(
88
name: "CrossPlatformExamples",

Examples/Packages/iOS/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import PackageDescription
44

5-
let atoms = Target.Dependency.product(name: "Atoms", package: "swiftui-atomic-architecture")
5+
let atoms = Target.Dependency.product(name: "Atoms", package: "swiftui-atom-properties")
66

77
let package = Package(
88
name: "iOSExamples",

Examples/project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: App
22
options:
3-
bundleIdPrefix: com.ryo.swiftui-atomic-architecture.examples
3+
bundleIdPrefix: com.ryo.swiftui-atom-properties.examples
44
createIntermediateGroups: true
55
settingGroups:
66
app:

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ docs:
2626
--product Atoms \
2727
--disable-indexing \
2828
--transform-for-static-hosting \
29-
--hosting-base-path swiftui-atomic-architecture \
29+
--hosting-base-path swiftui-atom-properties \
3030
--output-path docs
3131

3232
.PHONY: docs-preview
@@ -42,7 +42,7 @@ test: test-library test-examples
4242
.PHONY: test-library
4343
test-library:
4444
for platform in "$(TEST_PLATFORM_IOS)" "$(TEST_PLATFORM_MACOS)" "$(TEST_PLATFORM_TVOS)" "$(TEST_PLATFORM_WATCHOS)"; do \
45-
xcodebuild test -scheme swiftui-atomic-architecture -destination platform="$$platform"; \
45+
xcodebuild test -scheme swiftui-atom-properties -destination platform="$$platform"; \
4646
done
4747

4848
.PHONY: test-examples

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import PackageDescription
44

55
let package = Package(
6-
name: "swiftui-atomic-architecture",
6+
name: "swiftui-atom-properties",
77
platforms: [
88
.iOS(.v14),
99
.macOS(.v11),

README.md

Lines changed: 80 additions & 81 deletions
Large diffs are not rendered by default.

Sources/Atoms/Atom/TaskAtom.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@
1313
/// ## Example
1414
///
1515
/// ```swift
16-
/// struct AsyncTitleAtom: TaskAtom, Hashable {
16+
/// struct AsyncTextAtom: TaskAtom, Hashable {
1717
/// func value(context: Context) async -> String {
1818
/// try? await Task.sleep(nanoseconds: 1_000_000_000)
19-
/// return "The Atomic Architecture"
19+
/// return "Swift"
2020
/// }
2121
/// }
2222
///
2323
/// struct DelayedTitleView: View {
24-
/// @Watch(AsyncTitleAtom())
25-
/// var title
24+
/// @Watch(AsyncTextAtom())
25+
/// var text
2626
///
2727
/// var body: some View {
28-
/// Suspense(title) { title in
29-
/// Text(title)
28+
/// Suspense(text) { text in
29+
/// Text(text)
3030
/// } suspending: {
3131
/// Text("Loading...")
3232
/// }

Sources/Atoms/Atom/ThrowingTaskAtom.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@
1313
/// ## Example
1414
///
1515
/// ```swift
16-
/// struct AsyncTitleAtom: ThrowingTaskAtom, Hashable {
16+
/// struct AsyncTextAtom: ThrowingTaskAtom, Hashable {
1717
/// func value(context: Context) async throws -> String {
1818
/// try await Task.sleep(nanoseconds: 1_000_000_000)
19-
/// return "The Atomic Architecture"
19+
/// return "Swift"
2020
/// }
2121
/// }
2222
///
2323
/// struct DelayedTitleView: View {
24-
/// @Watch(AsyncTitleAtom())
25-
/// var title
24+
/// @Watch(AsyncTextAtom())
25+
/// var text
2626
///
2727
/// var body: some View {
28-
/// Suspense(title) { title in
29-
/// Text(title)
28+
/// Suspense(text) { text in
29+
/// Text(text)
3030
/// } suspending: {
3131
/// Text("Loading")
3232
/// } catch: {

Sources/Atoms/Atoms.docc/Atoms.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# ``Atoms``
22

3-
A declarative state management and dependency injection library for SwiftUI x Concurrency.
3+
A Reactive Data-Binding and Dependency Injection Library for SwiftUI x Concurrency.
44

55
## Overview
66

7-
The Atomic Architecture offers practical capabilities to manage the complexity of modern apps. It effectively integrates the solution for both state management and dependency injection while allowing us to rapidly building an application.
7+
SwiftUI Atom Properties offers practical capabilities to manage the complexity of modern apps. It effectively integrates the solution for both data-binding and dependency injection while allowing us to rapidly building an application.
88

99
## Source Code
1010

11-
<https://github.com/ra1028/swiftui-atomic-architecture>
11+
<https://github.com/ra1028/swiftui-atom-properties>
1212

1313
## Topics
1414

Tools/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import PackageDescription
55
let package = Package(
66
name: "Tools",
77
dependencies: [
8-
.package(name: "swiftui-atomic-architecture", path: ".."),
8+
.package(name: "swiftui-atom-properties", path: ".."),
99
.package(url: "https://github.com/apple/swift-docc-plugin", exact: "1.0.0"),
1010
.package(url: "https://github.com/apple/swift-format.git", exact: "0.50600.0"),
1111
.package(url: "https://github.com/yonaskolb/XcodeGen.git", exact: "2.27.0"),

assets/assets.key

33.9 KB
Binary file not shown.

assets/diagram.png

-15.4 KB
Loading

0 commit comments

Comments
 (0)