diff --git a/.gitignore b/.gitignore index e53f826..79d4536 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ .DS_Store # Xcode +.build build/ *.pbxuser !default.pbxuser diff --git a/KKProgressToolbar.xcodeproj/project.pbxproj b/APProgressToolbar.xcodeproj/project.pbxproj similarity index 83% rename from KKProgressToolbar.xcodeproj/project.pbxproj rename to APProgressToolbar.xcodeproj/project.pbxproj index 1f9c98d..587fd6b 100644 --- a/KKProgressToolbar.xcodeproj/project.pbxproj +++ b/APProgressToolbar.xcodeproj/project.pbxproj @@ -3,13 +3,13 @@ archiveVersion = 1; classes = { }; - objectVersion = 54; + objectVersion = 77; objects = { /* Begin PBXBuildFile section */ - 535D10B124F4A21400E3006D /* KKProgressToolbar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 535D10AF24F4A21400E3006D /* KKProgressToolbar.swift */; }; - 535D10B224F4A21400E3006D /* KKProgressToolbar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 535D10AF24F4A21400E3006D /* KKProgressToolbar.swift */; }; - 537EDD0E24F49F1E003DC54A /* KKProgressToolbar.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 537EDD0424F49F1E003DC54A /* KKProgressToolbar.framework */; }; + 535D10B124F4A21400E3006D /* APProgressToolbar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 535D10AF24F4A21400E3006D /* APProgressToolbar.swift */; }; + 535D10B224F4A21400E3006D /* APProgressToolbar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 535D10AF24F4A21400E3006D /* APProgressToolbar.swift */; }; + 537EDD0E24F49F1E003DC54A /* APProgressToolbar.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 537EDD0424F49F1E003DC54A /* APProgressToolbar.framework */; }; 537EDD1324F49F1E003DC54A /* ProgressToolbarTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 537EDD1224F49F1E003DC54A /* ProgressToolbarTests.swift */; }; 7747C8212D22161700803000 /* SnapKit in Frameworks */ = {isa = PBXBuildFile; productRef = 7747C8202D22161700803000 /* SnapKit */; }; 7747C8272D22172900803000 /* GTProgressBar in Frameworks */ = {isa = PBXBuildFile; productRef = 7747C8262D22172900803000 /* GTProgressBar */; }; @@ -27,14 +27,13 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 532E78BC24F4A822000D92FC /* KKProgressToolbar.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = KKProgressToolbar.h; sourceTree = ""; }; - 535D10AF24F4A21400E3006D /* KKProgressToolbar.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KKProgressToolbar.swift; sourceTree = ""; }; + 532E78BC24F4A822000D92FC /* APProgressToolbar.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = APProgressToolbar.h; sourceTree = ""; }; + 535D10AF24F4A21400E3006D /* APProgressToolbar.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = APProgressToolbar.swift; sourceTree = ""; }; 535D10B024F4A21400E3006D /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 537EDD0424F49F1E003DC54A /* KKProgressToolbar.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = KKProgressToolbar.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 537EDD0D24F49F1E003DC54A /* KKProgressToolbarTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = KKProgressToolbarTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 537EDD0424F49F1E003DC54A /* APProgressToolbar.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = APProgressToolbar.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 537EDD0D24F49F1E003DC54A /* APProgressToolbarTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = APProgressToolbarTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 537EDD1224F49F1E003DC54A /* ProgressToolbarTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProgressToolbarTests.swift; sourceTree = ""; }; 537EDD1424F49F1E003DC54A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 77A456B42D58002A00909759 /* KKProgressToolbar.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; name = KKProgressToolbar.xctestplan; path = ../KKProgressToolbar.xctestplan; sourceTree = ""; }; 77EAA5C72D22198200A60EB2 /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = ""; }; /* End PBXFileReference section */ @@ -53,30 +52,29 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 537EDD0E24F49F1E003DC54A /* KKProgressToolbar.framework in Frameworks */, + 537EDD0E24F49F1E003DC54A /* APProgressToolbar.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 535D10AE24F4A21400E3006D /* KKProgressToolbar */ = { + 535D10AE24F4A21400E3006D /* APProgressToolbar */ = { isa = PBXGroup; children = ( - 535D10AF24F4A21400E3006D /* KKProgressToolbar.swift */, + 535D10AF24F4A21400E3006D /* APProgressToolbar.swift */, 535D10B024F4A21400E3006D /* Info.plist */, - 532E78BC24F4A822000D92FC /* KKProgressToolbar.h */, + 532E78BC24F4A822000D92FC /* APProgressToolbar.h */, ); - path = KKProgressToolbar; + path = APProgressToolbar; sourceTree = ""; }; 537EDCFA24F49F1E003DC54A = { isa = PBXGroup; children = ( - 77A456B42D58002A00909759 /* KKProgressToolbar.xctestplan */, 77EAA5C72D22198200A60EB2 /* Package.swift */, - 535D10AE24F4A21400E3006D /* KKProgressToolbar */, - 537EDD1124F49F1E003DC54A /* KKProgressToolbarTests */, + 535D10AE24F4A21400E3006D /* APProgressToolbar */, + 537EDD1124F49F1E003DC54A /* APProgressToolbarTests */, 537EDD0524F49F1E003DC54A /* Products */, ); sourceTree = ""; @@ -84,19 +82,19 @@ 537EDD0524F49F1E003DC54A /* Products */ = { isa = PBXGroup; children = ( - 537EDD0424F49F1E003DC54A /* KKProgressToolbar.framework */, - 537EDD0D24F49F1E003DC54A /* KKProgressToolbarTests.xctest */, + 537EDD0424F49F1E003DC54A /* APProgressToolbar.framework */, + 537EDD0D24F49F1E003DC54A /* APProgressToolbarTests.xctest */, ); name = Products; sourceTree = ""; }; - 537EDD1124F49F1E003DC54A /* KKProgressToolbarTests */ = { + 537EDD1124F49F1E003DC54A /* APProgressToolbarTests */ = { isa = PBXGroup; children = ( 537EDD1224F49F1E003DC54A /* ProgressToolbarTests.swift */, 537EDD1424F49F1E003DC54A /* Info.plist */, ); - path = KKProgressToolbarTests; + path = APProgressToolbarTests; sourceTree = ""; }; /* End PBXGroup section */ @@ -112,9 +110,9 @@ /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - 537EDD0324F49F1E003DC54A /* KKProgressToolbar */ = { + 537EDD0324F49F1E003DC54A /* APProgressToolbar */ = { isa = PBXNativeTarget; - buildConfigurationList = 537EDD1824F49F1E003DC54A /* Build configuration list for PBXNativeTarget "KKProgressToolbar" */; + buildConfigurationList = 537EDD1824F49F1E003DC54A /* Build configuration list for PBXNativeTarget "APProgressToolbar" */; buildPhases = ( 537EDCFF24F49F1E003DC54A /* Headers */, 537EDD0024F49F1E003DC54A /* Sources */, @@ -125,14 +123,14 @@ ); dependencies = ( ); - name = KKProgressToolbar; + name = APProgressToolbar; productName = ProgressToolbar; - productReference = 537EDD0424F49F1E003DC54A /* KKProgressToolbar.framework */; + productReference = 537EDD0424F49F1E003DC54A /* APProgressToolbar.framework */; productType = "com.apple.product-type.framework"; }; - 537EDD0C24F49F1E003DC54A /* KKProgressToolbarTests */ = { + 537EDD0C24F49F1E003DC54A /* APProgressToolbarTests */ = { isa = PBXNativeTarget; - buildConfigurationList = 537EDD1B24F49F1E003DC54A /* Build configuration list for PBXNativeTarget "KKProgressToolbarTests" */; + buildConfigurationList = 537EDD1B24F49F1E003DC54A /* Build configuration list for PBXNativeTarget "APProgressToolbarTests" */; buildPhases = ( 537EDD0924F49F1E003DC54A /* Sources */, 537EDD0A24F49F1E003DC54A /* Frameworks */, @@ -143,9 +141,9 @@ dependencies = ( 537EDD1024F49F1E003DC54A /* PBXTargetDependency */, ); - name = KKProgressToolbarTests; + name = APProgressToolbarTests; productName = ProgressToolbarTests; - productReference = 537EDD0D24F49F1E003DC54A /* KKProgressToolbarTests.xctest */; + productReference = 537EDD0D24F49F1E003DC54A /* APProgressToolbarTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; /* End PBXNativeTarget section */ @@ -157,7 +155,7 @@ BuildIndependentTargetsInParallel = YES; LastSwiftUpdateCheck = 1160; LastUpgradeCheck = 1620; - ORGANIZATIONNAME = "Adar Porat"; + ORGANIZATIONNAME = aporat28; TargetAttributes = { 537EDD0324F49F1E003DC54A = { CreatedOnToolsVersion = 11.6; @@ -168,8 +166,7 @@ }; }; }; - buildConfigurationList = 537EDCFE24F49F1E003DC54A /* Build configuration list for PBXProject "KKProgressToolbar" */; - compatibilityVersion = "Xcode 9.3"; + buildConfigurationList = 537EDCFE24F49F1E003DC54A /* Build configuration list for PBXProject "APProgressToolbar" */; developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( @@ -181,12 +178,13 @@ 7747C81F2D22161700803000 /* XCRemoteSwiftPackageReference "SnapKit" */, 77EAA5C82D221AD900A60EB2 /* XCRemoteSwiftPackageReference "GTProgressBar" */, ); + preferredProjectObjectVersion = 77; productRefGroup = 537EDD0524F49F1E003DC54A /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( - 537EDD0324F49F1E003DC54A /* KKProgressToolbar */, - 537EDD0C24F49F1E003DC54A /* KKProgressToolbarTests */, + 537EDD0324F49F1E003DC54A /* APProgressToolbar */, + 537EDD0C24F49F1E003DC54A /* APProgressToolbarTests */, ); }; /* End PBXProject section */ @@ -213,7 +211,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 535D10B124F4A21400E3006D /* KKProgressToolbar.swift in Sources */, + 535D10B124F4A21400E3006D /* APProgressToolbar.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -221,7 +219,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 535D10B224F4A21400E3006D /* KKProgressToolbar.swift in Sources */, + 535D10B224F4A21400E3006D /* APProgressToolbar.swift in Sources */, 537EDD1324F49F1E003DC54A /* ProgressToolbarTests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -231,7 +229,7 @@ /* Begin PBXTargetDependency section */ 537EDD1024F49F1E003DC54A /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 537EDD0324F49F1E003DC54A /* KKProgressToolbar */; + target = 537EDD0324F49F1E003DC54A /* APProgressToolbar */; targetProxy = 537EDD0F24F49F1E003DC54A /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ @@ -243,7 +241,7 @@ ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; @@ -276,7 +274,7 @@ ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_C_LANGUAGE_STANDARD = gnu17; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; @@ -290,7 +288,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.6; + IPHONEOS_DEPLOYMENT_TARGET = 16.6; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -308,7 +306,7 @@ ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; @@ -341,7 +339,7 @@ ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; + 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; @@ -349,7 +347,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.6; + IPHONEOS_DEPLOYMENT_TARGET = 16.6; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = iphoneos; @@ -372,16 +370,16 @@ DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_MODULE_VERIFIER = YES; - INFOPLIST_FILE = KKProgressToolbar/Info.plist; + INFOPLIST_FILE = APProgressToolbar/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 15.6; + IPHONEOS_DEPLOYMENT_TARGET = 18.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", "@loader_path/Frameworks", ); MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++14"; - PRODUCT_BUNDLE_IDENTIFIER = KK.ProgressToolbar; + PRODUCT_BUNDLE_IDENTIFIER = com.aporat28.ProgressToolbar; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -401,16 +399,16 @@ DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_MODULE_VERIFIER = YES; - INFOPLIST_FILE = KKProgressToolbar/Info.plist; + INFOPLIST_FILE = APProgressToolbar/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 15.6; + IPHONEOS_DEPLOYMENT_TARGET = 18.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", "@loader_path/Frameworks", ); MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++14"; - PRODUCT_BUNDLE_IDENTIFIER = KK.ProgressToolbar; + PRODUCT_BUNDLE_IDENTIFIER = com.aporat28.ProgressToolbar; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; SWIFT_VERSION = 5.0; @@ -430,7 +428,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = KK.ProgressToolbarTests; + PRODUCT_BUNDLE_IDENTIFIER = com.aporat28.ProgressToolbarTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -449,7 +447,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = KK.ProgressToolbarTests; + PRODUCT_BUNDLE_IDENTIFIER = com.aporat28.ProgressToolbarTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -459,7 +457,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 537EDCFE24F49F1E003DC54A /* Build configuration list for PBXProject "KKProgressToolbar" */ = { + 537EDCFE24F49F1E003DC54A /* Build configuration list for PBXProject "APProgressToolbar" */ = { isa = XCConfigurationList; buildConfigurations = ( 537EDD1624F49F1E003DC54A /* Debug */, @@ -468,7 +466,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 537EDD1824F49F1E003DC54A /* Build configuration list for PBXNativeTarget "KKProgressToolbar" */ = { + 537EDD1824F49F1E003DC54A /* Build configuration list for PBXNativeTarget "APProgressToolbar" */ = { isa = XCConfigurationList; buildConfigurations = ( 537EDD1924F49F1E003DC54A /* Debug */, @@ -477,7 +475,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 537EDD1B24F49F1E003DC54A /* Build configuration list for PBXNativeTarget "KKProgressToolbarTests" */ = { + 537EDD1B24F49F1E003DC54A /* Build configuration list for PBXNativeTarget "APProgressToolbarTests" */ = { isa = XCConfigurationList; buildConfigurations = ( 537EDD1C24F49F1E003DC54A /* Debug */, diff --git a/KKProgressToolbar.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/APProgressToolbar.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from KKProgressToolbar.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to APProgressToolbar.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/KKProgressToolbar.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/APProgressToolbar.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from KKProgressToolbar.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to APProgressToolbar.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/KKProgressToolbar.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/APProgressToolbar.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved similarity index 100% rename from KKProgressToolbar.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved rename to APProgressToolbar.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved diff --git a/KKProgressToolbar.xcodeproj/xcshareddata/xcschemes/KKProgressToolbar.xcscheme b/APProgressToolbar.xcodeproj/xcshareddata/xcschemes/APProgressToolbar.xcscheme similarity index 73% rename from KKProgressToolbar.xcodeproj/xcshareddata/xcschemes/KKProgressToolbar.xcscheme rename to APProgressToolbar.xcodeproj/xcshareddata/xcschemes/APProgressToolbar.xcscheme index 118460b..3e629a0 100644 --- a/KKProgressToolbar.xcodeproj/xcshareddata/xcschemes/KKProgressToolbar.xcscheme +++ b/APProgressToolbar.xcodeproj/xcshareddata/xcschemes/APProgressToolbar.xcscheme @@ -4,7 +4,8 @@ version = "1.7"> + buildImplicitDependencies = "YES" + buildArchitectures = "Automatic"> + BuildableName = "APProgressToolbar.framework" + BlueprintName = "APProgressToolbar" + ReferencedContainer = "container:APProgressToolbar.xcodeproj"> @@ -26,22 +27,17 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - shouldUseLaunchSchemeArgsEnv = "YES"> - - - - + shouldUseLaunchSchemeArgsEnv = "YES" + shouldAutocreateTestPlan = "YES"> + BuildableName = "APProgressToolbarTests.xctest" + BlueprintName = "APProgressToolbarTests" + ReferencedContainer = "container:APProgressToolbar.xcodeproj"> @@ -67,9 +63,9 @@ + BuildableName = "APProgressToolbar.framework" + BlueprintName = "APProgressToolbar" + ReferencedContainer = "container:APProgressToolbar.xcodeproj"> diff --git a/KKProgressToolbar/KKProgressToolbar.h b/APProgressToolbar/APProgressToolbar.h similarity index 54% rename from KKProgressToolbar/KKProgressToolbar.h rename to APProgressToolbar/APProgressToolbar.h index bf14fac..9068d81 100644 --- a/KKProgressToolbar/KKProgressToolbar.h +++ b/APProgressToolbar/APProgressToolbar.h @@ -1,6 +1,6 @@ // -// KKProgressToolbar.h -// KKProgressToolbar +// APProgressToolbar.h +// APProgressToolbar // // Created by Adar Porat on 8/24/20. // Copyright © 2020 Adar Porat. All rights reserved. @@ -9,7 +9,7 @@ @import UIKit; //! Project version number for PKHUD. -FOUNDATION_EXPORT double KKProgressToolbarVersionNumber; +FOUNDATION_EXPORT double APProgressToolbarVersionNumber; //! Project version string for PKHUD. -FOUNDATION_EXPORT const unsigned char KKProgressToolbarVersionString[]; +FOUNDATION_EXPORT const unsigned char APProgressToolbarVersionString[]; diff --git a/KKProgressToolbar/KKProgressToolbar.swift b/APProgressToolbar/APProgressToolbar.swift similarity index 96% rename from KKProgressToolbar/KKProgressToolbar.swift rename to APProgressToolbar/APProgressToolbar.swift index 2f7570f..1d2d6bf 100644 --- a/KKProgressToolbar/KKProgressToolbar.swift +++ b/APProgressToolbar/APProgressToolbar.swift @@ -2,15 +2,15 @@ import GTProgressBar import SnapKit import UIKit -public protocol KKProgressToolbarDelegate: AnyObject { - func didCancelButtonPressed(_ toolbar: KKProgressToolbar) +public protocol APProgressToolbarDelegate: AnyObject { + func didCancelButtonPressed(_ toolbar: APProgressToolbar) } -public final class KKProgressToolbar: UIView { +public final class APProgressToolbar: UIView { fileprivate var didSetupConstraints = false fileprivate let orientationDidChange = UIDevice.orientationDidChangeNotification - public weak var actionDelegate: KKProgressToolbarDelegate? + public weak var actionDelegate: APProgressToolbarDelegate? public var isShown = false public var text: String? { diff --git a/KKProgressToolbar/Info.plist b/APProgressToolbar/Info.plist similarity index 100% rename from KKProgressToolbar/Info.plist rename to APProgressToolbar/Info.plist diff --git a/KKProgressToolbarTests/Info.plist b/APProgressToolbarTests/Info.plist similarity index 100% rename from KKProgressToolbarTests/Info.plist rename to APProgressToolbarTests/Info.plist diff --git a/KKProgressToolbarTests/ProgressToolbarTests.swift b/APProgressToolbarTests/ProgressToolbarTests.swift similarity index 95% rename from KKProgressToolbarTests/ProgressToolbarTests.swift rename to APProgressToolbarTests/ProgressToolbarTests.swift index 0b6b1db..dab0bc2 100644 --- a/KKProgressToolbarTests/ProgressToolbarTests.swift +++ b/APProgressToolbarTests/ProgressToolbarTests.swift @@ -1,4 +1,4 @@ -@testable import KKProgressToolbar +@testable import APProgressToolbar import XCTest class ProgressToolbarTests: XCTestCase { diff --git a/KKProgressToolbar.podspec b/KKProgressToolbar.podspec deleted file mode 100644 index 3827729..0000000 --- a/KKProgressToolbar.podspec +++ /dev/null @@ -1,18 +0,0 @@ -Pod::Spec.new do |s| - s.name = 'KKProgressToolbar' - s.module_name = 'KKProgressToolbar' - s.version = '3.0.2' - s.summary = 'KKProgressToolbar is an iOS drop-in class that displays a translucent UIToolbar with a progress indicator' - s.homepage = 'https://github.com/aporat/KKProgressToolbar' - s.license = 'MIT' - s.author = { 'Adar Porat' => 'http://github.com/aporat' } - s.platform = :ios, '12.0' - s.ios.deployment_target = '12.0' - s.requires_arc = true - s.source = { :git => 'https://github.com/aporat/KKProgressToolbar.git', :tag => s.version.to_s } - s.source_files = 'KKProgressToolbar/*.{swift}' - s.swift_version = '5.2' - s.dependency 'GTProgressBar', "~> 0.3" - s.dependency 'SnapKit', "~> 5.0" - -end diff --git a/KKProgressToolbar.xcodeproj/xcuserdata/adarporat.xcuserdatad/xcschemes/xcschememanagement.plist b/KKProgressToolbar.xcodeproj/xcuserdata/adarporat.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index 0460a15..0000000 --- a/KKProgressToolbar.xcodeproj/xcuserdata/adarporat.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,14 +0,0 @@ - - - - - SchemeUserState - - KKProgressToolbar.xcscheme_^#shared#^_ - - orderHint - 0 - - - - diff --git a/Package.swift b/Package.swift index 6aa7c69..61c9f58 100644 --- a/Package.swift +++ b/Package.swift @@ -4,7 +4,7 @@ import PackageDescription let package = Package( - name: "KKProgressToolbar", + name: "APProgressToolbar", platforms: [ .iOS(.v15), .tvOS(.v13), @@ -12,8 +12,8 @@ let package = Package( ], products: [ .library( - name: "KKProgressToolbar", - targets: ["KKProgressToolbar"] + name: "APProgressToolbar", + targets: ["APProgressToolbar"] ), ], dependencies: [ @@ -23,13 +23,13 @@ let package = Package( ], targets: [ .target( - name: "KKProgressToolbar", + name: "APProgressToolbar", dependencies: ["GTProgressBar", "SnapKit"], - path: "KKProgressToolbar" + path: "APProgressToolbar" ), .testTarget( - name: "KKProgressToolbarTests", - dependencies: ["KKProgressToolbar"] + name: "APProgressToolbarTests", + dependencies: ["APProgressToolbar"] ) ] ) diff --git a/example/KKProgressToolbarExample.xcodeproj/project.pbxproj b/example/KKProgressToolbarExample.xcodeproj/project.pbxproj deleted file mode 100644 index a6f1d7a..0000000 --- a/example/KKProgressToolbarExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,407 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 51; - objects = { - -/* Begin PBXBuildFile section */ - 537EDCD924F49E34003DC54A /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 537EDCD824F49E34003DC54A /* AppDelegate.swift */; }; - 537EDCDD24F49E34003DC54A /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 537EDCDC24F49E34003DC54A /* ViewController.swift */; }; - 537EDCE024F49E34003DC54A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 537EDCDE24F49E34003DC54A /* Main.storyboard */; }; - 537EDCE224F49E36003DC54A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 537EDCE124F49E36003DC54A /* Assets.xcassets */; }; - 537EDCE524F49E36003DC54A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 537EDCE324F49E36003DC54A /* LaunchScreen.storyboard */; }; - 67647A232581858C2581E00C /* Pods_KKProgressToolbarExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C80D71B8797AF62F5CF9BC85 /* Pods_KKProgressToolbarExample.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 537EDCD524F49E34003DC54A /* KKProgressToolbarExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KKProgressToolbarExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 537EDCD824F49E34003DC54A /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 537EDCDC24F49E34003DC54A /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - 537EDCDF24F49E34003DC54A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 537EDCE124F49E36003DC54A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 537EDCE424F49E36003DC54A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 537EDCE624F49E36003DC54A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - AF78346BF93501F3D531729C /* Pods-KKProgressToolbarExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KKProgressToolbarExample.debug.xcconfig"; path = "Target Support Files/Pods-KKProgressToolbarExample/Pods-KKProgressToolbarExample.debug.xcconfig"; sourceTree = ""; }; - B53D4DE493E43F9C2072567E /* Pods-KKProgressToolbarExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KKProgressToolbarExample.release.xcconfig"; path = "Target Support Files/Pods-KKProgressToolbarExample/Pods-KKProgressToolbarExample.release.xcconfig"; sourceTree = ""; }; - C80D71B8797AF62F5CF9BC85 /* Pods_KKProgressToolbarExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KKProgressToolbarExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 537EDCD224F49E34003DC54A /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 67647A232581858C2581E00C /* Pods_KKProgressToolbarExample.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 537EDCCC24F49E34003DC54A = { - isa = PBXGroup; - children = ( - 537EDCD724F49E34003DC54A /* KKProgressToolbarExample */, - 537EDCD624F49E34003DC54A /* Products */, - 8F7C8BDD52D19FB999E377C1 /* Pods */, - 7E7FEE06F1D309B77E44050F /* Frameworks */, - ); - sourceTree = ""; - }; - 537EDCD624F49E34003DC54A /* Products */ = { - isa = PBXGroup; - children = ( - 537EDCD524F49E34003DC54A /* KKProgressToolbarExample.app */, - ); - name = Products; - sourceTree = ""; - }; - 537EDCD724F49E34003DC54A /* KKProgressToolbarExample */ = { - isa = PBXGroup; - children = ( - 537EDCD824F49E34003DC54A /* AppDelegate.swift */, - 537EDCDC24F49E34003DC54A /* ViewController.swift */, - 537EDCDE24F49E34003DC54A /* Main.storyboard */, - 537EDCE124F49E36003DC54A /* Assets.xcassets */, - 537EDCE324F49E36003DC54A /* LaunchScreen.storyboard */, - 537EDCE624F49E36003DC54A /* Info.plist */, - ); - path = KKProgressToolbarExample; - sourceTree = ""; - }; - 7E7FEE06F1D309B77E44050F /* Frameworks */ = { - isa = PBXGroup; - children = ( - C80D71B8797AF62F5CF9BC85 /* Pods_KKProgressToolbarExample.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 8F7C8BDD52D19FB999E377C1 /* Pods */ = { - isa = PBXGroup; - children = ( - AF78346BF93501F3D531729C /* Pods-KKProgressToolbarExample.debug.xcconfig */, - B53D4DE493E43F9C2072567E /* Pods-KKProgressToolbarExample.release.xcconfig */, - ); - path = Pods; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 537EDCD424F49E34003DC54A /* KKProgressToolbarExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = 537EDCF424F49E36003DC54A /* Build configuration list for PBXNativeTarget "KKProgressToolbarExample" */; - buildPhases = ( - 677C5C3937372EC9E2F2E688 /* [CP] Check Pods Manifest.lock */, - 537EDCD124F49E34003DC54A /* Sources */, - 537EDCD224F49E34003DC54A /* Frameworks */, - 537EDCD324F49E34003DC54A /* Resources */, - AD69865545F0C22015F61BBE /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = KKProgressToolbarExample; - productName = ProgressToolbar; - productReference = 537EDCD524F49E34003DC54A /* KKProgressToolbarExample.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 537EDCCD24F49E34003DC54A /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 1160; - LastUpgradeCheck = 1160; - ORGANIZATIONNAME = "Adar Porat"; - TargetAttributes = { - 537EDCD424F49E34003DC54A = { - CreatedOnToolsVersion = 11.6; - }; - }; - }; - buildConfigurationList = 537EDCD024F49E34003DC54A /* Build configuration list for PBXProject "KKProgressToolbarExample" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 537EDCCC24F49E34003DC54A; - productRefGroup = 537EDCD624F49E34003DC54A /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 537EDCD424F49E34003DC54A /* KKProgressToolbarExample */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 537EDCD324F49E34003DC54A /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 537EDCE524F49E36003DC54A /* LaunchScreen.storyboard in Resources */, - 537EDCE224F49E36003DC54A /* Assets.xcassets in Resources */, - 537EDCE024F49E34003DC54A /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 677C5C3937372EC9E2F2E688 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-KKProgressToolbarExample-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - AD69865545F0C22015F61BBE /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-KKProgressToolbarExample/Pods-KKProgressToolbarExample-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-KKProgressToolbarExample/Pods-KKProgressToolbarExample-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-KKProgressToolbarExample/Pods-KKProgressToolbarExample-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 537EDCD124F49E34003DC54A /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 537EDCDD24F49E34003DC54A /* ViewController.swift in Sources */, - 537EDCD924F49E34003DC54A /* AppDelegate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - 537EDCDE24F49E34003DC54A /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 537EDCDF24F49E34003DC54A /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 537EDCE324F49E36003DC54A /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 537EDCE424F49E36003DC54A /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 537EDCF224F49E36003DC54A /* 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++14"; - 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_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 = 13.6; - 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; - }; - 537EDCF324F49E36003DC54A /* 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++14"; - 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_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 = 13.6; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 537EDCF524F49E36003DC54A /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = AF78346BF93501F3D531729C /* Pods-KKProgressToolbarExample.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = KKProgressToolbarExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = KK.ProgressToolbar; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 537EDCF624F49E36003DC54A /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = B53D4DE493E43F9C2072567E /* Pods-KKProgressToolbarExample.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = KKProgressToolbarExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = KK.ProgressToolbar; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 537EDCD024F49E34003DC54A /* Build configuration list for PBXProject "KKProgressToolbarExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 537EDCF224F49E36003DC54A /* Debug */, - 537EDCF324F49E36003DC54A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 537EDCF424F49E36003DC54A /* Build configuration list for PBXNativeTarget "KKProgressToolbarExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 537EDCF524F49E36003DC54A /* Debug */, - 537EDCF624F49E36003DC54A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 537EDCCD24F49E34003DC54A /* Project object */; -} diff --git a/example/KKProgressToolbarExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/example/KKProgressToolbarExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index ffa4b6e..0000000 --- a/example/KKProgressToolbarExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/example/KKProgressToolbarExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/example/KKProgressToolbarExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/example/KKProgressToolbarExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/example/KKProgressToolbarExample.xcodeproj/project.xcworkspace/xcuserdata/adarporat.xcuserdatad/UserInterfaceState.xcuserstate b/example/KKProgressToolbarExample.xcodeproj/project.xcworkspace/xcuserdata/adarporat.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100644 index f47946d..0000000 Binary files a/example/KKProgressToolbarExample.xcodeproj/project.xcworkspace/xcuserdata/adarporat.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ diff --git a/example/KKProgressToolbarExample.xcodeproj/xcuserdata/adarporat.xcuserdatad/xcschemes/xcschememanagement.plist b/example/KKProgressToolbarExample.xcodeproj/xcuserdata/adarporat.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index 4374a59..0000000 --- a/example/KKProgressToolbarExample.xcodeproj/xcuserdata/adarporat.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - SchemeUserState - - KKProgressToolbarExample.xcscheme_^#shared#^_ - - orderHint - 4 - - ProgressToolbar.xcscheme_^#shared#^_ - - orderHint - 0 - - ProgressToolbarExample.xcscheme_^#shared#^_ - - orderHint - 0 - - - - diff --git a/example/KKProgressToolbarExample.xcworkspace/contents.xcworkspacedata b/example/KKProgressToolbarExample.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 3cdb57c..0000000 --- a/example/KKProgressToolbarExample.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/example/KKProgressToolbarExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/example/KKProgressToolbarExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/example/KKProgressToolbarExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/example/KKProgressToolbarExample/AppDelegate.swift b/example/KKProgressToolbarExample/AppDelegate.swift deleted file mode 100644 index 1ae5781..0000000 --- a/example/KKProgressToolbarExample/AppDelegate.swift +++ /dev/null @@ -1,19 +0,0 @@ -// -// AppDelegate.swift -// ProgressToolbar -// -// Created by Adar Porat on 8/24/20. -// Copyright © 2020 Adar Porat. All rights reserved. -// - -import UIKit - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - var window: UIWindow? - - func application(_: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { - // Override point for customization after application launch. - true - } -} diff --git a/example/KKProgressToolbarExample/Assets.xcassets/AppIcon.appiconset/Contents.json b/example/KKProgressToolbarExample/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 9221b9b..0000000 --- a/example/KKProgressToolbarExample/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "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/example/KKProgressToolbarExample/Assets.xcassets/Contents.json b/example/KKProgressToolbarExample/Assets.xcassets/Contents.json deleted file mode 100644 index 73c0059..0000000 --- a/example/KKProgressToolbarExample/Assets.xcassets/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/example/KKProgressToolbarExample/Base.lproj/LaunchScreen.storyboard b/example/KKProgressToolbarExample/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index 865e932..0000000 --- a/example/KKProgressToolbarExample/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/example/KKProgressToolbarExample/Base.lproj/Main.storyboard b/example/KKProgressToolbarExample/Base.lproj/Main.storyboard deleted file mode 100644 index c6a685d..0000000 --- a/example/KKProgressToolbarExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/example/KKProgressToolbarExample/Info.plist b/example/KKProgressToolbarExample/Info.plist deleted file mode 100644 index af8868b..0000000 --- a/example/KKProgressToolbarExample/Info.plist +++ /dev/null @@ -1,45 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - $(PRODUCT_BUNDLE_PACKAGE_TYPE) - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/example/KKProgressToolbarExample/ViewController.swift b/example/KKProgressToolbarExample/ViewController.swift deleted file mode 100644 index e36c2fb..0000000 --- a/example/KKProgressToolbarExample/ViewController.swift +++ /dev/null @@ -1,46 +0,0 @@ -// -// ViewController.swift -// ProgressToolbar -// -// Created by Adar Porat on 8/24/20. -// Copyright © 2020 Adar Porat. All rights reserved. -// - -import KKProgressToolbar -import UIKit - -class ViewController: UIViewController { - fileprivate lazy var loadingToolbar: KKProgressToolbar = { - let view = KKProgressToolbar() - view.progressBar.barBorderColor = .black - view.progressBar.barBackgroundColor = .black - view.progressBar.barBorderWidth = 1 - view.progressBar.barFillColor = .white - view.isHidden = true - return view - }() - - override func viewDidLoad() { - super.viewDidLoad() - - loadingToolbar.actionDelegate = self - loadingToolbar.frame = CGRect(x: 0, y: view.bounds.size.height, width: view.bounds.size.width, height: 55) - view.addSubview(loadingToolbar) - } - - @IBAction func showToolbar(_: Any) { - loadingToolbar.show(true, completion: nil) - loadingToolbar.text = NSLocalizedString("Loading...", comment: "") - loadingToolbar.progressBar.progress = 0.5 - } - - @IBAction func hideToolbar(_: Any) { - loadingToolbar.hide(true, completion: nil) - } -} - -// MARK: - KKProgressToolbarDelegate - -extension ViewController: KKProgressToolbarDelegate { - func didCancelButtonPressed(_: KKProgressToolbar) {} -} diff --git a/example/Podfile b/example/Podfile deleted file mode 100644 index 564a66b..0000000 --- a/example/Podfile +++ /dev/null @@ -1,6 +0,0 @@ -use_frameworks! - -target 'KKProgressToolbarExample' do - platform :ios, '12.0' - pod 'KKProgressToolbar', :path => '../' -end diff --git a/example/Podfile.lock b/example/Podfile.lock deleted file mode 100644 index fd153d7..0000000 --- a/example/Podfile.lock +++ /dev/null @@ -1,27 +0,0 @@ -PODS: - - GTProgressBar (0.3.3) - - KKProgressToolbar (3.0.0): - - GTProgressBar - - SnapKit - - SnapKit (5.0.1) - -DEPENDENCIES: - - KKProgressToolbar (from `../`) - -SPEC REPOS: - trunk: - - GTProgressBar - - SnapKit - -EXTERNAL SOURCES: - KKProgressToolbar: - :path: "../" - -SPEC CHECKSUMS: - GTProgressBar: a480283ecb0ada50de16c71e634892826928f640 - KKProgressToolbar: e842fbb271b01c257bde231e8c6da7842ece053b - SnapKit: 97b92857e3df3a0c71833cce143274bf6ef8e5eb - -PODFILE CHECKSUM: 08e9eb173d265ebd3c18f9a57c4eabb15ead62db - -COCOAPODS: 1.10.0.beta.2