Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions GTProgressBar.podspec

This file was deleted.

377 changes: 0 additions & 377 deletions GTProgressBar.xcodeproj/project.pbxproj

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 1 addition & 0 deletions GTProgressBar/Classes/FrameCalculator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import Foundation
import UIKit

internal protocol FrameCalculator {
var minimumProgressBarWidth: CGFloat {get}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import Foundation
import UIKit

internal protocol HorizontalLabelPositionFrameCalculator: FrameCalculator {
func backgroundViewOrigin() -> CGPoint
Expand Down
1 change: 1 addition & 0 deletions GTProgressBar/Classes/UILabelExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import Foundation
import UIKit

internal extension UILabel {
static func sizeFor(content: NSString, font: UIFont) -> CGSize {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import Foundation
import UIKit

internal protocol VerticalLabelPositionFrameCalculator: FrameCalculator {
func backgroundViewOrigin() -> CGPoint
Expand Down
27 changes: 27 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -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"
)
]
)
1 change: 0 additions & 1 deletion _Pods.xcodeproj

This file was deleted.