From f791f47ccb95b647bfeffb41cfa22b999f4b6098 Mon Sep 17 00:00:00 2001 From: Dmitriy Holovnia Date: Mon, 30 May 2022 14:17:59 +0300 Subject: [PATCH 1/2] splitting the library into modules --- Package.swift | 14 +++++++++++--- .../Array+extensions.swift | 0 .../CACornerMask+extensions.swift | 0 .../Collection+indexPath.swift | 0 .../NSLayoutConstrain+extensions.swift | 0 .../Protocols/NibInitializable.swift | 0 .../{ => UIKitUptech}/Protocols/ReusableCell.swift | 0 .../UICollectionView+extensions.swift | 0 .../UILayoutPriority+extensions.swift | 0 .../UITableView+extensions.swift | 0 .../UIKit => UIKitUptech}/UIView+extensions.swift | 0 .../Array+extensionsTests.swift | 2 +- .../Collection+indexPathTests.swift | 2 +- .../NSLayoutConstraint+extensionsTests.swift | 2 +- .../UICollectionView+extensionsTests.swift | 2 +- .../UITableView+extensionsTests.swift | 2 +- .../UIView+extensionsTests.swift | 2 +- 17 files changed, 17 insertions(+), 9 deletions(-) rename Sources/Uptech-iOS-Helpers/{Extensions/Foundation => FoundationUptech}/Array+extensions.swift (100%) rename Sources/Uptech-iOS-Helpers/{Extensions/UIKit => UIKitUptech}/CACornerMask+extensions.swift (100%) rename Sources/Uptech-iOS-Helpers/{Extensions/UIKit => UIKitUptech}/Collection+indexPath.swift (100%) rename Sources/Uptech-iOS-Helpers/{Extensions/UIKit => UIKitUptech}/NSLayoutConstrain+extensions.swift (100%) rename Sources/Uptech-iOS-Helpers/{ => UIKitUptech}/Protocols/NibInitializable.swift (100%) rename Sources/Uptech-iOS-Helpers/{ => UIKitUptech}/Protocols/ReusableCell.swift (100%) rename Sources/Uptech-iOS-Helpers/{Extensions/UIKit => UIKitUptech}/UICollectionView+extensions.swift (100%) rename Sources/Uptech-iOS-Helpers/{Extensions/UIKit => UIKitUptech}/UILayoutPriority+extensions.swift (100%) rename Sources/Uptech-iOS-Helpers/{Extensions/UIKit => UIKitUptech}/UITableView+extensions.swift (100%) rename Sources/Uptech-iOS-Helpers/{Extensions/UIKit => UIKitUptech}/UIView+extensions.swift (100%) rename Tests/Uptech-iOS-Helpers-Tests/{Foundation => FoundationUptech}/Array+extensionsTests.swift (98%) rename Tests/Uptech-iOS-Helpers-Tests/{UIKit => UIKitUptech}/Collection+indexPathTests.swift (95%) rename Tests/Uptech-iOS-Helpers-Tests/{UIKit => UIKitUptech}/NSLayoutConstraint+extensionsTests.swift (96%) rename Tests/Uptech-iOS-Helpers-Tests/{UIKit => UIKitUptech}/UICollectionView+extensionsTests.swift (96%) rename Tests/Uptech-iOS-Helpers-Tests/{UIKit => UIKitUptech}/UITableView+extensionsTests.swift (96%) rename Tests/Uptech-iOS-Helpers-Tests/{UIKit => UIKitUptech}/UIView+extensionsTests.swift (98%) diff --git a/Package.swift b/Package.swift index 4213c72..0e821bd 100644 --- a/Package.swift +++ b/Package.swift @@ -6,10 +6,18 @@ let package = Package( name: "Uptech-iOS-Helpers", platforms: [.iOS(.v11)], products: [ - .library(name: "Uptech-iOS-Helpers", targets: ["Uptech-iOS-Helpers"]), + .library(name: "FoundationUptech", targets: ["FoundationUptech"]), + .library(name: "UIKitUptech", targets: ["UIKitUptech"]) ], targets: [ - .target(name: "Uptech-iOS-Helpers", dependencies: []), - .testTarget(name: "Uptech-iOS-Helpers-Tests", dependencies: ["Uptech-iOS-Helpers"]), + .target(name: "FoundationUptech", path: "Sources/Uptech-iOS-Helpers/FoundationUptech"), + .target(name: "UIKitUptech", path: "Sources/Uptech-iOS-Helpers/UIKitUptech"), + .testTarget(name: "FoundationUptech-Test", + dependencies: ["FoundationUptech"], + path: "Tests/Uptech-iOS-Helpers-Tests/FoundationUptech"), + .testTarget(name: "UIKitUptech-Test", + dependencies: ["UIKitUptech"], + path: "Tests/Uptech-iOS-Helpers-Tests/UIKitUptech") +// .testTarget(name: "Uptech-iOS-Helpers-Tests", dependencies: ["FoundationUptech", "UIKitUptech"]), ] ) diff --git a/Sources/Uptech-iOS-Helpers/Extensions/Foundation/Array+extensions.swift b/Sources/Uptech-iOS-Helpers/FoundationUptech/Array+extensions.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/Extensions/Foundation/Array+extensions.swift rename to Sources/Uptech-iOS-Helpers/FoundationUptech/Array+extensions.swift diff --git a/Sources/Uptech-iOS-Helpers/Extensions/UIKit/CACornerMask+extensions.swift b/Sources/Uptech-iOS-Helpers/UIKitUptech/CACornerMask+extensions.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/Extensions/UIKit/CACornerMask+extensions.swift rename to Sources/Uptech-iOS-Helpers/UIKitUptech/CACornerMask+extensions.swift diff --git a/Sources/Uptech-iOS-Helpers/Extensions/UIKit/Collection+indexPath.swift b/Sources/Uptech-iOS-Helpers/UIKitUptech/Collection+indexPath.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/Extensions/UIKit/Collection+indexPath.swift rename to Sources/Uptech-iOS-Helpers/UIKitUptech/Collection+indexPath.swift diff --git a/Sources/Uptech-iOS-Helpers/Extensions/UIKit/NSLayoutConstrain+extensions.swift b/Sources/Uptech-iOS-Helpers/UIKitUptech/NSLayoutConstrain+extensions.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/Extensions/UIKit/NSLayoutConstrain+extensions.swift rename to Sources/Uptech-iOS-Helpers/UIKitUptech/NSLayoutConstrain+extensions.swift diff --git a/Sources/Uptech-iOS-Helpers/Protocols/NibInitializable.swift b/Sources/Uptech-iOS-Helpers/UIKitUptech/Protocols/NibInitializable.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/Protocols/NibInitializable.swift rename to Sources/Uptech-iOS-Helpers/UIKitUptech/Protocols/NibInitializable.swift diff --git a/Sources/Uptech-iOS-Helpers/Protocols/ReusableCell.swift b/Sources/Uptech-iOS-Helpers/UIKitUptech/Protocols/ReusableCell.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/Protocols/ReusableCell.swift rename to Sources/Uptech-iOS-Helpers/UIKitUptech/Protocols/ReusableCell.swift diff --git a/Sources/Uptech-iOS-Helpers/Extensions/UIKit/UICollectionView+extensions.swift b/Sources/Uptech-iOS-Helpers/UIKitUptech/UICollectionView+extensions.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/Extensions/UIKit/UICollectionView+extensions.swift rename to Sources/Uptech-iOS-Helpers/UIKitUptech/UICollectionView+extensions.swift diff --git a/Sources/Uptech-iOS-Helpers/Extensions/UIKit/UILayoutPriority+extensions.swift b/Sources/Uptech-iOS-Helpers/UIKitUptech/UILayoutPriority+extensions.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/Extensions/UIKit/UILayoutPriority+extensions.swift rename to Sources/Uptech-iOS-Helpers/UIKitUptech/UILayoutPriority+extensions.swift diff --git a/Sources/Uptech-iOS-Helpers/Extensions/UIKit/UITableView+extensions.swift b/Sources/Uptech-iOS-Helpers/UIKitUptech/UITableView+extensions.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/Extensions/UIKit/UITableView+extensions.swift rename to Sources/Uptech-iOS-Helpers/UIKitUptech/UITableView+extensions.swift diff --git a/Sources/Uptech-iOS-Helpers/Extensions/UIKit/UIView+extensions.swift b/Sources/Uptech-iOS-Helpers/UIKitUptech/UIView+extensions.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/Extensions/UIKit/UIView+extensions.swift rename to Sources/Uptech-iOS-Helpers/UIKitUptech/UIView+extensions.swift diff --git a/Tests/Uptech-iOS-Helpers-Tests/Foundation/Array+extensionsTests.swift b/Tests/Uptech-iOS-Helpers-Tests/FoundationUptech/Array+extensionsTests.swift similarity index 98% rename from Tests/Uptech-iOS-Helpers-Tests/Foundation/Array+extensionsTests.swift rename to Tests/Uptech-iOS-Helpers-Tests/FoundationUptech/Array+extensionsTests.swift index a3bd358..6b054e0 100644 --- a/Tests/Uptech-iOS-Helpers-Tests/Foundation/Array+extensionsTests.swift +++ b/Tests/Uptech-iOS-Helpers-Tests/FoundationUptech/Array+extensionsTests.swift @@ -6,7 +6,7 @@ // import XCTest -@testable import Uptech_iOS_Helpers +@testable import FoundationUptech final class ArrayExtensionsTests: XCTestCase { private let sut = [0, 1, 2, 3, 4] diff --git a/Tests/Uptech-iOS-Helpers-Tests/UIKit/Collection+indexPathTests.swift b/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/Collection+indexPathTests.swift similarity index 95% rename from Tests/Uptech-iOS-Helpers-Tests/UIKit/Collection+indexPathTests.swift rename to Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/Collection+indexPathTests.swift index 8ae87da..fa38546 100644 --- a/Tests/Uptech-iOS-Helpers-Tests/UIKit/Collection+indexPathTests.swift +++ b/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/Collection+indexPathTests.swift @@ -6,7 +6,7 @@ // import XCTest -@testable import Uptech_iOS_Helpers +@testable import UIKitUptech final class CollectionIndexPathTests: XCTestCase { private let sut = [[0, 1, 2], diff --git a/Tests/Uptech-iOS-Helpers-Tests/UIKit/NSLayoutConstraint+extensionsTests.swift b/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/NSLayoutConstraint+extensionsTests.swift similarity index 96% rename from Tests/Uptech-iOS-Helpers-Tests/UIKit/NSLayoutConstraint+extensionsTests.swift rename to Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/NSLayoutConstraint+extensionsTests.swift index 9117f22..1494207 100644 --- a/Tests/Uptech-iOS-Helpers-Tests/UIKit/NSLayoutConstraint+extensionsTests.swift +++ b/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/NSLayoutConstraint+extensionsTests.swift @@ -6,7 +6,7 @@ // import XCTest -@testable import Uptech_iOS_Helpers +@testable import UIKitUptech final class NSLayoutConstraintExtensionsTests: XCTestCase { diff --git a/Tests/Uptech-iOS-Helpers-Tests/UIKit/UICollectionView+extensionsTests.swift b/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UICollectionView+extensionsTests.swift similarity index 96% rename from Tests/Uptech-iOS-Helpers-Tests/UIKit/UICollectionView+extensionsTests.swift rename to Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UICollectionView+extensionsTests.swift index 0448e72..1d34494 100644 --- a/Tests/Uptech-iOS-Helpers-Tests/UIKit/UICollectionView+extensionsTests.swift +++ b/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UICollectionView+extensionsTests.swift @@ -7,7 +7,7 @@ import XCTest import UIKit -@testable import Uptech_iOS_Helpers +@testable import UIKitUptech final class UICollectionViewExtensionsTests: XCTestCase { private class TestCell: UICollectionViewCell, ReusableCell { } diff --git a/Tests/Uptech-iOS-Helpers-Tests/UIKit/UITableView+extensionsTests.swift b/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UITableView+extensionsTests.swift similarity index 96% rename from Tests/Uptech-iOS-Helpers-Tests/UIKit/UITableView+extensionsTests.swift rename to Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UITableView+extensionsTests.swift index 0517f81..83d83e4 100644 --- a/Tests/Uptech-iOS-Helpers-Tests/UIKit/UITableView+extensionsTests.swift +++ b/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UITableView+extensionsTests.swift @@ -7,7 +7,7 @@ import XCTest import UIKit -@testable import Uptech_iOS_Helpers +@testable import UIKitUptech final class UITableViewExtensionsTests: XCTestCase { private class TestCell: UITableViewCell, ReusableCell { } diff --git a/Tests/Uptech-iOS-Helpers-Tests/UIKit/UIView+extensionsTests.swift b/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UIView+extensionsTests.swift similarity index 98% rename from Tests/Uptech-iOS-Helpers-Tests/UIKit/UIView+extensionsTests.swift rename to Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UIView+extensionsTests.swift index 38de2a5..3038826 100644 --- a/Tests/Uptech-iOS-Helpers-Tests/UIKit/UIView+extensionsTests.swift +++ b/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UIView+extensionsTests.swift @@ -6,7 +6,7 @@ // import XCTest -@testable import Uptech_iOS_Helpers +@testable import UIKitUptech final class UIViewExtensionsTests: XCTestCase { From a5cef8b74a2562eb44d3fe9c1f37baa1729a0189 Mon Sep 17 00:00:00 2001 From: Dmitriy Holovnia Date: Mon, 30 May 2022 14:43:10 +0300 Subject: [PATCH 2/2] rename modules --- Package.swift | 21 +++++++++---------- .../Array+extensions.swift | 0 .../CACornerMask+extensions.swift | 0 .../Collection+indexPath.swift | 0 .../NSLayoutConstrain+extensions.swift | 0 .../Protocols/NibInitializable.swift | 0 .../Protocols/ReusableCell.swift | 0 .../UICollectionView+extensions.swift | 0 .../UILayoutPriority+extensions.swift | 0 .../UITableView+extensions.swift | 0 .../UIView+extensions.swift | 0 .../Array+extensionsTests.swift | 2 +- .../Collection+indexPathTests.swift | 2 +- .../NSLayoutConstraint+extensionsTests.swift | 2 +- .../UICollectionView+extensionsTests.swift | 2 +- .../UITableView+extensionsTests.swift | 2 +- .../UIView+extensionsTests.swift | 2 +- 17 files changed, 16 insertions(+), 17 deletions(-) rename Sources/Uptech-iOS-Helpers/{FoundationUptech => FoundationHelper}/Array+extensions.swift (100%) rename Sources/Uptech-iOS-Helpers/{UIKitUptech => UIKitHelper}/CACornerMask+extensions.swift (100%) rename Sources/Uptech-iOS-Helpers/{UIKitUptech => UIKitHelper}/Collection+indexPath.swift (100%) rename Sources/Uptech-iOS-Helpers/{UIKitUptech => UIKitHelper}/NSLayoutConstrain+extensions.swift (100%) rename Sources/Uptech-iOS-Helpers/{UIKitUptech => UIKitHelper}/Protocols/NibInitializable.swift (100%) rename Sources/Uptech-iOS-Helpers/{UIKitUptech => UIKitHelper}/Protocols/ReusableCell.swift (100%) rename Sources/Uptech-iOS-Helpers/{UIKitUptech => UIKitHelper}/UICollectionView+extensions.swift (100%) rename Sources/Uptech-iOS-Helpers/{UIKitUptech => UIKitHelper}/UILayoutPriority+extensions.swift (100%) rename Sources/Uptech-iOS-Helpers/{UIKitUptech => UIKitHelper}/UITableView+extensions.swift (100%) rename Sources/Uptech-iOS-Helpers/{UIKitUptech => UIKitHelper}/UIView+extensions.swift (100%) rename Tests/Uptech-iOS-Helpers-Tests/{FoundationUptech => FoundationHelper}/Array+extensionsTests.swift (98%) rename Tests/Uptech-iOS-Helpers-Tests/{UIKitUptech => UIKitHelper}/Collection+indexPathTests.swift (96%) rename Tests/Uptech-iOS-Helpers-Tests/{UIKitUptech => UIKitHelper}/NSLayoutConstraint+extensionsTests.swift (97%) rename Tests/Uptech-iOS-Helpers-Tests/{UIKitUptech => UIKitHelper}/UICollectionView+extensionsTests.swift (97%) rename Tests/Uptech-iOS-Helpers-Tests/{UIKitUptech => UIKitHelper}/UITableView+extensionsTests.swift (96%) rename Tests/Uptech-iOS-Helpers-Tests/{UIKitUptech => UIKitHelper}/UIView+extensionsTests.swift (98%) diff --git a/Package.swift b/Package.swift index 0e821bd..d53b7af 100644 --- a/Package.swift +++ b/Package.swift @@ -6,18 +6,17 @@ let package = Package( name: "Uptech-iOS-Helpers", platforms: [.iOS(.v11)], products: [ - .library(name: "FoundationUptech", targets: ["FoundationUptech"]), - .library(name: "UIKitUptech", targets: ["UIKitUptech"]) + .library(name: "FoundationHelper", targets: ["FoundationHelper"]), + .library(name: "UIKitHelper", targets: ["UIKitHelper"]) ], targets: [ - .target(name: "FoundationUptech", path: "Sources/Uptech-iOS-Helpers/FoundationUptech"), - .target(name: "UIKitUptech", path: "Sources/Uptech-iOS-Helpers/UIKitUptech"), - .testTarget(name: "FoundationUptech-Test", - dependencies: ["FoundationUptech"], - path: "Tests/Uptech-iOS-Helpers-Tests/FoundationUptech"), - .testTarget(name: "UIKitUptech-Test", - dependencies: ["UIKitUptech"], - path: "Tests/Uptech-iOS-Helpers-Tests/UIKitUptech") -// .testTarget(name: "Uptech-iOS-Helpers-Tests", dependencies: ["FoundationUptech", "UIKitUptech"]), + .target(name: "FoundationHelper", path: "Sources/Uptech-iOS-Helpers/FoundationHelper"), + .target(name: "UIKitHelper", path: "Sources/Uptech-iOS-Helpers/UIKitHelper"), + .testTarget(name: "FoundationHelper-Test", + dependencies: ["FoundationHelper"], + path: "Tests/Uptech-iOS-Helpers-Tests/FoundationHelper"), + .testTarget(name: "UIKitHelper-Test", + dependencies: ["UIKitHelper"], + path: "Tests/Uptech-iOS-Helpers-Tests/UIKitHelper") ] ) diff --git a/Sources/Uptech-iOS-Helpers/FoundationUptech/Array+extensions.swift b/Sources/Uptech-iOS-Helpers/FoundationHelper/Array+extensions.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/FoundationUptech/Array+extensions.swift rename to Sources/Uptech-iOS-Helpers/FoundationHelper/Array+extensions.swift diff --git a/Sources/Uptech-iOS-Helpers/UIKitUptech/CACornerMask+extensions.swift b/Sources/Uptech-iOS-Helpers/UIKitHelper/CACornerMask+extensions.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/UIKitUptech/CACornerMask+extensions.swift rename to Sources/Uptech-iOS-Helpers/UIKitHelper/CACornerMask+extensions.swift diff --git a/Sources/Uptech-iOS-Helpers/UIKitUptech/Collection+indexPath.swift b/Sources/Uptech-iOS-Helpers/UIKitHelper/Collection+indexPath.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/UIKitUptech/Collection+indexPath.swift rename to Sources/Uptech-iOS-Helpers/UIKitHelper/Collection+indexPath.swift diff --git a/Sources/Uptech-iOS-Helpers/UIKitUptech/NSLayoutConstrain+extensions.swift b/Sources/Uptech-iOS-Helpers/UIKitHelper/NSLayoutConstrain+extensions.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/UIKitUptech/NSLayoutConstrain+extensions.swift rename to Sources/Uptech-iOS-Helpers/UIKitHelper/NSLayoutConstrain+extensions.swift diff --git a/Sources/Uptech-iOS-Helpers/UIKitUptech/Protocols/NibInitializable.swift b/Sources/Uptech-iOS-Helpers/UIKitHelper/Protocols/NibInitializable.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/UIKitUptech/Protocols/NibInitializable.swift rename to Sources/Uptech-iOS-Helpers/UIKitHelper/Protocols/NibInitializable.swift diff --git a/Sources/Uptech-iOS-Helpers/UIKitUptech/Protocols/ReusableCell.swift b/Sources/Uptech-iOS-Helpers/UIKitHelper/Protocols/ReusableCell.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/UIKitUptech/Protocols/ReusableCell.swift rename to Sources/Uptech-iOS-Helpers/UIKitHelper/Protocols/ReusableCell.swift diff --git a/Sources/Uptech-iOS-Helpers/UIKitUptech/UICollectionView+extensions.swift b/Sources/Uptech-iOS-Helpers/UIKitHelper/UICollectionView+extensions.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/UIKitUptech/UICollectionView+extensions.swift rename to Sources/Uptech-iOS-Helpers/UIKitHelper/UICollectionView+extensions.swift diff --git a/Sources/Uptech-iOS-Helpers/UIKitUptech/UILayoutPriority+extensions.swift b/Sources/Uptech-iOS-Helpers/UIKitHelper/UILayoutPriority+extensions.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/UIKitUptech/UILayoutPriority+extensions.swift rename to Sources/Uptech-iOS-Helpers/UIKitHelper/UILayoutPriority+extensions.swift diff --git a/Sources/Uptech-iOS-Helpers/UIKitUptech/UITableView+extensions.swift b/Sources/Uptech-iOS-Helpers/UIKitHelper/UITableView+extensions.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/UIKitUptech/UITableView+extensions.swift rename to Sources/Uptech-iOS-Helpers/UIKitHelper/UITableView+extensions.swift diff --git a/Sources/Uptech-iOS-Helpers/UIKitUptech/UIView+extensions.swift b/Sources/Uptech-iOS-Helpers/UIKitHelper/UIView+extensions.swift similarity index 100% rename from Sources/Uptech-iOS-Helpers/UIKitUptech/UIView+extensions.swift rename to Sources/Uptech-iOS-Helpers/UIKitHelper/UIView+extensions.swift diff --git a/Tests/Uptech-iOS-Helpers-Tests/FoundationUptech/Array+extensionsTests.swift b/Tests/Uptech-iOS-Helpers-Tests/FoundationHelper/Array+extensionsTests.swift similarity index 98% rename from Tests/Uptech-iOS-Helpers-Tests/FoundationUptech/Array+extensionsTests.swift rename to Tests/Uptech-iOS-Helpers-Tests/FoundationHelper/Array+extensionsTests.swift index 6b054e0..e5a1485 100644 --- a/Tests/Uptech-iOS-Helpers-Tests/FoundationUptech/Array+extensionsTests.swift +++ b/Tests/Uptech-iOS-Helpers-Tests/FoundationHelper/Array+extensionsTests.swift @@ -6,7 +6,7 @@ // import XCTest -@testable import FoundationUptech +@testable import FoundationHelper final class ArrayExtensionsTests: XCTestCase { private let sut = [0, 1, 2, 3, 4] diff --git a/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/Collection+indexPathTests.swift b/Tests/Uptech-iOS-Helpers-Tests/UIKitHelper/Collection+indexPathTests.swift similarity index 96% rename from Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/Collection+indexPathTests.swift rename to Tests/Uptech-iOS-Helpers-Tests/UIKitHelper/Collection+indexPathTests.swift index fa38546..1d8f52a 100644 --- a/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/Collection+indexPathTests.swift +++ b/Tests/Uptech-iOS-Helpers-Tests/UIKitHelper/Collection+indexPathTests.swift @@ -6,7 +6,7 @@ // import XCTest -@testable import UIKitUptech +@testable import UIKitHelper final class CollectionIndexPathTests: XCTestCase { private let sut = [[0, 1, 2], diff --git a/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/NSLayoutConstraint+extensionsTests.swift b/Tests/Uptech-iOS-Helpers-Tests/UIKitHelper/NSLayoutConstraint+extensionsTests.swift similarity index 97% rename from Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/NSLayoutConstraint+extensionsTests.swift rename to Tests/Uptech-iOS-Helpers-Tests/UIKitHelper/NSLayoutConstraint+extensionsTests.swift index 1494207..13a62fa 100644 --- a/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/NSLayoutConstraint+extensionsTests.swift +++ b/Tests/Uptech-iOS-Helpers-Tests/UIKitHelper/NSLayoutConstraint+extensionsTests.swift @@ -6,7 +6,7 @@ // import XCTest -@testable import UIKitUptech +@testable import UIKitHelper final class NSLayoutConstraintExtensionsTests: XCTestCase { diff --git a/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UICollectionView+extensionsTests.swift b/Tests/Uptech-iOS-Helpers-Tests/UIKitHelper/UICollectionView+extensionsTests.swift similarity index 97% rename from Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UICollectionView+extensionsTests.swift rename to Tests/Uptech-iOS-Helpers-Tests/UIKitHelper/UICollectionView+extensionsTests.swift index 1d34494..21d46af 100644 --- a/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UICollectionView+extensionsTests.swift +++ b/Tests/Uptech-iOS-Helpers-Tests/UIKitHelper/UICollectionView+extensionsTests.swift @@ -7,7 +7,7 @@ import XCTest import UIKit -@testable import UIKitUptech +@testable import UIKitHelper final class UICollectionViewExtensionsTests: XCTestCase { private class TestCell: UICollectionViewCell, ReusableCell { } diff --git a/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UITableView+extensionsTests.swift b/Tests/Uptech-iOS-Helpers-Tests/UIKitHelper/UITableView+extensionsTests.swift similarity index 96% rename from Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UITableView+extensionsTests.swift rename to Tests/Uptech-iOS-Helpers-Tests/UIKitHelper/UITableView+extensionsTests.swift index 83d83e4..fc62647 100644 --- a/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UITableView+extensionsTests.swift +++ b/Tests/Uptech-iOS-Helpers-Tests/UIKitHelper/UITableView+extensionsTests.swift @@ -7,7 +7,7 @@ import XCTest import UIKit -@testable import UIKitUptech +@testable import UIKitHelper final class UITableViewExtensionsTests: XCTestCase { private class TestCell: UITableViewCell, ReusableCell { } diff --git a/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UIView+extensionsTests.swift b/Tests/Uptech-iOS-Helpers-Tests/UIKitHelper/UIView+extensionsTests.swift similarity index 98% rename from Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UIView+extensionsTests.swift rename to Tests/Uptech-iOS-Helpers-Tests/UIKitHelper/UIView+extensionsTests.swift index 3038826..37ee737 100644 --- a/Tests/Uptech-iOS-Helpers-Tests/UIKitUptech/UIView+extensionsTests.swift +++ b/Tests/Uptech-iOS-Helpers-Tests/UIKitHelper/UIView+extensionsTests.swift @@ -6,7 +6,7 @@ // import XCTest -@testable import UIKitUptech +@testable import UIKitHelper final class UIViewExtensionsTests: XCTestCase {