lnlink

iOS app for connecting to lightning nodes
git clone git://jb55.com/lnlink
Log | Files | Refs | Submodules | README

commit bc5d5198a156fe7d94e4ba219ebd933a5595275c
Author: William Casarin <jb55@jb55.com>
Date:   Fri,  7 Jan 2022 15:07:33 -0800

Initial Commit

Diffstat:
Alightninglink.xcodeproj/project.pbxproj | 610++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Alightninglink.xcodeproj/project.xcworkspace/contents.xcworkspacedata | 7+++++++
Alightninglink.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist | 8++++++++
Alightninglink.xcodeproj/xcuserdata/jb55.xcuserdatad/xcschemes/xcschememanagement.plist | 14++++++++++++++
Alightninglink/Assets.xcassets/AccentColor.colorset/Contents.json | 11+++++++++++
Alightninglink/Assets.xcassets/AppIcon.appiconset/Contents.json | 98+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Alightninglink/Assets.xcassets/Contents.json | 6++++++
Alightninglink/ContentView.swift | 21+++++++++++++++++++++
Alightninglink/Preview Content/Preview Assets.xcassets/Contents.json | 6++++++
Alightninglink/lightninglinkApp.swift | 17+++++++++++++++++
AlightninglinkTests/lightninglinkTests.swift | 33+++++++++++++++++++++++++++++++++
AlightninglinkUITests/lightninglinkUITests.swift | 42++++++++++++++++++++++++++++++++++++++++++
AlightninglinkUITests/lightninglinkUITestsLaunchTests.swift | 32++++++++++++++++++++++++++++++++
13 files changed, 905 insertions(+), 0 deletions(-)

