Skip to content

Commit

Permalink
renamed to APProgressBar
Browse files Browse the repository at this point in the history
  • Loading branch information
aporat committed Feb 13, 2025
1 parent 1b9ab1e commit ad41f93
Show file tree
Hide file tree
Showing 30 changed files with 82 additions and 903 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.DS_Store

# Xcode
.build
build/
*.pbxuser
!default.pbxuser
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
Expand All @@ -15,9 +16,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "537EDD0324F49F1E003DC54A"
BuildableName = "KKProgressToolbar.framework"
BlueprintName = "KKProgressToolbar"
ReferencedContainer = "container:KKProgressToolbar.xcodeproj">
BuildableName = "APProgressToolbar.framework"
BlueprintName = "APProgressToolbar"
ReferencedContainer = "container:APProgressToolbar.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -26,22 +27,17 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<TestPlans>
<TestPlanReference
reference = "container:../KKProgressToolbar.xctestplan"
default = "YES">
</TestPlanReference>
</TestPlans>
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "537EDD0C24F49F1E003DC54A"
BuildableName = "KKProgressToolbarTests.xctest"
BlueprintName = "KKProgressToolbarTests"
ReferencedContainer = "container:KKProgressToolbar.xcodeproj">
BuildableName = "APProgressToolbarTests.xctest"
BlueprintName = "APProgressToolbarTests"
ReferencedContainer = "container:APProgressToolbar.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
Expand All @@ -67,9 +63,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "537EDD0324F49F1E003DC54A"
BuildableName = "KKProgressToolbar.framework"
BlueprintName = "KKProgressToolbar"
ReferencedContainer = "container:KKProgressToolbar.xcodeproj">
BuildableName = "APProgressToolbar.framework"
BlueprintName = "APProgressToolbar"
ReferencedContainer = "container:APProgressToolbar.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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[];
Original file line number Diff line number Diff line change
Expand Up @@ -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? {
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@testable import KKProgressToolbar
@testable import APProgressToolbar
import XCTest

class ProgressToolbarTests: XCTestCase {
Expand Down
18 changes: 0 additions & 18 deletions KKProgressToolbar.podspec

This file was deleted.

This file was deleted.

14 changes: 7 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
import PackageDescription

let package = Package(
name: "KKProgressToolbar",
name: "APProgressToolbar",
platforms: [
.iOS(.v15),
.tvOS(.v13),
.macOS(.v12),
],
products: [
.library(
name: "KKProgressToolbar",
targets: ["KKProgressToolbar"]
name: "APProgressToolbar",
targets: ["APProgressToolbar"]
),
],
dependencies: [
Expand All @@ -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"]
)
]
)
Loading

0 comments on commit ad41f93

Please sign in to comment.