diff --git a/GTProgressBar.podspec b/GTProgressBar.podspec deleted file mode 100644 index 04c0680..0000000 --- a/GTProgressBar.podspec +++ /dev/null @@ -1,28 +0,0 @@ -Pod::Spec.new do |s| - s.name = 'GTProgressBar' - s.version = '0.3.3' - s.summary = 'GTProgressBar is a customisable progress bar written in Swift 5' - -# This description is used to generate tags and improve search results. -# * Think: What does it do? Why did you write it? What is the focus? -# * Try to keep it short, snappy and to the point. -# * Write the description between the DESC delimiters below. -# * Finally, don't worry about the indent, CocoaPods strips it! - - s.description = <<-DESC -GTProgressBar is a customisable progress bar written in Swift 5. It supports both vertical and horizontal orientation. - DESC - - s.homepage = 'https://github.com/gregttn/GTProgressBar' - # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' - s.license = { :type => 'MIT', :file => 'LICENSE' } - s.author = { 'gregttn' => 'gregttn@gmail.com' } - s.source = { :git => 'https://github.com/gregttn/GTProgressBar.git', :tag => s.version.to_s } - # s.social_media_url = 'https://twitter.com/gregttn' - - s.ios.deployment_target = '9.0' - s.tvos.deployment_target = '10.0' - - s.source_files = 'GTProgressBar/Classes/**/*' - s.swift_version = '5.0' -end diff --git a/GTProgressBar.xcodeproj/project.pbxproj b/GTProgressBar.xcodeproj/project.pbxproj deleted file mode 100644 index 502d14a..0000000 --- a/GTProgressBar.xcodeproj/project.pbxproj +++ /dev/null @@ -1,377 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 51; - objects = { - -/* Begin PBXBuildFile section */ - 6327836C1F39E9FC000E9F75 /* GTProgressBarOrientation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6327836B1F39E9FC000E9F75 /* GTProgressBarOrientation.swift */; }; - 632783711F39EA07000E9F75 /* HorizontalLabelPositionFrameCalculator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6327836D1F39EA07000E9F75 /* HorizontalLabelPositionFrameCalculator.swift */; }; - 632783731F39EA07000E9F75 /* UIViewExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6327836F1F39EA07000E9F75 /* UIViewExtensions.swift */; }; - 632783741F39EA07000E9F75 /* VerticalLabelPositionFrameCalculator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 632783701F39EA07000E9F75 /* VerticalLabelPositionFrameCalculator.swift */; }; - 63811CAF1FBEE29500B5CF1D /* GTProgressBarDirection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63811CAE1FBEE29500B5CF1D /* GTProgressBarDirection.swift */; }; - 63825C15208685480072D52B /* GTProgressBarCornerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63825C14208685480072D52B /* GTProgressBarCornerType.swift */; }; - BC8B28261EBA3CC900BF1A1C /* GTProgressBar.h in Headers */ = {isa = PBXBuildFile; fileRef = BC8B28241EBA3CC900BF1A1C /* GTProgressBar.h */; settings = {ATTRIBUTES = (Public, ); }; }; - BC8B28331EBA3DD800BF1A1C /* FrameCalculator.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC8B282E1EBA3DD800BF1A1C /* FrameCalculator.swift */; }; - BC8B28341EBA3DD800BF1A1C /* GTProgressBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC8B282F1EBA3DD800BF1A1C /* GTProgressBar.swift */; }; - BC8B28351EBA3DD800BF1A1C /* GTProgressBarLabelPosition.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC8B28301EBA3DD800BF1A1C /* GTProgressBarLabelPosition.swift */; }; - BCFF4CF71F7D476800441B46 /* UILabelExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6327836E1F39EA07000E9F75 /* UILabelExtensions.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 6327836B1F39E9FC000E9F75 /* GTProgressBarOrientation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GTProgressBarOrientation.swift; sourceTree = ""; }; - 6327836D1F39EA07000E9F75 /* HorizontalLabelPositionFrameCalculator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HorizontalLabelPositionFrameCalculator.swift; sourceTree = ""; }; - 6327836E1F39EA07000E9F75 /* UILabelExtensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UILabelExtensions.swift; sourceTree = ""; }; - 6327836F1F39EA07000E9F75 /* UIViewExtensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UIViewExtensions.swift; sourceTree = ""; }; - 632783701F39EA07000E9F75 /* VerticalLabelPositionFrameCalculator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = VerticalLabelPositionFrameCalculator.swift; sourceTree = ""; }; - 63811CAE1FBEE29500B5CF1D /* GTProgressBarDirection.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GTProgressBarDirection.swift; sourceTree = ""; }; - 63825C14208685480072D52B /* GTProgressBarCornerType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GTProgressBarCornerType.swift; sourceTree = ""; }; - BC8B28211EBA3CC900BF1A1C /* GTProgressBar.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = GTProgressBar.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - BC8B28241EBA3CC900BF1A1C /* GTProgressBar.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GTProgressBar.h; sourceTree = ""; }; - BC8B28251EBA3CC900BF1A1C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - BC8B282E1EBA3DD800BF1A1C /* FrameCalculator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FrameCalculator.swift; sourceTree = ""; }; - BC8B282F1EBA3DD800BF1A1C /* GTProgressBar.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GTProgressBar.swift; sourceTree = ""; }; - BC8B28301EBA3DD800BF1A1C /* GTProgressBarLabelPosition.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GTProgressBarLabelPosition.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - BC8B281D1EBA3CC900BF1A1C /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - BC8B28171EBA3CC900BF1A1C = { - isa = PBXGroup; - children = ( - BC8B28231EBA3CC900BF1A1C /* GTProgressBar */, - BC8B28221EBA3CC900BF1A1C /* Products */, - ); - sourceTree = ""; - }; - BC8B28221EBA3CC900BF1A1C /* Products */ = { - isa = PBXGroup; - children = ( - BC8B28211EBA3CC900BF1A1C /* GTProgressBar.framework */, - ); - name = Products; - sourceTree = ""; - }; - BC8B28231EBA3CC900BF1A1C /* GTProgressBar */ = { - isa = PBXGroup; - children = ( - BC8B282C1EBA3DD800BF1A1C /* Classes */, - BC8B28241EBA3CC900BF1A1C /* GTProgressBar.h */, - BC8B28251EBA3CC900BF1A1C /* Info.plist */, - ); - path = GTProgressBar; - sourceTree = ""; - }; - BC8B282C1EBA3DD800BF1A1C /* Classes */ = { - isa = PBXGroup; - children = ( - 6327836D1F39EA07000E9F75 /* HorizontalLabelPositionFrameCalculator.swift */, - 6327836E1F39EA07000E9F75 /* UILabelExtensions.swift */, - 63825C14208685480072D52B /* GTProgressBarCornerType.swift */, - 6327836F1F39EA07000E9F75 /* UIViewExtensions.swift */, - 632783701F39EA07000E9F75 /* VerticalLabelPositionFrameCalculator.swift */, - 6327836B1F39E9FC000E9F75 /* GTProgressBarOrientation.swift */, - BC8B282E1EBA3DD800BF1A1C /* FrameCalculator.swift */, - BC8B282F1EBA3DD800BF1A1C /* GTProgressBar.swift */, - BC8B28301EBA3DD800BF1A1C /* GTProgressBarLabelPosition.swift */, - 63811CAE1FBEE29500B5CF1D /* GTProgressBarDirection.swift */, - ); - path = Classes; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - BC8B281E1EBA3CC900BF1A1C /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - BC8B28261EBA3CC900BF1A1C /* GTProgressBar.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - BC8B28201EBA3CC900BF1A1C /* GTProgressBar */ = { - isa = PBXNativeTarget; - buildConfigurationList = BC8B28291EBA3CC900BF1A1C /* Build configuration list for PBXNativeTarget "GTProgressBar" */; - buildPhases = ( - BC8B281C1EBA3CC900BF1A1C /* Sources */, - BC8B281D1EBA3CC900BF1A1C /* Frameworks */, - BC8B281E1EBA3CC900BF1A1C /* Headers */, - BC8B281F1EBA3CC900BF1A1C /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = GTProgressBar; - productName = GTProgressBar; - productReference = BC8B28211EBA3CC900BF1A1C /* GTProgressBar.framework */; - productType = "com.apple.product-type.framework"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - BC8B28181EBA3CC900BF1A1C /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1010; - ORGANIZATIONNAME = gregttn; - TargetAttributes = { - BC8B28201EBA3CC900BF1A1C = { - CreatedOnToolsVersion = 8.3.2; - LastSwiftMigration = 0900; - ProvisioningStyle = Automatic; - }; - }; - }; - buildConfigurationList = BC8B281B1EBA3CC900BF1A1C /* Build configuration list for PBXProject "GTProgressBar" */; - compatibilityVersion = "Xcode 10.0"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = BC8B28171EBA3CC900BF1A1C; - productRefGroup = BC8B28221EBA3CC900BF1A1C /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - BC8B28201EBA3CC900BF1A1C /* GTProgressBar */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - BC8B281F1EBA3CC900BF1A1C /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - BC8B281C1EBA3CC900BF1A1C /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 63825C15208685480072D52B /* GTProgressBarCornerType.swift in Sources */, - BCFF4CF71F7D476800441B46 /* UILabelExtensions.swift in Sources */, - 63811CAF1FBEE29500B5CF1D /* GTProgressBarDirection.swift in Sources */, - 6327836C1F39E9FC000E9F75 /* GTProgressBarOrientation.swift in Sources */, - 632783731F39EA07000E9F75 /* UIViewExtensions.swift in Sources */, - BC8B28331EBA3DD800BF1A1C /* FrameCalculator.swift in Sources */, - BC8B28341EBA3DD800BF1A1C /* GTProgressBar.swift in Sources */, - 632783741F39EA07000E9F75 /* VerticalLabelPositionFrameCalculator.swift in Sources */, - BC8B28351EBA3DD800BF1A1C /* GTProgressBarLabelPosition.swift in Sources */, - 632783711F39EA07000E9F75 /* HorizontalLabelPositionFrameCalculator.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - BC8B28271EBA3CC900BF1A1C /* 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++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = 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_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - 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 = 9.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - BC8B28281EBA3CC900BF1A1C /* 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++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = 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_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - 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 = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - BC8B282A1EBA3CC900BF1A1C /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = GTProgressBar/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.gregttn.GTProgressBar; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.2; - }; - name = Debug; - }; - BC8B282B1EBA3CC900BF1A1C /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = GTProgressBar/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.gregttn.GTProgressBar; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.2; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - BC8B281B1EBA3CC900BF1A1C /* Build configuration list for PBXProject "GTProgressBar" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - BC8B28271EBA3CC900BF1A1C /* Debug */, - BC8B28281EBA3CC900BF1A1C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - BC8B28291EBA3CC900BF1A1C /* Build configuration list for PBXNativeTarget "GTProgressBar" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - BC8B282A1EBA3CC900BF1A1C /* Debug */, - BC8B282B1EBA3CC900BF1A1C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = BC8B28181EBA3CC900BF1A1C /* Project object */; -} diff --git a/GTProgressBar.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/GTProgressBar.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index a697f18..0000000 --- a/GTProgressBar.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/GTProgressBar.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/GTProgressBar.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/GTProgressBar.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/GTProgressBar.xcodeproj/xcshareddata/xcschemes/GTProgressBar.xcscheme b/GTProgressBar.xcodeproj/xcshareddata/xcschemes/GTProgressBar.xcscheme deleted file mode 100644 index 400f851..0000000 --- a/GTProgressBar.xcodeproj/xcshareddata/xcschemes/GTProgressBar.xcscheme +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/GTProgressBar/Classes/FrameCalculator.swift b/GTProgressBar/Classes/FrameCalculator.swift index eb8e71a..09bba0b 100644 --- a/GTProgressBar/Classes/FrameCalculator.swift +++ b/GTProgressBar/Classes/FrameCalculator.swift @@ -7,6 +7,7 @@ // import Foundation +import UIKit internal protocol FrameCalculator { var minimumProgressBarWidth: CGFloat {get} diff --git a/GTProgressBar/Classes/HorizontalLabelPositionFrameCalculator.swift b/GTProgressBar/Classes/HorizontalLabelPositionFrameCalculator.swift index b50b0dc..acbdb5b 100644 --- a/GTProgressBar/Classes/HorizontalLabelPositionFrameCalculator.swift +++ b/GTProgressBar/Classes/HorizontalLabelPositionFrameCalculator.swift @@ -7,6 +7,7 @@ // import Foundation +import UIKit internal protocol HorizontalLabelPositionFrameCalculator: FrameCalculator { func backgroundViewOrigin() -> CGPoint diff --git a/GTProgressBar/Classes/UILabelExtensions.swift b/GTProgressBar/Classes/UILabelExtensions.swift index 68157c2..3cbb110 100644 --- a/GTProgressBar/Classes/UILabelExtensions.swift +++ b/GTProgressBar/Classes/UILabelExtensions.swift @@ -7,6 +7,7 @@ // import Foundation +import UIKit internal extension UILabel { static func sizeFor(content: NSString, font: UIFont) -> CGSize { diff --git a/GTProgressBar/Classes/VerticalLabelPositionFrameCalculator.swift b/GTProgressBar/Classes/VerticalLabelPositionFrameCalculator.swift index 81a62cc..885a5ed 100644 --- a/GTProgressBar/Classes/VerticalLabelPositionFrameCalculator.swift +++ b/GTProgressBar/Classes/VerticalLabelPositionFrameCalculator.swift @@ -7,6 +7,7 @@ // import Foundation +import UIKit internal protocol VerticalLabelPositionFrameCalculator: FrameCalculator { func backgroundViewOrigin() -> CGPoint diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..e4d7313 --- /dev/null +++ b/Package.swift @@ -0,0 +1,27 @@ +// swift-tools-version:5.9 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "GTProgressBar", + platforms: [ + .iOS(.v12), + .tvOS(.v12), + .macOS(.v12), + ], + products: [ + .library( + name: "GTProgressBar", + targets: ["GTProgressBar"] + ), + ], + dependencies: [], + targets: [ + .target( + name: "GTProgressBar", + dependencies: [], + path: "GTProgressBar" + ) + ] +) diff --git a/_Pods.xcodeproj b/_Pods.xcodeproj deleted file mode 120000 index 3c5a8e7..0000000 --- a/_Pods.xcodeproj +++ /dev/null @@ -1 +0,0 @@ -Example/Pods/Pods.xcodeproj \ No newline at end of file