diff --git a/lightninglink.xcodeproj/project.pbxproj b/lightninglink.xcodeproj/project.pbxproj @@ -0,0 +1,610 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 55; + objects = { + +/* Begin PBXBuildFile section */ + 4C641D192788FF2F002A36C9 /* lightninglinkApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C641D182788FF2F002A36C9 /* lightninglinkApp.swift */; }; + 4C641D1B2788FF2F002A36C9 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C641D1A2788FF2F002A36C9 /* ContentView.swift */; }; + 4C641D1D2788FF30002A36C9 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4C641D1C2788FF30002A36C9 /* Assets.xcassets */; }; + 4C641D202788FF30002A36C9 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4C641D1F2788FF30002A36C9 /* Preview Assets.xcassets */; }; + 4C641D2A2788FF30002A36C9 /* lightninglinkTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C641D292788FF30002A36C9 /* lightninglinkTests.swift */; }; + 4C641D342788FF31002A36C9 /* lightninglinkUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C641D332788FF31002A36C9 /* lightninglinkUITests.swift */; }; + 4C641D362788FF31002A36C9 /* lightninglinkUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C641D352788FF31002A36C9 /* lightninglinkUITestsLaunchTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 4C641D262788FF30002A36C9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 4C641D0D2788FF2F002A36C9 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 4C641D142788FF2F002A36C9; + remoteInfo = lightninglink; + }; + 4C641D302788FF31002A36C9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 4C641D0D2788FF2F002A36C9 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 4C641D142788FF2F002A36C9; + remoteInfo = lightninglink; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 4C641D152788FF2F002A36C9 /* lightninglink.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = lightninglink.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 4C641D182788FF2F002A36C9 /* lightninglinkApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = lightninglinkApp.swift; sourceTree = "<group>"; }; + 4C641D1A2788FF2F002A36C9 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; }; + 4C641D1C2788FF30002A36C9 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; + 4C641D1F2788FF30002A36C9 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; }; + 4C641D252788FF30002A36C9 /* lightninglinkTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = lightninglinkTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 4C641D292788FF30002A36C9 /* lightninglinkTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = lightninglinkTests.swift; sourceTree = "<group>"; }; + 4C641D2F2788FF31002A36C9 /* lightninglinkUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = lightninglinkUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 4C641D332788FF31002A36C9 /* lightninglinkUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = lightninglinkUITests.swift; sourceTree = "<group>"; }; + 4C641D352788FF31002A36C9 /* lightninglinkUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = lightninglinkUITestsLaunchTests.swift; sourceTree = "<group>"; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 4C641D122788FF2F002A36C9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4C641D222788FF30002A36C9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4C641D2C2788FF31002A36C9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 4C641D0C2788FF2F002A36C9 = { + isa = PBXGroup; + children = ( + 4C641D172788FF2F002A36C9 /* lightninglink */, + 4C641D282788FF30002A36C9 /* lightninglinkTests */, + 4C641D322788FF31002A36C9 /* lightninglinkUITests */, + 4C641D162788FF2F002A36C9 /* Products */, + ); + sourceTree = "<group>"; + }; + 4C641D162788FF2F002A36C9 /* Products */ = { + isa = PBXGroup; + children = ( + 4C641D152788FF2F002A36C9 /* lightninglink.app */, + 4C641D252788FF30002A36C9 /* lightninglinkTests.xctest */, + 4C641D2F2788FF31002A36C9 /* lightninglinkUITests.xctest */, + ); + name = Products; + sourceTree = "<group>"; + }; + 4C641D172788FF2F002A36C9 /* lightninglink */ = { + isa = PBXGroup; + children = ( + 4C641D182788FF2F002A36C9 /* lightninglinkApp.swift */, + 4C641D1A2788FF2F002A36C9 /* ContentView.swift */, + 4C641D1C2788FF30002A36C9 /* Assets.xcassets */, + 4C641D1E2788FF30002A36C9 /* Preview Content */, + ); + path = lightninglink; + sourceTree = "<group>"; + }; + 4C641D1E2788FF30002A36C9 /* Preview Content */ = { + isa = PBXGroup; + children = ( + 4C641D1F2788FF30002A36C9 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = "<group>"; + }; + 4C641D282788FF30002A36C9 /* lightninglinkTests */ = { + isa = PBXGroup; + children = ( + 4C641D292788FF30002A36C9 /* lightninglinkTests.swift */, + ); + path = lightninglinkTests; + sourceTree = "<group>"; + }; + 4C641D322788FF31002A36C9 /* lightninglinkUITests */ = { + isa = PBXGroup; + children = ( + 4C641D332788FF31002A36C9 /* lightninglinkUITests.swift */, + 4C641D352788FF31002A36C9 /* lightninglinkUITestsLaunchTests.swift */, + ); + path = lightninglinkUITests; + sourceTree = "<group>"; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 4C641D142788FF2F002A36C9 /* lightninglink */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4C641D392788FF31002A36C9 /* Build configuration list for PBXNativeTarget "lightninglink" */; + buildPhases = ( + 4C641D112788FF2F002A36C9 /* Sources */, + 4C641D122788FF2F002A36C9 /* Frameworks */, + 4C641D132788FF2F002A36C9 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = lightninglink; + productName = lightninglink; + productReference = 4C641D152788FF2F002A36C9 /* lightninglink.app */; + productType = "com.apple.product-type.application"; + }; + 4C641D242788FF30002A36C9 /* lightninglinkTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4C641D3C2788FF31002A36C9 /* Build configuration list for PBXNativeTarget "lightninglinkTests" */; + buildPhases = ( + 4C641D212788FF30002A36C9 /* Sources */, + 4C641D222788FF30002A36C9 /* Frameworks */, + 4C641D232788FF30002A36C9 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 4C641D272788FF30002A36C9 /* PBXTargetDependency */, + ); + name = lightninglinkTests; + productName = lightninglinkTests; + productReference = 4C641D252788FF30002A36C9 /* lightninglinkTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 4C641D2E2788FF31002A36C9 /* lightninglinkUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4C641D3F2788FF31002A36C9 /* Build configuration list for PBXNativeTarget "lightninglinkUITests" */; + buildPhases = ( + 4C641D2B2788FF31002A36C9 /* Sources */, + 4C641D2C2788FF31002A36C9 /* Frameworks */, + 4C641D2D2788FF31002A36C9 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 4C641D312788FF31002A36C9 /* PBXTargetDependency */, + ); + name = lightninglinkUITests; + productName = lightninglinkUITests; + productReference = 4C641D2F2788FF31002A36C9 /* lightninglinkUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 4C641D0D2788FF2F002A36C9 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1310; + LastUpgradeCheck = 1310; + TargetAttributes = { + 4C641D142788FF2F002A36C9 = { + CreatedOnToolsVersion = 13.1; + }; + 4C641D242788FF30002A36C9 = { + CreatedOnToolsVersion = 13.1; + TestTargetID = 4C641D142788FF2F002A36C9; + }; + 4C641D2E2788FF31002A36C9 = { + CreatedOnToolsVersion = 13.1; + TestTargetID = 4C641D142788FF2F002A36C9; + }; + }; + }; + buildConfigurationList = 4C641D102788FF2F002A36C9 /* Build configuration list for PBXProject "lightninglink" */; + compatibilityVersion = "Xcode 13.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 4C641D0C2788FF2F002A36C9; + productRefGroup = 4C641D162788FF2F002A36C9 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 4C641D142788FF2F002A36C9 /* lightninglink */, + 4C641D242788FF30002A36C9 /* lightninglinkTests */, + 4C641D2E2788FF31002A36C9 /* lightninglinkUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 4C641D132788FF2F002A36C9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4C641D202788FF30002A36C9 /* Preview Assets.xcassets in Resources */, + 4C641D1D2788FF30002A36C9 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4C641D232788FF30002A36C9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4C641D2D2788FF31002A36C9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 4C641D112788FF2F002A36C9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4C641D1B2788FF2F002A36C9 /* ContentView.swift in Sources */, + 4C641D192788FF2F002A36C9 /* lightninglinkApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4C641D212788FF30002A36C9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4C641D2A2788FF30002A36C9 /* lightninglinkTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4C641D2B2788FF31002A36C9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4C641D342788FF31002A36C9 /* lightninglinkUITests.swift in Sources */, + 4C641D362788FF31002A36C9 /* lightninglinkUITestsLaunchTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 4C641D272788FF30002A36C9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 4C641D142788FF2F002A36C9 /* lightninglink */; + targetProxy = 4C641D262788FF30002A36C9 /* PBXContainerItemProxy */; + }; + 4C641D312788FF31002A36C9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 4C641D142788FF2F002A36C9 /* lightninglink */; + targetProxy = 4C641D302788FF31002A36C9 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 4C641D372788FF31002A36C9 /* 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++17"; + CLANG_CXX_LIBRARY = "libc++"; + 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; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 4C641D382788FF31002A36C9 /* 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++17"; + CLANG_CXX_LIBRARY = "libc++"; + 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; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 4C641D3A2788FF31002A36C9 /* 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 = "\"lightninglink/Preview Content\""; + DEVELOPMENT_TEAM = 5VWAH67C65; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.jb55.lightninglink; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 4C641D3B2788FF31002A36C9 /* 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 = "\"lightninglink/Preview Content\""; + DEVELOPMENT_TEAM = 5VWAH67C65; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.jb55.lightninglink; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 4C641D3D2788FF31002A36C9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 5VWAH67C65; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.jb55.lightninglinkTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/lightninglink.app/lightninglink"; + }; + name = Debug; + }; + 4C641D3E2788FF31002A36C9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 5VWAH67C65; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.jb55.lightninglinkTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/lightninglink.app/lightninglink"; + }; + name = Release; + }; + 4C641D402788FF31002A36C9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 5VWAH67C65; + GENERATE_INFOPLIST_FILE = YES; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.jb55.lightninglinkUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = lightninglink; + }; + name = Debug; + }; + 4C641D412788FF31002A36C9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 5VWAH67C65; + GENERATE_INFOPLIST_FILE = YES; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.jb55.lightninglinkUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = lightninglink; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4C641D102788FF2F002A36C9 /* Build configuration list for PBXProject "lightninglink" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4C641D372788FF31002A36C9 /* Debug */, + 4C641D382788FF31002A36C9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4C641D392788FF31002A36C9 /* Build configuration list for PBXNativeTarget "lightninglink" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4C641D3A2788FF31002A36C9 /* Debug */, + 4C641D3B2788FF31002A36C9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4C641D3C2788FF31002A36C9 /* Build configuration list for PBXNativeTarget "lightninglinkTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4C641D3D2788FF31002A36C9 /* Debug */, + 4C641D3E2788FF31002A36C9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4C641D3F2788FF31002A36C9 /* Build configuration list for PBXNativeTarget "lightninglinkUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4C641D402788FF31002A36C9 /* Debug */, + 4C641D412788FF31002A36C9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 4C641D0D2788FF2F002A36C9 /* Project object */; +} diff --git a/lightninglink.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/lightninglink.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Workspace + version = "1.0"> + <FileRef + location = "self:"> + </FileRef> +</Workspace> diff --git a/lightninglink.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/lightninglink.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -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> diff --git a/lightninglink.xcodeproj/xcuserdata/jb55.xcuserdatad/xcschemes/xcschememanagement.plist b/lightninglink.xcodeproj/xcuserdata/jb55.xcuserdatad/xcschemes/xcschememanagement.plist @@ -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>lightninglink.xcscheme_^#shared#^_</key> + <dict> + <key>orderHint</key> + <integer>0</integer> + </dict> + </dict> +</dict> +</plist> diff --git a/lightninglink/Assets.xcassets/AccentColor.colorset/Contents.json b/lightninglink/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/lightninglink/Assets.xcassets/AppIcon.appiconset/Contents.json b/lightninglink/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,98 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "60x60" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "60x60" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "83.5x83.5" + }, + { + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/lightninglink/Assets.xcassets/Contents.json b/lightninglink/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/lightninglink/ContentView.swift b/lightninglink/ContentView.swift @@ -0,0 +1,21 @@ +// +// ContentView.swift +// lightninglink +// +// Created by William Casarin on 2022-01-07. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + Text("Hello, world!") + .padding() + } +} + +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + ContentView() + } +} diff --git a/lightninglink/Preview Content/Preview Assets.xcassets/Contents.json b/lightninglink/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/lightninglink/lightninglinkApp.swift b/lightninglink/lightninglinkApp.swift @@ -0,0 +1,17 @@ +// +// lightninglinkApp.swift +// lightninglink +// +// Created by William Casarin on 2022-01-07. +// + +import SwiftUI + +@main +struct lightninglinkApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/lightninglinkTests/lightninglinkTests.swift b/lightninglinkTests/lightninglinkTests.swift @@ -0,0 +1,33 @@ +// +// lightninglinkTests.swift +// lightninglinkTests +// +// Created by William Casarin on 2022-01-07. +// + +import XCTest +@testable import lightninglink + +class lightninglinkTests: 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. + } + + 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. + } + } + +} diff --git a/lightninglinkUITests/lightninglinkUITests.swift b/lightninglinkUITests/lightninglinkUITests.swift @@ -0,0 +1,42 @@ +// +// lightninglinkUITests.swift +// lightninglinkUITests +// +// Created by William Casarin on 2022-01-07. +// + +import XCTest + +class lightninglinkUITests: 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 it’s 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 recording to get started writing UI tests. + // 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() + } + } + } +} diff --git a/lightninglinkUITests/lightninglinkUITestsLaunchTests.swift b/lightninglinkUITests/lightninglinkUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// lightninglinkUITestsLaunchTests.swift +// lightninglinkUITests +// +// Created by William Casarin on 2022-01-07. +// + +import XCTest + +class lightninglinkUITestsLaunchTests: 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) + } +}