From d02a5d8d59cd66f63df6aa10ce2fd112ec0f7ac5 Mon Sep 17 00:00:00 2001 From: Nicola Clark Date: Sat, 26 Jul 2025 14:40:06 -0500 Subject: [PATCH] "howdy y'all" commit --- .gitignore | 2 + .swiftformat | 10 + LICENSE | 373 ++++++++++ OwnTP.xcodeproj/project.pbxproj | 647 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/swiftpm/Package.resolved | 24 + .../AccentColor.colorset/Contents.json | 38 + .../AppIcon.appiconset/Contents.json | 35 + OwnTP/Assets.xcassets/Contents.json | 6 + OwnTP/ContentView.swift | 25 + OwnTP/OwnTPApp.swift | 18 + OwnTPTests/OwnTPTests.swift | 16 + OwnTPUITests/OwnTPUITests.swift | 44 ++ OwnTPUITests/OwnTPUITestsLaunchTests.swift | 33 + README.md | 33 + 15 files changed, 1311 insertions(+) create mode 100644 .gitignore create mode 100644 .swiftformat create mode 100644 LICENSE create mode 100644 OwnTP.xcodeproj/project.pbxproj create mode 100644 OwnTP.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 OwnTP.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved create mode 100644 OwnTP/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 OwnTP/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 OwnTP/Assets.xcassets/Contents.json create mode 100644 OwnTP/ContentView.swift create mode 100644 OwnTP/OwnTPApp.swift create mode 100644 OwnTPTests/OwnTPTests.swift create mode 100644 OwnTPUITests/OwnTPUITests.swift create mode 100644 OwnTPUITests/OwnTPUITestsLaunchTests.swift create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..47042c2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.DS_Store +xcuserdata diff --git a/.swiftformat b/.swiftformat new file mode 100644 index 0000000..b591701 --- /dev/null +++ b/.swiftformat @@ -0,0 +1,10 @@ +--callsiteparen balanced +--commas inline +--header "//\n// This Source Code Form is subject to the terms of the Mozilla Public License,\n// v. 2.0. If a copy of the MPL was not distributed with this file, You can\n// obtain one at https://mozilla.org/MPL/2.0/.\n//\n// Copyright {created.year} Nicola Clark\n//" +--indent 2 +--maxwidth 100 +--ranges no-space +--swiftversion 6.1.2 +--wraparguments before-first +--wrapcollections before-first +--wrapreturntype never diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d0a1fa1 --- /dev/null +++ b/LICENSE @@ -0,0 +1,373 @@ +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at https://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. diff --git a/OwnTP.xcodeproj/project.pbxproj b/OwnTP.xcodeproj/project.pbxproj new file mode 100644 index 0000000..7d390db --- /dev/null +++ b/OwnTP.xcodeproj/project.pbxproj @@ -0,0 +1,647 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXContainerItemProxy section */ + B3EE43712E35328B0018CE0D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = B3EE435B2E3532890018CE0D /* Project object */; + proxyType = 1; + remoteGlobalIDString = B3EE43622E3532890018CE0D; + remoteInfo = OwnTP; + }; + B3EE437B2E35328B0018CE0D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = B3EE435B2E3532890018CE0D /* Project object */; + proxyType = 1; + remoteGlobalIDString = B3EE43622E3532890018CE0D; + remoteInfo = OwnTP; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + B3EE43632E3532890018CE0D /* OwnTP.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OwnTP.app; sourceTree = BUILT_PRODUCTS_DIR; }; + B3EE43702E35328B0018CE0D /* OwnTPTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = OwnTPTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + B3EE437A2E35328B0018CE0D /* OwnTPUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = OwnTPUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + B3EE438D2E3532C90018CE0D /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; + B3EE438E2E3532C90018CE0D /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFileSystemSynchronizedRootGroup section */ + B3EE43652E3532890018CE0D /* OwnTP */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = OwnTP; + sourceTree = ""; + }; + B3EE43732E35328B0018CE0D /* OwnTPTests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = OwnTPTests; + sourceTree = ""; + }; + B3EE437D2E35328B0018CE0D /* OwnTPUITests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = OwnTPUITests; + sourceTree = ""; + }; +/* End PBXFileSystemSynchronizedRootGroup section */ + +/* Begin PBXFrameworksBuildPhase section */ + B3EE43602E3532890018CE0D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B3EE436D2E35328B0018CE0D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B3EE43772E35328B0018CE0D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + B3EE435A2E3532890018CE0D = { + isa = PBXGroup; + children = ( + B3EE438D2E3532C90018CE0D /* LICENSE */, + B3EE438E2E3532C90018CE0D /* README.md */, + B3EE43652E3532890018CE0D /* OwnTP */, + B3EE43732E35328B0018CE0D /* OwnTPTests */, + B3EE437D2E35328B0018CE0D /* OwnTPUITests */, + B3EE43642E3532890018CE0D /* Products */, + ); + sourceTree = ""; + }; + B3EE43642E3532890018CE0D /* Products */ = { + isa = PBXGroup; + children = ( + B3EE43632E3532890018CE0D /* OwnTP.app */, + B3EE43702E35328B0018CE0D /* OwnTPTests.xctest */, + B3EE437A2E35328B0018CE0D /* OwnTPUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + B3EE43622E3532890018CE0D /* OwnTP */ = { + isa = PBXNativeTarget; + buildConfigurationList = B3EE43842E35328B0018CE0D /* Build configuration list for PBXNativeTarget "OwnTP" */; + buildPhases = ( + B3EE435F2E3532890018CE0D /* Sources */, + B3EE43602E3532890018CE0D /* Frameworks */, + B3EE43612E3532890018CE0D /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + B3EE43922E3534400018CE0D /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + B3EE43652E3532890018CE0D /* OwnTP */, + ); + name = OwnTP; + packageProductDependencies = ( + ); + productName = OwnTP; + productReference = B3EE43632E3532890018CE0D /* OwnTP.app */; + productType = "com.apple.product-type.application"; + }; + B3EE436F2E35328B0018CE0D /* OwnTPTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = B3EE43872E35328B0018CE0D /* Build configuration list for PBXNativeTarget "OwnTPTests" */; + buildPhases = ( + B3EE436C2E35328B0018CE0D /* Sources */, + B3EE436D2E35328B0018CE0D /* Frameworks */, + B3EE436E2E35328B0018CE0D /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + B3EE43942E3534490018CE0D /* PBXTargetDependency */, + B3EE43722E35328B0018CE0D /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + B3EE43732E35328B0018CE0D /* OwnTPTests */, + ); + name = OwnTPTests; + packageProductDependencies = ( + ); + productName = OwnTPTests; + productReference = B3EE43702E35328B0018CE0D /* OwnTPTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + B3EE43792E35328B0018CE0D /* OwnTPUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = B3EE438A2E35328B0018CE0D /* Build configuration list for PBXNativeTarget "OwnTPUITests" */; + buildPhases = ( + B3EE43762E35328B0018CE0D /* Sources */, + B3EE43772E35328B0018CE0D /* Frameworks */, + B3EE43782E35328B0018CE0D /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + B3EE43962E35344E0018CE0D /* PBXTargetDependency */, + B3EE437C2E35328B0018CE0D /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + B3EE437D2E35328B0018CE0D /* OwnTPUITests */, + ); + name = OwnTPUITests; + packageProductDependencies = ( + ); + productName = OwnTPUITests; + productReference = B3EE437A2E35328B0018CE0D /* OwnTPUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + B3EE435B2E3532890018CE0D /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 2600; + LastUpgradeCheck = 2600; + TargetAttributes = { + B3EE43622E3532890018CE0D = { + CreatedOnToolsVersion = 26.0; + }; + B3EE436F2E35328B0018CE0D = { + CreatedOnToolsVersion = 26.0; + TestTargetID = B3EE43622E3532890018CE0D; + }; + B3EE43792E35328B0018CE0D = { + CreatedOnToolsVersion = 26.0; + TestTargetID = B3EE43622E3532890018CE0D; + }; + }; + }; + buildConfigurationList = B3EE435E2E3532890018CE0D /* Build configuration list for PBXProject "OwnTP" */; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = B3EE435A2E3532890018CE0D; + minimizedProjectReferenceProxies = 1; + packageReferences = ( + B3EE438F2E3533ED0018CE0D /* XCRemoteSwiftPackageReference "SwiftLintPlugins" */, + B3EE43902E35340B0018CE0D /* XCRemoteSwiftPackageReference "SwiftFormat" */, + ); + preferredProjectObjectVersion = 77; + productRefGroup = B3EE43642E3532890018CE0D /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + B3EE43622E3532890018CE0D /* OwnTP */, + B3EE436F2E35328B0018CE0D /* OwnTPTests */, + B3EE43792E35328B0018CE0D /* OwnTPUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + B3EE43612E3532890018CE0D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B3EE436E2E35328B0018CE0D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B3EE43782E35328B0018CE0D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + B3EE435F2E3532890018CE0D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B3EE436C2E35328B0018CE0D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B3EE43762E35328B0018CE0D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + B3EE43722E35328B0018CE0D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = B3EE43622E3532890018CE0D /* OwnTP */; + targetProxy = B3EE43712E35328B0018CE0D /* PBXContainerItemProxy */; + }; + B3EE437C2E35328B0018CE0D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = B3EE43622E3532890018CE0D /* OwnTP */; + targetProxy = B3EE437B2E35328B0018CE0D /* PBXContainerItemProxy */; + }; + B3EE43922E3534400018CE0D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + productRef = B3EE43912E3534400018CE0D /* SwiftLintBuildToolPlugin */; + }; + B3EE43942E3534490018CE0D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + productRef = B3EE43932E3534490018CE0D /* SwiftLintBuildToolPlugin */; + }; + B3EE43962E35344E0018CE0D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + productRef = B3EE43952E35344E0018CE0D /* SwiftLintBuildToolPlugin */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + B3EE43822E35328B0018CE0D /* 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; + DEVELOPMENT_TEAM = Z3C5WBU343; + 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 = 26.0; + 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; + }; + B3EE43832E35328B0018CE0D /* 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"; + DEVELOPMENT_TEAM = Z3C5WBU343; + 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 = 26.0; + 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; + }; + B3EE43852E35328B0018CE0D /* 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_TEAM = Z3C5WBU343; + 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"; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = dev.slottedspoon.OwnTP; + PRODUCT_NAME = "$(TARGET_NAME)"; + 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; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + B3EE43862E35328B0018CE0D /* 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_TEAM = Z3C5WBU343; + 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"; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = dev.slottedspoon.OwnTP; + PRODUCT_NAME = "$(TARGET_NAME)"; + 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; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + B3EE43882E35328B0018CE0D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = Z3C5WBU343; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = dev.slottedspoon.OwnTPTests; + 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; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/OwnTP.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/OwnTP"; + }; + name = Debug; + }; + B3EE43892E35328B0018CE0D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = Z3C5WBU343; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = dev.slottedspoon.OwnTPTests; + 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; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/OwnTP.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/OwnTP"; + }; + name = Release; + }; + B3EE438B2E35328B0018CE0D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = Z3C5WBU343; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = dev.slottedspoon.OwnTPUITests; + 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; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = OwnTP; + }; + name = Debug; + }; + B3EE438C2E35328B0018CE0D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = Z3C5WBU343; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = dev.slottedspoon.OwnTPUITests; + 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; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = OwnTP; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + B3EE435E2E3532890018CE0D /* Build configuration list for PBXProject "OwnTP" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B3EE43822E35328B0018CE0D /* Debug */, + B3EE43832E35328B0018CE0D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B3EE43842E35328B0018CE0D /* Build configuration list for PBXNativeTarget "OwnTP" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B3EE43852E35328B0018CE0D /* Debug */, + B3EE43862E35328B0018CE0D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B3EE43872E35328B0018CE0D /* Build configuration list for PBXNativeTarget "OwnTPTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B3EE43882E35328B0018CE0D /* Debug */, + B3EE43892E35328B0018CE0D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B3EE438A2E35328B0018CE0D /* Build configuration list for PBXNativeTarget "OwnTPUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B3EE438B2E35328B0018CE0D /* Debug */, + B3EE438C2E35328B0018CE0D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + B3EE438F2E3533ED0018CE0D /* XCRemoteSwiftPackageReference "SwiftLintPlugins" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/SimplyDanny/SwiftLintPlugins"; + requirement = { + kind = exactVersion; + version = 0.59.1; + }; + }; + B3EE43902E35340B0018CE0D /* XCRemoteSwiftPackageReference "SwiftFormat" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/nicklockwood/SwiftFormat.git"; + requirement = { + kind = exactVersion; + version = 0.57.2; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + B3EE43912E3534400018CE0D /* SwiftLintBuildToolPlugin */ = { + isa = XCSwiftPackageProductDependency; + package = B3EE438F2E3533ED0018CE0D /* XCRemoteSwiftPackageReference "SwiftLintPlugins" */; + productName = "plugin:SwiftLintBuildToolPlugin"; + }; + B3EE43932E3534490018CE0D /* SwiftLintBuildToolPlugin */ = { + isa = XCSwiftPackageProductDependency; + package = B3EE438F2E3533ED0018CE0D /* XCRemoteSwiftPackageReference "SwiftLintPlugins" */; + productName = "plugin:SwiftLintBuildToolPlugin"; + }; + B3EE43952E35344E0018CE0D /* SwiftLintBuildToolPlugin */ = { + isa = XCSwiftPackageProductDependency; + package = B3EE438F2E3533ED0018CE0D /* XCRemoteSwiftPackageReference "SwiftLintPlugins" */; + productName = "plugin:SwiftLintBuildToolPlugin"; + }; +/* End XCSwiftPackageProductDependency section */ + }; + rootObject = B3EE435B2E3532890018CE0D /* Project object */; +} diff --git a/OwnTP.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/OwnTP.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/OwnTP.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/OwnTP.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/OwnTP.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 0000000..f26a0af --- /dev/null +++ b/OwnTP.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,24 @@ +{ + "originHash" : "7ea037ef9207b36960318adda732418ef952b0423182518799489ce41f743326", + "pins" : [ + { + "identity" : "swiftformat", + "kind" : "remoteSourceControl", + "location" : "https://github.com/nicklockwood/SwiftFormat.git", + "state" : { + "revision" : "b83a8f132ff5430f3b6ff7d912baa407caea9e29", + "version" : "0.57.2" + } + }, + { + "identity" : "swiftlintplugins", + "kind" : "remoteSourceControl", + "location" : "https://github.com/SimplyDanny/SwiftLintPlugins", + "state" : { + "revision" : "8545ddf4de043e6f2051c5cf204f39ef778ebf6b", + "version" : "0.59.1" + } + } + ], + "version" : 3 +} diff --git a/OwnTP/Assets.xcassets/AccentColor.colorset/Contents.json b/OwnTP/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..2fd3618 --- /dev/null +++ b/OwnTP/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.188", + "green" : "0.302", + "red" : "0.188" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.714", + "green" : "0.769", + "red" : "0.714" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/OwnTP/Assets.xcassets/AppIcon.appiconset/Contents.json b/OwnTP/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..2305880 --- /dev/null +++ b/OwnTP/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,35 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "tinted" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/OwnTP/Assets.xcassets/Contents.json b/OwnTP/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/OwnTP/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/OwnTP/ContentView.swift b/OwnTP/ContentView.swift new file mode 100644 index 0000000..1b902e1 --- /dev/null +++ b/OwnTP/ContentView.swift @@ -0,0 +1,25 @@ +// +// This Source Code Form is subject to the terms of the Mozilla Public License, +// v. 2.0. If a copy of the MPL was not distributed with this file, You can +// obtain one at https://mozilla.org/MPL/2.0/. +// +// Copyright 2025 Nicola Clark +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + VStack { + Image(systemName: "clock") + .imageScale(.large) + .foregroundStyle(.tint) + Text("OwnTP") + } + .padding() + } +} + +#Preview { + ContentView() +} diff --git a/OwnTP/OwnTPApp.swift b/OwnTP/OwnTPApp.swift new file mode 100644 index 0000000..496ce3e --- /dev/null +++ b/OwnTP/OwnTPApp.swift @@ -0,0 +1,18 @@ +// +// This Source Code Form is subject to the terms of the Mozilla Public License, +// v. 2.0. If a copy of the MPL was not distributed with this file, You can +// obtain one at https://mozilla.org/MPL/2.0/. +// +// Copyright 2025 Nicola Clark +// + +import SwiftUI + +@main +struct OwnTPApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/OwnTPTests/OwnTPTests.swift b/OwnTPTests/OwnTPTests.swift new file mode 100644 index 0000000..242cd64 --- /dev/null +++ b/OwnTPTests/OwnTPTests.swift @@ -0,0 +1,16 @@ +// +// This Source Code Form is subject to the terms of the Mozilla Public License, +// v. 2.0. If a copy of the MPL was not distributed with this file, You can +// obtain one at https://mozilla.org/MPL/2.0/. +// +// Copyright 2025 Nicola Clark +// + +@testable import OwnTP +import Testing + +struct OwnTPTests { + @Test func example() async throws { + // Write your test here and use APIs like `#expect(...)` to check expected conditions. + } +} diff --git a/OwnTPUITests/OwnTPUITests.swift b/OwnTPUITests/OwnTPUITests.swift new file mode 100644 index 0000000..77e8308 --- /dev/null +++ b/OwnTPUITests/OwnTPUITests.swift @@ -0,0 +1,44 @@ +// +// This Source Code Form is subject to the terms of the Mozilla Public License, +// v. 2.0. If a copy of the MPL was not distributed with this file, You can +// obtain one at https://mozilla.org/MPL/2.0/. +// +// Copyright 2025 Nicola Clark +// + +import XCTest + +final class OwnTPUITests: 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. + } + + @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. + } + + @MainActor + func testLaunchPerformance() throws { + // This measures how long it takes to launch your application. + measure(metrics: [XCTApplicationLaunchMetric()]) { + XCUIApplication().launch() + } + } +} diff --git a/OwnTPUITests/OwnTPUITestsLaunchTests.swift b/OwnTPUITests/OwnTPUITestsLaunchTests.swift new file mode 100644 index 0000000..61c98ad --- /dev/null +++ b/OwnTPUITests/OwnTPUITestsLaunchTests.swift @@ -0,0 +1,33 @@ +// +// This Source Code Form is subject to the terms of the Mozilla Public License, +// v. 2.0. If a copy of the MPL was not distributed with this file, You can +// obtain one at https://mozilla.org/MPL/2.0/. +// +// Copyright 2025 Nicola Clark +// + +import XCTest + +final class OwnTPUITestsLaunchTests: 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 + + let attachment = XCTAttachment(screenshot: app.screenshot()) + attachment.name = "Launch Screen" + attachment.lifetime = .keepAlways + add(attachment) + } +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..a6e6914 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# OwnTP + +OwnTP is an app to provide TOTP codes with sync support. + +## Motivation + +I previously used Authy for TOTP code generation with backup/sync functionality. Unfortunately, the +UI has recently been updated, and the new UI has been met with much controversy. Ergo, OwnTP. + +## Goals + +* [ ] TOTP generation +* [ ] Backup + * [ ] Password protection + * [ ] iCloud + * [ ] Google Drive + * [ ] OneDrive + * [ ] Dropbox +* [ ] Service icons + +## Compatibility + +I'll be aiming to support iOS versions back to the latest iOS 15 release. + +## Color palette + +I'm working with +[this palette from Color Hunt](https://colorhunt.co/palette/163020304d30b6c4b6eef0e5) at the moment. + +## License + +OwnTP's source code is licensed under the terms of +[the Mozilla Public License, v. 2.0](https://mozilla.org/MPL/2.0/).