chore: initial commit

Signed-off-by: Alan Brault <alan.brault@visus.io>
This commit is contained in:
2026-08-04 10:39:00 -04:00
commit 89b52e2286
19 changed files with 1035 additions and 0 deletions
+78
View File
@@ -0,0 +1,78 @@
# macOS
.DS_Store
.AppleDouble
.LSOverride
Icon?
# Xcode
build/
DerivedData/
*.moved-aside
*.pbxuser
*.mode1v3
*.mode2v3
*.perspectivev3
!default.pbxuser
!default.mode1v3
!default.mode2v3
!default.perspectivev3
xcuserdata/
*.xcscmblueprint
*.xccheckout
*.xcworkspace/xcuserdata/
*.xcodeproj/xcuserdata/
*.xcodeproj/project.xcworkspace/xcuserdata/
# Xcode Patch
*.xcodeproj/*
!*.xcodeproj/project.pbxproj
!*.xcodeproj/xcshareddata/
!*.xcworkspace/contents.xcworkspacedata
/*.gcno
# Obj-C/Swift specific
*.hmap
# Swift Package Manager
.build/
.swiftpm/
Packages/*/.build/
Packages/*/.swiftpm/
Package.resolved
# CocoaPods
Pods/
# Carthage
Carthage/Build/
Carthage/Checkouts/
# fastlane
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output
# Code coverage / test artifacts
*.xcresult
*.gcda
*.gcov
# Playgrounds
timeline.xctimeline
playground.xcworkspace
# Crashlytics / Sentry
*.dSYM.zip
*.dSYM
# Environment / secrets
.env
.env.local
*.p12
*.mobileprovision
*.cer
# Editor
.vscode/
.idea/
+8
View File
@@ -0,0 +1,8 @@
.DS_Store
/.build
/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
+27
View File
@@ -0,0 +1,27 @@
// swift-tools-version: 6.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "TempestasDomain",
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "TempestasDomain",
targets: ["TempestasDomain"]
),
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "TempestasDomain"
),
.testTarget(
name: "TempestasDomainTests",
dependencies: ["TempestasDomain"]
),
],
swiftLanguageModes: [.v6]
)
@@ -0,0 +1,2 @@
// The Swift Programming Language
// https://docs.swift.org/swift-book
@@ -0,0 +1,8 @@
import Testing
@testable import TempestasDomain
@Test func example() async throws {
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
// Swift Testing Documentation
// https://developer.apple.com/documentation/testing
}
@@ -0,0 +1,8 @@
.DS_Store
/.build
/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
@@ -0,0 +1,30 @@
// swift-tools-version: 6.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "TempestasInfrastructure",
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "TempestasInfrastructure",
targets: ["TempestasInfrastructure"]
),
],
dependencies: [
.package(path: "../TempestasDomain")
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "TempestasInfrastructure"
),
.testTarget(
name: "TempestasInfrastructureTests",
dependencies: ["TempestasInfrastructure"]
),
],
swiftLanguageModes: [.v6]
)
@@ -0,0 +1,2 @@
// The Swift Programming Language
// https://docs.swift.org/swift-book
@@ -0,0 +1,8 @@
import Testing
@testable import TempestasInfrastructure
@Test func example() async throws {
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
// Swift Testing Documentation
// https://developer.apple.com/documentation/testing
}
+583
View File
@@ -0,0 +1,583 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 77;
objects = {
/* Begin PBXContainerItemProxy section */
F78655B7302222BD00869803 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = F786559F302222BC00869803 /* Project object */;
proxyType = 1;
remoteGlobalIDString = F78655A6302222BC00869803;
remoteInfo = Tempestas;
};
F78655C1302222BD00869803 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = F786559F302222BC00869803 /* Project object */;
proxyType = 1;
remoteGlobalIDString = F78655A6302222BC00869803;
remoteInfo = Tempestas;
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
F78655A7302222BC00869803 /* Tempestas.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Tempestas.app; sourceTree = BUILT_PRODUCTS_DIR; };
F78655B6302222BD00869803 /* TempestasTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TempestasTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
F78655C0302222BD00869803 /* TempestasUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TempestasUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFileSystemSynchronizedRootGroup section */
F78655A9302222BC00869803 /* Tempestas */ = {
isa = PBXFileSystemSynchronizedRootGroup;
path = Tempestas;
sourceTree = "<group>";
};
F78655B9302222BD00869803 /* TempestasTests */ = {
isa = PBXFileSystemSynchronizedRootGroup;
path = TempestasTests;
sourceTree = "<group>";
};
F78655C3302222BD00869803 /* TempestasUITests */ = {
isa = PBXFileSystemSynchronizedRootGroup;
path = TempestasUITests;
sourceTree = "<group>";
};
/* End PBXFileSystemSynchronizedRootGroup section */
/* Begin PBXFrameworksBuildPhase section */
F78655A4302222BC00869803 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
F78655B3302222BD00869803 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
F78655BD302222BD00869803 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
F786559E302222BC00869803 = {
isa = PBXGroup;
children = (
F78655A9302222BC00869803 /* Tempestas */,
F78655B9302222BD00869803 /* TempestasTests */,
F78655C3302222BD00869803 /* TempestasUITests */,
F78655A8302222BC00869803 /* Products */,
);
sourceTree = "<group>";
};
F78655A8302222BC00869803 /* Products */ = {
isa = PBXGroup;
children = (
F78655A7302222BC00869803 /* Tempestas.app */,
F78655B6302222BD00869803 /* TempestasTests.xctest */,
F78655C0302222BD00869803 /* TempestasUITests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
F78655A6302222BC00869803 /* Tempestas */ = {
isa = PBXNativeTarget;
buildConfigurationList = F78655CA302222BD00869803 /* Build configuration list for PBXNativeTarget "Tempestas" */;
buildPhases = (
F78655A3302222BC00869803 /* Sources */,
F78655A4302222BC00869803 /* Frameworks */,
F78655A5302222BC00869803 /* Resources */,
);
buildRules = (
);
dependencies = (
);
fileSystemSynchronizedGroups = (
F78655A9302222BC00869803 /* Tempestas */,
);
name = Tempestas;
packageProductDependencies = (
);
productName = Tempestas;
productReference = F78655A7302222BC00869803 /* Tempestas.app */;
productType = "com.apple.product-type.application";
};
F78655B5302222BD00869803 /* TempestasTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = F78655CD302222BD00869803 /* Build configuration list for PBXNativeTarget "TempestasTests" */;
buildPhases = (
F78655B2302222BD00869803 /* Sources */,
F78655B3302222BD00869803 /* Frameworks */,
F78655B4302222BD00869803 /* Resources */,
);
buildRules = (
);
dependencies = (
F78655B8302222BD00869803 /* PBXTargetDependency */,
);
fileSystemSynchronizedGroups = (
F78655B9302222BD00869803 /* TempestasTests */,
);
name = TempestasTests;
packageProductDependencies = (
);
productName = TempestasTests;
productReference = F78655B6302222BD00869803 /* TempestasTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
F78655BF302222BD00869803 /* TempestasUITests */ = {
isa = PBXNativeTarget;
buildConfigurationList = F78655D0302222BD00869803 /* Build configuration list for PBXNativeTarget "TempestasUITests" */;
buildPhases = (
F78655BC302222BD00869803 /* Sources */,
F78655BD302222BD00869803 /* Frameworks */,
F78655BE302222BD00869803 /* Resources */,
);
buildRules = (
);
dependencies = (
F78655C2302222BD00869803 /* PBXTargetDependency */,
);
fileSystemSynchronizedGroups = (
F78655C3302222BD00869803 /* TempestasUITests */,
);
name = TempestasUITests;
packageProductDependencies = (
);
productName = TempestasUITests;
productReference = F78655C0302222BD00869803 /* TempestasUITests.xctest */;
productType = "com.apple.product-type.bundle.ui-testing";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
F786559F302222BC00869803 /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 2660;
LastUpgradeCheck = 2660;
TargetAttributes = {
F78655A6302222BC00869803 = {
CreatedOnToolsVersion = 26.6;
};
F78655B5302222BD00869803 = {
CreatedOnToolsVersion = 26.6;
TestTargetID = F78655A6302222BC00869803;
};
F78655BF302222BD00869803 = {
CreatedOnToolsVersion = 26.6;
TestTargetID = F78655A6302222BC00869803;
};
};
};
buildConfigurationList = F78655A2302222BC00869803 /* Build configuration list for PBXProject "Tempestas" */;
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = F786559E302222BC00869803;
minimizedProjectReferenceProxies = 1;
packageReferences = (
F78655D43022237700869803 /* XCLocalSwiftPackageReference "Packages/TempestasDomain" */,
F78655D53022240400869803 /* XCLocalSwiftPackageReference "Packages/TempestasInfrastructure" */,
);
preferredProjectObjectVersion = 77;
productRefGroup = F78655A8302222BC00869803 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
F78655A6302222BC00869803 /* Tempestas */,
F78655B5302222BD00869803 /* TempestasTests */,
F78655BF302222BD00869803 /* TempestasUITests */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
F78655A5302222BC00869803 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
F78655B4302222BD00869803 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
F78655BE302222BD00869803 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
F78655A3302222BC00869803 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
F78655B2302222BD00869803 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
F78655BC302222BD00869803 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
F78655B8302222BD00869803 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = F78655A6302222BC00869803 /* Tempestas */;
targetProxy = F78655B7302222BD00869803 /* PBXContainerItemProxy */;
};
F78655C2302222BD00869803 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = F78655A6302222BC00869803 /* Tempestas */;
targetProxy = F78655C1302222BD00869803 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
F78655C8302222BD00869803 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MACOSX_DEPLOYMENT_TARGET = 26.5;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
F78655C9302222BD00869803 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MACOSX_DEPLOYMENT_TARGET = 26.5;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;
SWIFT_COMPILATION_MODE = wholemodule;
};
name = Release;
};
F78655CB302222BD00869803 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
ENABLE_APP_SANDBOX = YES;
ENABLE_PREVIEWS = YES;
ENABLE_USER_SELECTED_FILES = readonly;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = io.visus.Tempestas;
PRODUCT_NAME = "$(TARGET_NAME)";
REGISTER_APP_GROUPS = YES;
STRING_CATALOG_GENERATE_SYMBOLS = YES;
SWIFT_APPROACHABLE_CONCURRENCY = YES;
SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
SWIFT_VERSION = 5.0;
};
name = Debug;
};
F78655CC302222BD00869803 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
ENABLE_APP_SANDBOX = YES;
ENABLE_PREVIEWS = YES;
ENABLE_USER_SELECTED_FILES = readonly;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = io.visus.Tempestas;
PRODUCT_NAME = "$(TARGET_NAME)";
REGISTER_APP_GROUPS = YES;
STRING_CATALOG_GENERATE_SYMBOLS = YES;
SWIFT_APPROACHABLE_CONCURRENCY = YES;
SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
SWIFT_VERSION = 5.0;
};
name = Release;
};
F78655CE302222BD00869803 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MACOSX_DEPLOYMENT_TARGET = 26.5;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = io.visus.TempestasTests;
PRODUCT_NAME = "$(TARGET_NAME)";
STRING_CATALOG_GENERATE_SYMBOLS = NO;
SWIFT_APPROACHABLE_CONCURRENCY = YES;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Tempestas.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Tempestas";
};
name = Debug;
};
F78655CF302222BD00869803 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MACOSX_DEPLOYMENT_TARGET = 26.5;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = io.visus.TempestasTests;
PRODUCT_NAME = "$(TARGET_NAME)";
STRING_CATALOG_GENERATE_SYMBOLS = NO;
SWIFT_APPROACHABLE_CONCURRENCY = YES;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Tempestas.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Tempestas";
};
name = Release;
};
F78655D1302222BD00869803 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = io.visus.TempestasUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
STRING_CATALOG_GENERATE_SYMBOLS = NO;
SWIFT_APPROACHABLE_CONCURRENCY = YES;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
SWIFT_VERSION = 5.0;
TEST_TARGET_NAME = Tempestas;
};
name = Debug;
};
F78655D2302222BD00869803 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = io.visus.TempestasUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
STRING_CATALOG_GENERATE_SYMBOLS = NO;
SWIFT_APPROACHABLE_CONCURRENCY = YES;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
SWIFT_VERSION = 5.0;
TEST_TARGET_NAME = Tempestas;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
F78655A2302222BC00869803 /* Build configuration list for PBXProject "Tempestas" */ = {
isa = XCConfigurationList;
buildConfigurations = (
F78655C8302222BD00869803 /* Debug */,
F78655C9302222BD00869803 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
F78655CA302222BD00869803 /* Build configuration list for PBXNativeTarget "Tempestas" */ = {
isa = XCConfigurationList;
buildConfigurations = (
F78655CB302222BD00869803 /* Debug */,
F78655CC302222BD00869803 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
F78655CD302222BD00869803 /* Build configuration list for PBXNativeTarget "TempestasTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
F78655CE302222BD00869803 /* Debug */,
F78655CF302222BD00869803 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
F78655D0302222BD00869803 /* Build configuration list for PBXNativeTarget "TempestasUITests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
F78655D1302222BD00869803 /* Debug */,
F78655D2302222BD00869803 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
/* Begin XCLocalSwiftPackageReference section */
F78655D43022237700869803 /* XCLocalSwiftPackageReference "Packages/TempestasDomain" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = Packages/TempestasDomain;
};
F78655D53022240400869803 /* XCLocalSwiftPackageReference "Packages/TempestasInfrastructure" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = Packages/TempestasInfrastructure;
};
/* End XCLocalSwiftPackageReference section */
};
rootObject = F786559F302222BC00869803 /* Project object */;
}
@@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
@@ -0,0 +1,58 @@
{
"images" : [
{
"idiom" : "mac",
"scale" : "1x",
"size" : "16x16"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "16x16"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "32x32"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "32x32"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "128x128"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "128x128"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "256x256"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "256x256"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "512x512"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "512x512"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
+6
View File
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
+59
View File
@@ -0,0 +1,59 @@
//
// ContentView.swift
// Tempestas
//
// Created by Alan Brault on 8/4/26.
//
import SwiftUI
import SwiftData
struct ContentView: View {
@Environment(\.modelContext) private var modelContext
@Query private var items: [Item]
var body: some View {
NavigationSplitView {
List {
ForEach(items) { item in
NavigationLink {
Text("Item at \(item.timestamp, format: Date.FormatStyle(date: .numeric, time: .standard))")
} label: {
Text(item.timestamp, format: Date.FormatStyle(date: .numeric, time: .standard))
}
}
.onDelete(perform: deleteItems)
}
.navigationSplitViewColumnWidth(min: 180, ideal: 200)
.toolbar {
ToolbarItem {
Button(action: addItem) {
Label("Add Item", systemImage: "plus")
}
}
}
} detail: {
Text("Select an item")
}
}
private func addItem() {
withAnimation {
let newItem = Item(timestamp: Date())
modelContext.insert(newItem)
}
}
private func deleteItems(offsets: IndexSet) {
withAnimation {
for index in offsets {
modelContext.delete(items[index])
}
}
}
}
#Preview {
ContentView()
.modelContainer(for: Item.self, inMemory: true)
}
+18
View File
@@ -0,0 +1,18 @@
//
// Item.swift
// Tempestas
//
// Created by Alan Brault on 8/4/26.
//
import Foundation
import SwiftData
@Model
final class Item {
var timestamp: Date
init(timestamp: Date) {
self.timestamp = timestamp
}
}
+32
View File
@@ -0,0 +1,32 @@
//
// TempestasApp.swift
// Tempestas
//
// Created by Alan Brault on 8/4/26.
//
import SwiftUI
import SwiftData
@main
struct TempestasApp: App {
var sharedModelContainer: ModelContainer = {
let schema = Schema([
Item.self,
])
let modelConfiguration = ModelConfiguration(schema: schema, isStoredInMemoryOnly: false)
do {
return try ModelContainer(for: schema, configurations: [modelConfiguration])
} catch {
fatalError("Could not create ModelContainer: \(error)")
}
}()
var body: some Scene {
WindowGroup {
ContentView()
}
.modelContainer(sharedModelContainer)
}
}
+19
View File
@@ -0,0 +1,19 @@
//
// TempestasTests.swift
// TempestasTests
//
// Created by Alan Brault on 8/4/26.
//
import Testing
@testable import Tempestas
struct TempestasTests {
@Test func example() async throws {
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
// Swift Testing Documentation
// https://developer.apple.com/documentation/testing
}
}
+43
View File
@@ -0,0 +1,43 @@
//
// TempestasUITests.swift
// TempestasUITests
//
// Created by Alan Brault on 8/4/26.
//
import XCTest
final class TempestasUITests: XCTestCase {
override func setUpWithError() throws {
// Put setup code here. This method is called before the invocation of each test method in the class.
// In UI tests it is usually best to stop immediately when a failure occurs.
continueAfterFailure = false
// In UI tests its important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
}
override func tearDownWithError() throws {
// Put teardown code here. This method is called after the invocation of each test method in the class.
}
@MainActor
func testExample() throws {
// UI tests must launch the application that they test.
let app = XCUIApplication()
app.launch()
// Use XCTAssert and related functions to verify your tests produce the correct results.
// XCUIAutomation Documentation
// https://developer.apple.com/documentation/xcuiautomation
}
@MainActor
func testLaunchPerformance() throws {
// This measures how long it takes to launch your application.
measure(metrics: [XCTApplicationLaunchMetric()]) {
XCUIApplication().launch()
}
}
}
@@ -0,0 +1,35 @@
//
// TempestasUITestsLaunchTests.swift
// TempestasUITests
//
// Created by Alan Brault on 8/4/26.
//
import XCTest
final class TempestasUITestsLaunchTests: XCTestCase {
override class var runsForEachTargetApplicationUIConfiguration: Bool {
true
}
override func setUpWithError() throws {
continueAfterFailure = false
}
@MainActor
func testLaunch() throws {
let app = XCUIApplication()
app.launch()
// Insert steps here to perform after app launch but before taking a screenshot,
// such as logging into a test account or navigating somewhere in the app
// XCUIAutomation Documentation
// https://developer.apple.com/documentation/xcuiautomation
let attachment = XCTAttachment(screenshot: app.screenshot())
attachment.name = "Launch Screen"
attachment.lifetime = .keepAlways
add(attachment)
}
}