This commit is contained in:
2024-01-16 22:55:44 +08:00
commit b4f90a9019
36 changed files with 1282 additions and 0 deletions

View File

@@ -0,0 +1,681 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 56;
objects = {
/* Begin PBXBuildFile section */
963267362B56C65600D7FAC9 /* TabbarView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 963267352B56C65600D7FAC9 /* TabbarView.swift */; };
963267382B56C6EF00D7FAC9 /* UserView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 963267372B56C6EF00D7FAC9 /* UserView.swift */; };
9632673B2B56C77500D7FAC9 /* ExploreView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9632673A2B56C77500D7FAC9 /* ExploreView.swift */; };
963267422B56CAD900D7FAC9 /* UserCardComponent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 963267412B56CAD900D7FAC9 /* UserCardComponent.swift */; };
963267472B56CEA100D7FAC9 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 963267462B56CEA100D7FAC9 /* ViewController.swift */; };
9634A8F32B569860007C90C0 /* MyApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9634A8F22B569860007C90C0 /* MyApp.swift */; };
9634A8F52B569860007C90C0 /* HomeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9634A8F42B569860007C90C0 /* HomeView.swift */; };
9634A8F92B569862007C90C0 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9634A8F82B569862007C90C0 /* Assets.xcassets */; };
9634A8FC2B569862007C90C0 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9634A8FB2B569862007C90C0 /* Preview Assets.xcassets */; };
9634A9062B569862007C90C0 /* jasonTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9634A9052B569862007C90C0 /* jasonTests.swift */; };
9634A9102B569862007C90C0 /* jasonUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9634A90F2B569862007C90C0 /* jasonUITests.swift */; };
9634A9122B569862007C90C0 /* jasonUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9634A9112B569862007C90C0 /* jasonUITestsLaunchTests.swift */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
9634A9022B569862007C90C0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 9634A8E72B569860007C90C0 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 9634A8EE2B569860007C90C0;
remoteInfo = jason;
};
9634A90C2B569862007C90C0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 9634A8E72B569860007C90C0 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 9634A8EE2B569860007C90C0;
remoteInfo = jason;
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
963267342B56C56700D7FAC9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
963267352B56C65600D7FAC9 /* TabbarView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TabbarView.swift; sourceTree = "<group>"; };
963267372B56C6EF00D7FAC9 /* UserView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserView.swift; sourceTree = "<group>"; };
9632673A2B56C77500D7FAC9 /* ExploreView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExploreView.swift; sourceTree = "<group>"; };
963267412B56CAD900D7FAC9 /* UserCardComponent.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserCardComponent.swift; sourceTree = "<group>"; };
963267462B56CEA100D7FAC9 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
9634A8EF2B569860007C90C0 /* jason.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = jason.app; sourceTree = BUILT_PRODUCTS_DIR; };
9634A8F22B569860007C90C0 /* MyApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyApp.swift; sourceTree = "<group>"; };
9634A8F42B569860007C90C0 /* HomeView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeView.swift; sourceTree = "<group>"; };
9634A8F82B569862007C90C0 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
9634A8FB2B569862007C90C0 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
9634A9012B569862007C90C0 /* jasonTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = jasonTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
9634A9052B569862007C90C0 /* jasonTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = jasonTests.swift; sourceTree = "<group>"; };
9634A90B2B569862007C90C0 /* jasonUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = jasonUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
9634A90F2B569862007C90C0 /* jasonUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = jasonUITests.swift; sourceTree = "<group>"; };
9634A9112B569862007C90C0 /* jasonUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = jasonUITestsLaunchTests.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
9634A8EC2B569860007C90C0 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
9634A8FE2B569862007C90C0 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
9634A9082B569862007C90C0 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
9632673C2B56C88D00D7FAC9 /* Home */ = {
isa = PBXGroup;
children = (
9634A8F42B569860007C90C0 /* HomeView.swift */,
);
path = Home;
sourceTree = "<group>";
};
9632673D2B56C89900D7FAC9 /* User */ = {
isa = PBXGroup;
children = (
963267372B56C6EF00D7FAC9 /* UserView.swift */,
);
path = User;
sourceTree = "<group>";
};
9632673E2B56C8BD00D7FAC9 /* Explore */ = {
isa = PBXGroup;
children = (
9632673A2B56C77500D7FAC9 /* ExploreView.swift */,
);
path = Explore;
sourceTree = "<group>";
};
9632673F2B56CA9E00D7FAC9 /* Components */ = {
isa = PBXGroup;
children = (
963267412B56CAD900D7FAC9 /* UserCardComponent.swift */,
);
path = Components;
sourceTree = "<group>";
};
9634A8E62B569860007C90C0 = {
isa = PBXGroup;
children = (
9634A8F12B569860007C90C0 /* jason */,
9634A9042B569862007C90C0 /* jasonTests */,
9634A90E2B569862007C90C0 /* jasonUITests */,
9634A8F02B569860007C90C0 /* Products */,
);
sourceTree = "<group>";
};
9634A8F02B569860007C90C0 /* Products */ = {
isa = PBXGroup;
children = (
9634A8EF2B569860007C90C0 /* jason.app */,
9634A9012B569862007C90C0 /* jasonTests.xctest */,
9634A90B2B569862007C90C0 /* jasonUITests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
9634A8F12B569860007C90C0 /* jason */ = {
isa = PBXGroup;
children = (
9634A91E2B5698A2007C90C0 /* Controllers */,
9632673F2B56CA9E00D7FAC9 /* Components */,
9634A9202B5698B0007C90C0 /* Models */,
9634A91F2B5698AB007C90C0 /* Views */,
9634A8F22B569860007C90C0 /* MyApp.swift */,
9634A8F82B569862007C90C0 /* Assets.xcassets */,
963267342B56C56700D7FAC9 /* Info.plist */,
9634A8FA2B569862007C90C0 /* Preview Content */,
);
path = jason;
sourceTree = "<group>";
};
9634A8FA2B569862007C90C0 /* Preview Content */ = {
isa = PBXGroup;
children = (
9634A8FB2B569862007C90C0 /* Preview Assets.xcassets */,
);
path = "Preview Content";
sourceTree = "<group>";
};
9634A9042B569862007C90C0 /* jasonTests */ = {
isa = PBXGroup;
children = (
9634A9052B569862007C90C0 /* jasonTests.swift */,
);
path = jasonTests;
sourceTree = "<group>";
};
9634A90E2B569862007C90C0 /* jasonUITests */ = {
isa = PBXGroup;
children = (
9634A90F2B569862007C90C0 /* jasonUITests.swift */,
9634A9112B569862007C90C0 /* jasonUITestsLaunchTests.swift */,
);
path = jasonUITests;
sourceTree = "<group>";
};
9634A91E2B5698A2007C90C0 /* Controllers */ = {
isa = PBXGroup;
children = (
963267462B56CEA100D7FAC9 /* ViewController.swift */,
);
path = Controllers;
sourceTree = "<group>";
};
9634A91F2B5698AB007C90C0 /* Views */ = {
isa = PBXGroup;
children = (
963267352B56C65600D7FAC9 /* TabbarView.swift */,
9632673E2B56C8BD00D7FAC9 /* Explore */,
9632673C2B56C88D00D7FAC9 /* Home */,
9632673D2B56C89900D7FAC9 /* User */,
);
path = Views;
sourceTree = "<group>";
};
9634A9202B5698B0007C90C0 /* Models */ = {
isa = PBXGroup;
children = (
);
path = Models;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
9634A8EE2B569860007C90C0 /* jason */ = {
isa = PBXNativeTarget;
buildConfigurationList = 9634A9152B569862007C90C0 /* Build configuration list for PBXNativeTarget "jason" */;
buildPhases = (
9634A8EB2B569860007C90C0 /* Sources */,
9634A8EC2B569860007C90C0 /* Frameworks */,
9634A8ED2B569860007C90C0 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = jason;
productName = jason;
productReference = 9634A8EF2B569860007C90C0 /* jason.app */;
productType = "com.apple.product-type.application";
};
9634A9002B569862007C90C0 /* jasonTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 9634A9182B569862007C90C0 /* Build configuration list for PBXNativeTarget "jasonTests" */;
buildPhases = (
9634A8FD2B569862007C90C0 /* Sources */,
9634A8FE2B569862007C90C0 /* Frameworks */,
9634A8FF2B569862007C90C0 /* Resources */,
);
buildRules = (
);
dependencies = (
9634A9032B569862007C90C0 /* PBXTargetDependency */,
);
name = jasonTests;
productName = jasonTests;
productReference = 9634A9012B569862007C90C0 /* jasonTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
9634A90A2B569862007C90C0 /* jasonUITests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 9634A91B2B569862007C90C0 /* Build configuration list for PBXNativeTarget "jasonUITests" */;
buildPhases = (
9634A9072B569862007C90C0 /* Sources */,
9634A9082B569862007C90C0 /* Frameworks */,
9634A9092B569862007C90C0 /* Resources */,
);
buildRules = (
);
dependencies = (
9634A90D2B569862007C90C0 /* PBXTargetDependency */,
);
name = jasonUITests;
productName = jasonUITests;
productReference = 9634A90B2B569862007C90C0 /* jasonUITests.xctest */;
productType = "com.apple.product-type.bundle.ui-testing";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
9634A8E72B569860007C90C0 /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 1520;
LastUpgradeCheck = 1520;
TargetAttributes = {
9634A8EE2B569860007C90C0 = {
CreatedOnToolsVersion = 15.2;
};
9634A9002B569862007C90C0 = {
CreatedOnToolsVersion = 15.2;
TestTargetID = 9634A8EE2B569860007C90C0;
};
9634A90A2B569862007C90C0 = {
CreatedOnToolsVersion = 15.2;
TestTargetID = 9634A8EE2B569860007C90C0;
};
};
};
buildConfigurationList = 9634A8EA2B569860007C90C0 /* Build configuration list for PBXProject "jason" */;
compatibilityVersion = "Xcode 14.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 9634A8E62B569860007C90C0;
productRefGroup = 9634A8F02B569860007C90C0 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
9634A8EE2B569860007C90C0 /* jason */,
9634A9002B569862007C90C0 /* jasonTests */,
9634A90A2B569862007C90C0 /* jasonUITests */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
9634A8ED2B569860007C90C0 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
9634A8FC2B569862007C90C0 /* Preview Assets.xcassets in Resources */,
9634A8F92B569862007C90C0 /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
9634A8FF2B569862007C90C0 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
9634A9092B569862007C90C0 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
9634A8EB2B569860007C90C0 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
963267362B56C65600D7FAC9 /* TabbarView.swift in Sources */,
9634A8F52B569860007C90C0 /* HomeView.swift in Sources */,
9634A8F32B569860007C90C0 /* MyApp.swift in Sources */,
963267382B56C6EF00D7FAC9 /* UserView.swift in Sources */,
963267422B56CAD900D7FAC9 /* UserCardComponent.swift in Sources */,
963267472B56CEA100D7FAC9 /* ViewController.swift in Sources */,
9632673B2B56C77500D7FAC9 /* ExploreView.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
9634A8FD2B569862007C90C0 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
9634A9062B569862007C90C0 /* jasonTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
9634A9072B569862007C90C0 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
9634A9122B569862007C90C0 /* jasonUITestsLaunchTests.swift in Sources */,
9634A9102B569862007C90C0 /* jasonUITests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
9634A9032B569862007C90C0 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 9634A8EE2B569860007C90C0 /* jason */;
targetProxy = 9634A9022B569862007C90C0 /* PBXContainerItemProxy */;
};
9634A90D2B569862007C90C0 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 9634A8EE2B569860007C90C0 /* jason */;
targetProxy = 9634A90C2B569862007C90C0 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
9634A9132B569862007C90C0 /* 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;
IPHONEOS_DEPLOYMENT_TARGET = 17.2;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
9634A9142B569862007C90C0 /* 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;
IPHONEOS_DEPLOYMENT_TARGET = 17.2;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
9634A9162B569862007C90C0 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"jason/Preview Content\"";
DEVELOPMENT_TEAM = X6G557VKB9;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = jason/Info.plist;
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = tech.uzchain.jason;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
};
name = Debug;
};
9634A9172B569862007C90C0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"jason/Preview Content\"";
DEVELOPMENT_TEAM = X6G557VKB9;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = jason/Info.plist;
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = tech.uzchain.jason;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
};
name = Release;
};
9634A9192B569862007C90C0 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = X6G557VKB9;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.2;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = tech.uzchain.jasonTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/jason.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/jason";
};
name = Debug;
};
9634A91A2B569862007C90C0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = X6G557VKB9;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.2;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = tech.uzchain.jasonTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/jason.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/jason";
};
name = Release;
};
9634A91C2B569862007C90C0 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = X6G557VKB9;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = tech.uzchain.jasonUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = jason;
};
name = Debug;
};
9634A91D2B569862007C90C0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = X6G557VKB9;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = tech.uzchain.jasonUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = jason;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
9634A8EA2B569860007C90C0 /* Build configuration list for PBXProject "jason" */ = {
isa = XCConfigurationList;
buildConfigurations = (
9634A9132B569862007C90C0 /* Debug */,
9634A9142B569862007C90C0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
9634A9152B569862007C90C0 /* Build configuration list for PBXNativeTarget "jason" */ = {
isa = XCConfigurationList;
buildConfigurations = (
9634A9162B569862007C90C0 /* Debug */,
9634A9172B569862007C90C0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
9634A9182B569862007C90C0 /* Build configuration list for PBXNativeTarget "jasonTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
9634A9192B569862007C90C0 /* Debug */,
9634A91A2B569862007C90C0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
9634A91B2B569862007C90C0 /* Build configuration list for PBXNativeTarget "jasonUITests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
9634A91C2B569862007C90C0 /* Debug */,
9634A91D2B569862007C90C0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 9634A8E72B569860007C90C0 /* Project object */;
}

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
uuid = "D4B548CB-32B7-47E3-B760-44C73FA60ABE"
type = "1"
version = "2.0">
</Bucket>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>jason.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
</dict>
</plist>

View File

@@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -0,0 +1,14 @@
{
"images" : [
{
"filename" : "logo.jpg",
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

View File

@@ -0,0 +1,38 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x00",
"green" : "0x66",
"red" : "0xFF"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xFF",
"green" : "0x66",
"red" : "0x00"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -0,0 +1,38 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x23",
"green" : "0x23",
"red" : "0x23"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xEF",
"green" : "0xEF",
"red" : "0xEF"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -0,0 +1,38 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xFF",
"green" : "0xFF",
"red" : "0xFF"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x00",
"green" : "0x00",
"red" : "0x00"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 KiB

View File

@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "413.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 503 KiB

View File

@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "420.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

View File

@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "476.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "3.jpg",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -0,0 +1,39 @@
//
// UserCardComponent.swift
// jason
//
// Created by Jason on 2024/1/16.
//
import SwiftUI
struct UserCardComponent: View {
var body: some View {
VStack (alignment: .leading, spacing: 8, content: {
Spacer()
Image("Images/logo")
.resizable(resizingMode: /*@START_MENU_TOKEN@*/.stretch/*@END_MENU_TOKEN@*/)
.aspectRatio(contentMode: .fit)
.cornerRadius(8)
.frame(width: 64,height: 64)
Text("Jason.Chen")
.font(.largeTitle)
.foregroundColor(Color("ReversColor"))
Text("PlaceholderPlaceholderPlaceholderPlaceholderPlaceholderPlaceholderPlaceholderPlaceholderPlaceholderPlaceholderPlaceholderPlaceholderPlaceholderPlaceholder")
.font(.headline)
.foregroundColor(Color("ReversColor"))
.lineLimit(2)
.multilineTextAlignment(/*@START_MENU_TOKEN@*/.leading/*@END_MENU_TOKEN@*/)
})
.padding(.all, 20)
.frame(height: 300)
.background(.ultraThinMaterial)
.cornerRadius(10)
.shadow(radius: 20)
.padding(.horizontal, 10)
}
}
#Preview {
UserCardComponent()
}

View File

@@ -0,0 +1,17 @@
//
// ViewController.swift
// jason
//
// Created by Jason on 2024/1/16.
//
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
}

5
jason/Info.plist Normal file
View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict/>
</plist>

18
jason/Item.swift Normal file
View File

@@ -0,0 +1,18 @@
//
// Item.swift
// jason
//
// Created by Jason on 2024/1/16.
//
import Foundation
import SwiftData
@Model
final class Item {
var timestamp: Date
init(timestamp: Date) {
self.timestamp = timestamp
}
}

18
jason/MyApp.swift Normal file
View File

@@ -0,0 +1,18 @@
//
// jasonApp.swift
// jason
//
// Created by Jason on 2024/1/16.
//
import SwiftUI
import SwiftData
@main
struct MyApp: App {
var body: some Scene {
WindowGroup {
TabbarView()
}
}
}

View File

@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -0,0 +1,24 @@
//
// ExploreView.swift
// jason
//
// Created by Jason on 2024/1/16.
//
import SwiftUI
struct ExploreView: View {
var body: some View {
ScrollView {
VStack (alignment: .leading) {
UserCardComponent()
Text("item")
}
}
.background(Color.green)
}
}
#Preview {
ExploreView()
}

View File

@@ -0,0 +1,24 @@
//
// ContentView.swift
// jason
//
// Created by Jason on 2024/1/16.
//
import SwiftUI
import SwiftData
struct HomeView: View {
var body: some View {
ScrollView{
VStack(alignment: .leading, content: {
UserCardComponent()
})
}
.background(Color.orange)
}
}
#Preview {
HomeView()
}

View File

@@ -0,0 +1,38 @@
//
// TabbarView.swift
// jason
//
// Created by Jason on 2024/1/16.
//
import SwiftUI
struct TabbarView: View {
var body: some View {
TabView() {
HomeView()
.tabItem {
Image(systemName: "house")
Text("Home")
}
.tag(1)
ExploreView()
.tabItem {
Image(systemName: "magnifyingglass")
Text("Explore")
}
.tag(2)
UserView()
.tabItem {
Image(systemName: "person")
Text("User")
}
.tag(3)
}
.background(Color.white)
}
}
#Preview {
TabbarView()
}

View File

@@ -0,0 +1,24 @@
//
// UserView.swift
// jason
//
// Created by Jason on 2024/1/16.
//
import SwiftUI
struct UserView: View {
var body: some View {
ScrollView {
VStack (alignment: .leading) {
UserCardComponent()
Text("item")
}
}
.background(Color.red)
}
}
#Preview {
UserView()
}

View File

@@ -0,0 +1,36 @@
//
// jasonTests.swift
// jasonTests
//
// Created by Jason on 2024/1/16.
//
import XCTest
@testable import jason
final class jasonTests: XCTestCase {
override func setUpWithError() throws {
// Put setup code here. This method is called before the invocation of each test method in the class.
}
override func tearDownWithError() throws {
// Put teardown code here. This method is called after the invocation of each test method in the class.
}
func testExample() throws {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct results.
// Any test you write for XCTest can be annotated as throws and async.
// Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
// Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards.
}
func testPerformanceExample() throws {
// This is an example of a performance test case.
self.measure {
// Put the code you want to measure the time of here.
}
}
}

View File

@@ -0,0 +1,41 @@
//
// jasonUITests.swift
// jasonUITests
//
// Created by Jason on 2024/1/16.
//
import XCTest
final class jasonUITests: 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.
}
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.
}
func testLaunchPerformance() throws {
if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) {
// This measures how long it takes to launch your application.
measure(metrics: [XCTApplicationLaunchMetric()]) {
XCUIApplication().launch()
}
}
}
}

View File

@@ -0,0 +1,32 @@
//
// jasonUITestsLaunchTests.swift
// jasonUITests
//
// Created by Jason on 2024/1/16.
//
import XCTest
final class jasonUITestsLaunchTests: XCTestCase {
override class var runsForEachTargetApplicationUIConfiguration: Bool {
true
}
override func setUpWithError() throws {
continueAfterFailure = false
}
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
let attachment = XCTAttachment(screenshot: app.screenshot())
attachment.name = "Launch Screen"
attachment.lifetime = .keepAlways
add(attachment)
}
}