From 81e82f11ef502587780a494cb3e1f038566cbf65 Mon Sep 17 00:00:00 2001 From: Yusuf UZAN Date: Thu, 27 Jan 2022 11:41:07 +0300 Subject: [PATCH 1/3] Package added --- MZTimerLabel/MZTimerLabel.h | 1 + 1 file changed, 1 insertion(+) diff --git a/MZTimerLabel/MZTimerLabel.h b/MZTimerLabel/MZTimerLabel.h index b445681..7d12d4c 100644 --- a/MZTimerLabel/MZTimerLabel.h +++ b/MZTimerLabel/MZTimerLabel.h @@ -1,3 +1,4 @@ + // // MZTimerLabel.h // Version 0.5.1 From b5df32757bfbd91ccdfa9e7d1053ed5b3caa6fbc Mon Sep 17 00:00:00 2001 From: Yusuf UZAN Date: Thu, 27 Jan 2022 11:44:36 +0300 Subject: [PATCH 2/3] Package added --- .../contents.xcworkspacedata | 7 +++++++ .../xcshareddata/IDEWorkspaceChecks.plist | 8 +++++++ Package.swift | 21 +++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata create mode 100644 MZTimerLabel.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 Package.swift diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/MZTimerLabel.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/MZTimerLabel.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/MZTimerLabel.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..50025ef --- /dev/null +++ b/Package.swift @@ -0,0 +1,21 @@ +import PackageDescription + +let package = Package( + name: "MZTimerLabel", + platforms: [ + .iOS(.v10), + ], + products: [ + .library( + name: "MZTimerLabel", + targets: ["MZTimerLabel"]), + ], + dependencies: [ + // no dependencies + ], + targets: [ + .target( + name: "MZTimerLabel", + dependencies: []), + ] +) From 6f011025a370c765434a4a3b9e1efa8371e0cc92 Mon Sep 17 00:00:00 2001 From: Yusuf UZAN Date: Thu, 27 Jan 2022 14:14:24 +0300 Subject: [PATCH 3/3] File organize. --- MZTimerLabel.xcodeproj/project.pbxproj | 23 ++++++++++++++++------- {MZTimerLabel => Source}/Info.plist | 0 {MZTimerLabel => Source}/MZTimerLabel.h | 0 {MZTimerLabel => Source}/MZTimerLabel.m | 0 4 files changed, 16 insertions(+), 7 deletions(-) rename {MZTimerLabel => Source}/Info.plist (100%) rename {MZTimerLabel => Source}/MZTimerLabel.h (100%) rename {MZTimerLabel => Source}/MZTimerLabel.m (100%) diff --git a/MZTimerLabel.xcodeproj/project.pbxproj b/MZTimerLabel.xcodeproj/project.pbxproj index c269ade..c6b95ca 100644 --- a/MZTimerLabel.xcodeproj/project.pbxproj +++ b/MZTimerLabel.xcodeproj/project.pbxproj @@ -50,7 +50,7 @@ 40A965091AD4CA9F00B2D499 = { isa = PBXGroup; children = ( - 40A9651C1AD4CB5F00B2D499 /* MZTimerLabel */, + 40A9651C1AD4CB5F00B2D499 /* Source */, 40A9651B1AD4CB5F00B2D499 /* Products */, ); sourceTree = ""; @@ -64,14 +64,13 @@ name = Products; sourceTree = ""; }; - 40A9651C1AD4CB5F00B2D499 /* MZTimerLabel */ = { + 40A9651C1AD4CB5F00B2D499 /* Source */ = { isa = PBXGroup; children = ( - 40A965111AD4CAF500B2D499 /* MZTimerLabel.h */, - 40A965121AD4CAF500B2D499 /* MZTimerLabel.m */, + 6A49F33A27A2B0D200DF671B /* MZTimerLabel */, 40A9651D1AD4CB5F00B2D499 /* Supporting Files */, ); - path = MZTimerLabel; + path = Source; sourceTree = ""; }; 40A9651D1AD4CB5F00B2D499 /* Supporting Files */ = { @@ -82,6 +81,15 @@ name = "Supporting Files"; sourceTree = ""; }; + 6A49F33A27A2B0D200DF671B /* MZTimerLabel */ = { + isa = PBXGroup; + children = ( + 40A965111AD4CAF500B2D499 /* MZTimerLabel.h */, + 40A965121AD4CAF500B2D499 /* MZTimerLabel.m */, + ); + name = MZTimerLabel; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ @@ -153,6 +161,7 @@ developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, ); mainGroup = 40A965091AD4CA9F00B2D499; @@ -261,7 +270,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = MZTimerLabel/Info.plist; + INFOPLIST_FILE = Source/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.2; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; @@ -309,7 +318,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = MZTimerLabel/Info.plist; + INFOPLIST_FILE = Source/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.2; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; diff --git a/MZTimerLabel/Info.plist b/Source/Info.plist similarity index 100% rename from MZTimerLabel/Info.plist rename to Source/Info.plist diff --git a/MZTimerLabel/MZTimerLabel.h b/Source/MZTimerLabel.h similarity index 100% rename from MZTimerLabel/MZTimerLabel.h rename to Source/MZTimerLabel.h diff --git a/MZTimerLabel/MZTimerLabel.m b/Source/MZTimerLabel.m similarity index 100% rename from MZTimerLabel/MZTimerLabel.m rename to Source/MZTimerLabel.m