From 378c04b1afb4eaa6f62a9befd3fdd50961ba6309 Mon Sep 17 00:00:00 2001 From: Louis Hollingworth Date: Mon, 8 May 2023 16:16:04 +0100 Subject: [PATCH] Initial commit Signed-off-by: Louis Hollingworth --- .gitignore | 135 +++++++ mactrix.xcodeproj/project.pbxproj | 341 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcschemes/xcschememanagement.plist | 14 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 58 +++ mactrix/Assets.xcassets/Contents.json | 6 + mactrix/ContentView.swift | 26 ++ .../Preview Assets.xcassets/Contents.json | 6 + mactrix/mactrix.entitlements | 10 + mactrix/mactrixApp.swift | 17 + 12 files changed, 639 insertions(+) create mode 100644 .gitignore create mode 100644 mactrix.xcodeproj/project.pbxproj create mode 100644 mactrix.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 mactrix.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 mactrix.xcodeproj/xcuserdata/lucxjo.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 mactrix/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 mactrix/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 mactrix/Assets.xcassets/Contents.json create mode 100644 mactrix/ContentView.swift create mode 100644 mactrix/Preview Content/Preview Assets.xcassets/Contents.json create mode 100644 mactrix/mactrix.entitlements create mode 100644 mactrix/mactrixApp.swift diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a5775cf --- /dev/null +++ b/.gitignore @@ -0,0 +1,135 @@ + +# Created by https://www.toptal.com/developers/gitignore/api/macos,xcode,swift +# Edit at https://www.toptal.com/developers/gitignore?templates=macos,xcode,swift + +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### macOS Patch ### +# iCloud generated files +*.icloud + +### Swift ### +# Xcode +# +# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore + +## User settings +xcuserdata/ + +## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) +*.xcscmblueprint +*.xccheckout + +## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) +build/ +DerivedData/ +*.moved-aside +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 + +## Obj-C/Swift specific +*.hmap + +## App packaging +*.ipa +*.dSYM.zip +*.dSYM + +## Playgrounds +timeline.xctimeline +playground.xcworkspace + +# Swift Package Manager +# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. +# Packages/ +# Package.pins +# Package.resolved +# *.xcodeproj +# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata +# hence it is not needed unless you have added a package configuration file to your project +# .swiftpm + +.build/ + +# CocoaPods +# We recommend against adding the Pods directory to your .gitignore. However +# you should judge for yourself, the pros and cons are mentioned at: +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control +# Pods/ +# Add this line if you want to avoid checking in source code from the Xcode workspace +# *.xcworkspace + +# Carthage +# Add this line if you want to avoid checking in source code from Carthage dependencies. +# Carthage/Checkouts + +Carthage/Build/ + +# Accio dependency management +Dependencies/ +.accio/ + +# fastlane +# It is recommended to not store the screenshots in the git repo. +# Instead, use fastlane to re-generate the screenshots whenever they are needed. +# For more information about the recommended setup visit: +# https://docs.fastlane.tools/best-practices/source-control/#source-control + +fastlane/report.xml +fastlane/Preview.html +fastlane/screenshots/**/*.png +fastlane/test_output + +# Code Injection +# After new code Injection tools there's a generated folder /iOSInjectionProject +# https://github.com/johnno1962/injectionforxcode + +iOSInjectionProject/ + +### Xcode ### + +## Xcode 8 and earlier + +### Xcode Patch ### +*.xcodeproj/* +!*.xcodeproj/project.pbxproj +!*.xcodeproj/xcshareddata/ +!*.xcodeproj/project.xcworkspace/ +!*.xcworkspace/contents.xcworkspacedata +/*.gcno +**/xcshareddata/WorkspaceSettings.xcsettings + +# End of https://www.toptal.com/developers/gitignore/api/macos,xcode,swift diff --git a/mactrix.xcodeproj/project.pbxproj b/mactrix.xcodeproj/project.pbxproj new file mode 100644 index 0000000..a632c3a --- /dev/null +++ b/mactrix.xcodeproj/project.pbxproj @@ -0,0 +1,341 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 86A2002A2A0946B200480D79 /* mactrixApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 86A200292A0946B200480D79 /* mactrixApp.swift */; }; + 86A2002C2A0946B200480D79 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 86A2002B2A0946B200480D79 /* ContentView.swift */; }; + 86A2002E2A0946B400480D79 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 86A2002D2A0946B400480D79 /* Assets.xcassets */; }; + 86A200312A0946B400480D79 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 86A200302A0946B400480D79 /* Preview Assets.xcassets */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 86A200262A0946B200480D79 /* mactrix.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = mactrix.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 86A200292A0946B200480D79 /* mactrixApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = mactrixApp.swift; sourceTree = ""; }; + 86A2002B2A0946B200480D79 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + 86A2002D2A0946B400480D79 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 86A200302A0946B400480D79 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 86A200322A0946B400480D79 /* mactrix.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = mactrix.entitlements; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 86A200232A0946B200480D79 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 86A2001D2A0946B200480D79 = { + isa = PBXGroup; + children = ( + 86A200282A0946B200480D79 /* mactrix */, + 86A200272A0946B200480D79 /* Products */, + ); + sourceTree = ""; + }; + 86A200272A0946B200480D79 /* Products */ = { + isa = PBXGroup; + children = ( + 86A200262A0946B200480D79 /* mactrix.app */, + ); + name = Products; + sourceTree = ""; + }; + 86A200282A0946B200480D79 /* mactrix */ = { + isa = PBXGroup; + children = ( + 86A200292A0946B200480D79 /* mactrixApp.swift */, + 86A2002B2A0946B200480D79 /* ContentView.swift */, + 86A2002D2A0946B400480D79 /* Assets.xcassets */, + 86A200322A0946B400480D79 /* mactrix.entitlements */, + 86A2002F2A0946B400480D79 /* Preview Content */, + ); + path = mactrix; + sourceTree = ""; + }; + 86A2002F2A0946B400480D79 /* Preview Content */ = { + isa = PBXGroup; + children = ( + 86A200302A0946B400480D79 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 86A200252A0946B200480D79 /* mactrix */ = { + isa = PBXNativeTarget; + buildConfigurationList = 86A200352A0946B400480D79 /* Build configuration list for PBXNativeTarget "mactrix" */; + buildPhases = ( + 86A200222A0946B200480D79 /* Sources */, + 86A200232A0946B200480D79 /* Frameworks */, + 86A200242A0946B200480D79 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = mactrix; + productName = mactrix; + productReference = 86A200262A0946B200480D79 /* mactrix.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 86A2001E2A0946B200480D79 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1430; + LastUpgradeCheck = 1430; + TargetAttributes = { + 86A200252A0946B200480D79 = { + CreatedOnToolsVersion = 14.3; + }; + }; + }; + buildConfigurationList = 86A200212A0946B200480D79 /* Build configuration list for PBXProject "mactrix" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 86A2001D2A0946B200480D79; + productRefGroup = 86A200272A0946B200480D79 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 86A200252A0946B200480D79 /* mactrix */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 86A200242A0946B200480D79 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 86A200312A0946B400480D79 /* Preview Assets.xcassets in Resources */, + 86A2002E2A0946B400480D79 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 86A200222A0946B200480D79 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 86A2002C2A0946B200480D79 /* ContentView.swift in Sources */, + 86A2002A2A0946B200480D79 /* mactrixApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 86A200332A0946B400480D79 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + 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; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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; + MACOSX_DEPLOYMENT_TARGET = 13.3; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 86A200342A0946B400480D79 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + 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; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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; + MACOSX_DEPLOYMENT_TARGET = 13.3; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = macosx; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + }; + name = Release; + }; + 86A200362A0946B400480D79 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = mactrix/mactrix.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"mactrix/Preview Content\""; + DEVELOPMENT_TEAM = B3KNJS4PLM; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = ch.ludoviko.mactrix; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + 86A200372A0946B400480D79 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = mactrix/mactrix.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"mactrix/Preview Content\""; + DEVELOPMENT_TEAM = B3KNJS4PLM; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = ch.ludoviko.mactrix; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 86A200212A0946B200480D79 /* Build configuration list for PBXProject "mactrix" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 86A200332A0946B400480D79 /* Debug */, + 86A200342A0946B400480D79 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 86A200352A0946B400480D79 /* Build configuration list for PBXNativeTarget "mactrix" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 86A200362A0946B400480D79 /* Debug */, + 86A200372A0946B400480D79 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 86A2001E2A0946B200480D79 /* Project object */; +} diff --git a/mactrix.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/mactrix.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/mactrix.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/mactrix.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/mactrix.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/mactrix.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/mactrix.xcodeproj/xcuserdata/lucxjo.xcuserdatad/xcschemes/xcschememanagement.plist b/mactrix.xcodeproj/xcuserdata/lucxjo.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..5d87bb2 --- /dev/null +++ b/mactrix.xcodeproj/xcuserdata/lucxjo.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + mactrix.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/mactrix/Assets.xcassets/AccentColor.colorset/Contents.json b/mactrix/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/mactrix/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/mactrix/Assets.xcassets/AppIcon.appiconset/Contents.json b/mactrix/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..3f00db4 --- /dev/null +++ b/mactrix/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -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 + } +} diff --git a/mactrix/Assets.xcassets/Contents.json b/mactrix/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/mactrix/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/mactrix/ContentView.swift b/mactrix/ContentView.swift new file mode 100644 index 0000000..70075f8 --- /dev/null +++ b/mactrix/ContentView.swift @@ -0,0 +1,26 @@ +// +// ContentView.swift +// mactrix +// +// Created by Louis Hollingworth on 2023-05-08. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + VStack { + Image(systemName: "globe") + .imageScale(.large) + .foregroundColor(.accentColor) + Text("Hello, world!") + } + .padding() + } +} + +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + ContentView() + } +} diff --git a/mactrix/Preview Content/Preview Assets.xcassets/Contents.json b/mactrix/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/mactrix/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/mactrix/mactrix.entitlements b/mactrix/mactrix.entitlements new file mode 100644 index 0000000..f2ef3ae --- /dev/null +++ b/mactrix/mactrix.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + + diff --git a/mactrix/mactrixApp.swift b/mactrix/mactrixApp.swift new file mode 100644 index 0000000..dd77e22 --- /dev/null +++ b/mactrix/mactrixApp.swift @@ -0,0 +1,17 @@ +// +// mactrixApp.swift +// mactrix +// +// Created by Louis Hollingworth on 2023-05-08. +// + +import SwiftUI + +@main +struct mactrixApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +}