From e08be286b1d61d148440c85b8771221d1e7070bc Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Wed, 22 Jul 2020 10:07:14 -0400 Subject: [PATCH] Add WriteFreely package and remove boilerplate comments from files --- Shared/ContentView.swift | 9 +-- Shared/WriteFreely_MultiPlatformApp.swift | 7 -- Tests iOS/Tests_iOS.swift | 7 -- Tests macOS/Tests_macOS.swift | 7 -- .../project.pbxproj | 68 ++++++++++++++++++- 5 files changed, 68 insertions(+), 30 deletions(-) diff --git a/Shared/ContentView.swift b/Shared/ContentView.swift index 894c5eb..1297731 100644 --- a/Shared/ContentView.swift +++ b/Shared/ContentView.swift @@ -1,15 +1,8 @@ -// -// ContentView.swift -// Shared -// -// Created by Angelo Stavrow on 2020-07-22. -// - import SwiftUI struct ContentView: View { var body: some View { - Text("Hello, world!").padding() + Text("Hello, WriteFreely!").padding() } } diff --git a/Shared/WriteFreely_MultiPlatformApp.swift b/Shared/WriteFreely_MultiPlatformApp.swift index cbf26e5..bc1f3ed 100644 --- a/Shared/WriteFreely_MultiPlatformApp.swift +++ b/Shared/WriteFreely_MultiPlatformApp.swift @@ -1,10 +1,3 @@ -// -// WriteFreely_MultiPlatformApp.swift -// Shared -// -// Created by Angelo Stavrow on 2020-07-22. -// - import SwiftUI @main diff --git a/Tests iOS/Tests_iOS.swift b/Tests iOS/Tests_iOS.swift index ed3491f..f9b403c 100644 --- a/Tests iOS/Tests_iOS.swift +++ b/Tests iOS/Tests_iOS.swift @@ -1,10 +1,3 @@ -// -// Tests_iOS.swift -// Tests iOS -// -// Created by Angelo Stavrow on 2020-07-22. -// - import XCTest class Tests_iOS: XCTestCase { diff --git a/Tests macOS/Tests_macOS.swift b/Tests macOS/Tests_macOS.swift index 538dd0e..97c5ff2 100644 --- a/Tests macOS/Tests_macOS.swift +++ b/Tests macOS/Tests_macOS.swift @@ -1,10 +1,3 @@ -// -// Tests_macOS.swift -// Tests macOS -// -// Created by Angelo Stavrow on 2020-07-22. -// - import XCTest class Tests_macOS: XCTestCase { diff --git a/WriteFreely-MultiPlatform.xcodeproj/project.pbxproj b/WriteFreely-MultiPlatform.xcodeproj/project.pbxproj index d013a5a..ddba9be 100644 --- a/WriteFreely-MultiPlatform.xcodeproj/project.pbxproj +++ b/WriteFreely-MultiPlatform.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 52; objects = { /* Begin PBXBuildFile section */ @@ -15,6 +15,8 @@ 17DF32AD24C87D3500BCE2E3 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17DF328224C87D3300BCE2E3 /* ContentView.swift */; }; 17DF32AE24C87D3500BCE2E3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 17DF328324C87D3500BCE2E3 /* Assets.xcassets */; }; 17DF32AF24C87D3500BCE2E3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 17DF328324C87D3500BCE2E3 /* Assets.xcassets */; }; + 17DF32C024C87D7B00BCE2E3 /* WriteFreely in Frameworks */ = {isa = PBXBuildFile; productRef = 17DF32BF24C87D7B00BCE2E3 /* WriteFreely */; }; + 17DF32C324C87D8D00BCE2E3 /* WriteFreely in Frameworks */ = {isa = PBXBuildFile; productRef = 17DF32C224C87D8D00BCE2E3 /* WriteFreely */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -56,6 +58,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 17DF32C024C87D7B00BCE2E3 /* WriteFreely in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -63,6 +66,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 17DF32C324C87D8D00BCE2E3 /* WriteFreely in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -92,6 +96,7 @@ 17DF329B24C87D3500BCE2E3 /* Tests iOS */, 17DF32A624C87D3500BCE2E3 /* Tests macOS */, 17DF328924C87D3500BCE2E3 /* Products */, + 17DF32C124C87D8D00BCE2E3 /* Frameworks */, ); sourceTree = ""; }; @@ -151,6 +156,13 @@ path = "Tests macOS"; sourceTree = ""; }; + 17DF32C124C87D8D00BCE2E3 /* Frameworks */ = { + isa = PBXGroup; + children = ( + ); + name = Frameworks; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -161,12 +173,16 @@ 17DF328424C87D3500BCE2E3 /* Sources */, 17DF328524C87D3500BCE2E3 /* Frameworks */, 17DF328624C87D3500BCE2E3 /* Resources */, + 17DF32C424C87E6700BCE2E3 /* ShellScript */, ); buildRules = ( ); dependencies = ( ); name = "WriteFreely-MultiPlatform (iOS)"; + packageProductDependencies = ( + 17DF32BF24C87D7B00BCE2E3 /* WriteFreely */, + ); productName = "WriteFreely-MultiPlatform (iOS)"; productReference = 17DF328824C87D3500BCE2E3 /* WriteFreely-MultiPlatform.app */; productType = "com.apple.product-type.application"; @@ -184,6 +200,9 @@ dependencies = ( ); name = "WriteFreely-MultiPlatform (macOS)"; + packageProductDependencies = ( + 17DF32C224C87D8D00BCE2E3 /* WriteFreely */, + ); productName = "WriteFreely-MultiPlatform (macOS)"; productReference = 17DF329024C87D3500BCE2E3 /* WriteFreely-MultiPlatform.app */; productType = "com.apple.product-type.application"; @@ -258,6 +277,9 @@ Base, ); mainGroup = 17DF327B24C87D3300BCE2E3; + packageReferences = ( + 17DF32BE24C87D7B00BCE2E3 /* XCRemoteSwiftPackageReference "writefreely-swift" */, + ); productRefGroup = 17DF328924C87D3500BCE2E3 /* Products */; projectDirPath = ""; projectRoot = ""; @@ -303,6 +325,26 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 17DF32C424C87E6700BCE2E3 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n"; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 17DF328424C87D3500BCE2E3 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -696,6 +738,30 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 17DF32BE24C87D7B00BCE2E3 /* XCRemoteSwiftPackageReference "writefreely-swift" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "git@github.com:writeas/writefreely-swift.git"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 0.1.1; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 17DF32BF24C87D7B00BCE2E3 /* WriteFreely */ = { + isa = XCSwiftPackageProductDependency; + package = 17DF32BE24C87D7B00BCE2E3 /* XCRemoteSwiftPackageReference "writefreely-swift" */; + productName = WriteFreely; + }; + 17DF32C224C87D8D00BCE2E3 /* WriteFreely */ = { + isa = XCSwiftPackageProductDependency; + package = 17DF32BE24C87D7B00BCE2E3 /* XCRemoteSwiftPackageReference "writefreely-swift" */; + productName = WriteFreely; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = 17DF327C24C87D3300BCE2E3 /* Project object */; }