Update SecureStorgageSample.xcodeproj, SharedPackage
This commit is contained in:
parent
6db8ab5bc4
commit
ecae974f4a
@ -11,6 +11,7 @@
|
|||||||
EA65D70D2F17DDEB00C48466 /* SecureStorageSample Watch App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = EA65D6E52F17DD6700C48466 /* SecureStorageSample Watch App.app */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
|
EA65D70D2F17DDEB00C48466 /* SecureStorageSample Watch App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = EA65D6E52F17DD6700C48466 /* SecureStorageSample Watch App.app */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
|
||||||
EA65D9442F17EAD800C48466 /* SharedKit in Frameworks */ = {isa = PBXBuildFile; productRef = EA65D7312F17DDEB00C48466 /* SharedKit */; };
|
EA65D9442F17EAD800C48466 /* SharedKit in Frameworks */ = {isa = PBXBuildFile; productRef = EA65D7312F17DDEB00C48466 /* SharedKit */; };
|
||||||
EA65D9452F17EAD800C48466 /* SharedKit in Frameworks */ = {isa = PBXBuildFile; productRef = EA65D7312F17DDEB00C48466 /* SharedKit */; };
|
EA65D9452F17EAD800C48466 /* SharedKit in Frameworks */ = {isa = PBXBuildFile; productRef = EA65D7312F17DDEB00C48466 /* SharedKit */; };
|
||||||
|
EA65D9C12F17F2FA00C48466 /* SharedKit in Frameworks */ = {isa = PBXBuildFile; productRef = EA65D9C02F17F2FA00C48466 /* SharedKit */; };
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXContainerItemProxy section */
|
/* Begin PBXContainerItemProxy section */
|
||||||
@ -136,6 +137,7 @@
|
|||||||
isa = PBXFrameworksBuildPhase;
|
isa = PBXFrameworksBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
|
EA65D9C12F17F2FA00C48466 /* SharedKit in Frameworks */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
@ -283,6 +285,7 @@
|
|||||||
);
|
);
|
||||||
name = "SecureStorageSample Watch App";
|
name = "SecureStorageSample Watch App";
|
||||||
packageProductDependencies = (
|
packageProductDependencies = (
|
||||||
|
EA65D9C02F17F2FA00C48466 /* SharedKit */,
|
||||||
);
|
);
|
||||||
productName = "SecureStorageSample Watch App";
|
productName = "SecureStorageSample Watch App";
|
||||||
productReference = EA65D6E52F17DD6700C48466 /* SecureStorageSample Watch App.app */;
|
productReference = EA65D6E52F17DD6700C48466 /* SecureStorageSample Watch App.app */;
|
||||||
@ -1024,6 +1027,11 @@
|
|||||||
isa = XCSwiftPackageProductDependency;
|
isa = XCSwiftPackageProductDependency;
|
||||||
productName = SharedKit;
|
productName = SharedKit;
|
||||||
};
|
};
|
||||||
|
EA65D9C02F17F2FA00C48466 /* SharedKit */ = {
|
||||||
|
isa = XCSwiftPackageProductDependency;
|
||||||
|
package = EA65D7302F17DDEB00C48466 /* XCLocalSwiftPackageReference "SharedPackage" */;
|
||||||
|
productName = SharedKit;
|
||||||
|
};
|
||||||
/* End XCSwiftPackageProductDependency section */
|
/* End XCSwiftPackageProductDependency section */
|
||||||
};
|
};
|
||||||
rootObject = EA179CF92F1722BB00B1D54A /* Project object */;
|
rootObject = EA179CF92F1722BB00B1D54A /* Project object */;
|
||||||
|
|||||||
@ -8,6 +8,13 @@ public nonisolated struct UserProfile: Codable, Sendable {
|
|||||||
public let age: Int?
|
public let age: Int?
|
||||||
public let createdAt: Date
|
public let createdAt: Date
|
||||||
|
|
||||||
|
public init(name: String, email: String, age: Int?, createdAt: Date) {
|
||||||
|
self.name = name
|
||||||
|
self.email = email
|
||||||
|
self.age = age
|
||||||
|
self.createdAt = createdAt
|
||||||
|
}
|
||||||
|
|
||||||
public var ageDescription: String {
|
public var ageDescription: String {
|
||||||
age.map(String.init) ?? "n/a"
|
age.map(String.init) ?? "n/a"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user