From 29e265e15ce7731a68907d06a2d5246fc950a630 Mon Sep 17 00:00:00 2001 From: Kilian Koeltzsch Date: Sun, 16 Jun 2019 01:21:38 +0200 Subject: [PATCH 1/4] Add support for SwiftPM --- Package.swift | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Package.swift diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..273bb77 --- /dev/null +++ b/Package.swift @@ -0,0 +1,25 @@ +// swift-tools-version:5.1 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "Pulley", + platforms: [.iOS(.v9)], + products: [ + // Products define the executables and libraries produced by a package, and make them visible to other packages. + .library( + name: "Pulley", + targets: ["Pulley"]), + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + // .package(url: /* package url */, from: "1.0.0"), + ], + targets: [ + // Targets are the basic building blocks of a package. A target can define a module or a test suite. + // Targets can depend on other targets in this package, and on products in packages which this package depends on. + .target(name: "Pulley", + path: "PulleyLib") + ] +) From 6d5da166e35c16782bb879aaf3facb19f32231f3 Mon Sep 17 00:00:00 2001 From: Hiroshi Noto Date: Tue, 18 Jun 2019 21:03:07 +0900 Subject: [PATCH 2/4] first darkmode support --- Pulley.xcodeproj/project.pbxproj | 2 ++ Pulley/Main.storyboard | 37 +++++++++++++--------------- PulleyLib/PulleyViewController.swift | 13 ++++++++-- 3 files changed, 30 insertions(+), 22 deletions(-) diff --git a/Pulley.xcodeproj/project.pbxproj b/Pulley.xcodeproj/project.pbxproj index 1fa3afb..8a13309 100644 --- a/Pulley.xcodeproj/project.pbxproj +++ b/Pulley.xcodeproj/project.pbxproj @@ -468,6 +468,7 @@ buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = P87N88ZC7B; INFOPLIST_FILE = Pulley/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 9.0; @@ -483,6 +484,7 @@ buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = P87N88ZC7B; INFOPLIST_FILE = Pulley/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 9.0; diff --git a/Pulley/Main.storyboard b/Pulley/Main.storyboard index 033085c..a5d90d4 100644 --- a/Pulley/Main.storyboard +++ b/Pulley/Main.storyboard @@ -1,14 +1,12 @@ - - - - + + - - + + @@ -71,7 +69,7 @@ - + @@ -97,7 +95,7 @@ - + @@ -109,7 +107,7 @@