From ffa66048b0471db355dc69d6e79c6173564ff474 Mon Sep 17 00:00:00 2001 From: Nikita Semenov Date: Tue, 26 Jul 2022 13:53:25 +0300 Subject: [PATCH] fix: removed TISwiftUIElements lib and moved components to TISwiftUICore --- Package.swift | 2 -- .../Sources/Alerts/Modifiers/View+Alerts.swift | 0 .../Alerts/Protocols/SwiftUIAlertContext.swift | 0 TISwiftUICore/TISwiftUICore.podspec | 2 ++ TISwiftUIElements/README.md | 5 ----- TISwiftUIElements/TISwiftUIElements.podspec | 17 ----------------- 6 files changed, 2 insertions(+), 24 deletions(-) rename {TISwiftUIElements => TISwiftUICore}/Sources/Alerts/Modifiers/View+Alerts.swift (100%) rename {TISwiftUIElements => TISwiftUICore}/Sources/Alerts/Protocols/SwiftUIAlertContext.swift (100%) delete mode 100644 TISwiftUIElements/README.md delete mode 100644 TISwiftUIElements/TISwiftUIElements.podspec diff --git a/Package.swift b/Package.swift index 20b41c98..0edf613e 100644 --- a/Package.swift +++ b/Package.swift @@ -14,7 +14,6 @@ let package = Package( // MARK: - SwiftUI .library(name: "TISwiftUICore", targets: ["TISwiftUICore"]), - .library(name: "TISwiftUIElements", targets: ["TISwiftUIElements"]), // MARK: - Utils .library(name: "TISwiftUtils", targets: ["TISwiftUtils"]), @@ -56,7 +55,6 @@ let package = Package( // MARK: - SwiftUI .target(name: "TISwiftUICore", path: "TISwiftUICore/Sources"), - .target(name: "TISwiftUIElements", path: "TISwiftUIElements/Sources"), // MARK: - Utils .target(name: "TISwiftUtils", path: "TISwiftUtils/Sources"), diff --git a/TISwiftUIElements/Sources/Alerts/Modifiers/View+Alerts.swift b/TISwiftUICore/Sources/Alerts/Modifiers/View+Alerts.swift similarity index 100% rename from TISwiftUIElements/Sources/Alerts/Modifiers/View+Alerts.swift rename to TISwiftUICore/Sources/Alerts/Modifiers/View+Alerts.swift diff --git a/TISwiftUIElements/Sources/Alerts/Protocols/SwiftUIAlertContext.swift b/TISwiftUICore/Sources/Alerts/Protocols/SwiftUIAlertContext.swift similarity index 100% rename from TISwiftUIElements/Sources/Alerts/Protocols/SwiftUIAlertContext.swift rename to TISwiftUICore/Sources/Alerts/Protocols/SwiftUIAlertContext.swift diff --git a/TISwiftUICore/TISwiftUICore.podspec b/TISwiftUICore/TISwiftUICore.podspec index fd2b61a2..a844e1cc 100644 --- a/TISwiftUICore/TISwiftUICore.podspec +++ b/TISwiftUICore/TISwiftUICore.podspec @@ -12,4 +12,6 @@ Pod::Spec.new do |s| s.source_files = s.name + '/Sources/**/*' + s.dependency 'TIUIElements', s.version.to_s + s.dependency 'TISwiftUtils', s.version.to_s end diff --git a/TISwiftUIElements/README.md b/TISwiftUIElements/README.md deleted file mode 100644 index 6c804ac6..00000000 --- a/TISwiftUIElements/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# TISwiftUIElements - -# Installation via SPM - -You can install this framework as a target of LeadKit. diff --git a/TISwiftUIElements/TISwiftUIElements.podspec b/TISwiftUIElements/TISwiftUIElements.podspec deleted file mode 100644 index c99bcd30..00000000 --- a/TISwiftUIElements/TISwiftUIElements.podspec +++ /dev/null @@ -1,17 +0,0 @@ -Pod::Spec.new do |s| - s.name = 'TISwiftUIElements' - s.version = '1.24.0' - s.summary = 'Bunch of useful protocols and views.' - s.homepage = 'https://github.com/TouchInstinct/LeadKit/tree/' + s.version.to_s + '/' + s.name - s.license = { :type => 'MIT', :file => 'LICENSE' } - s.author = { 'petropavel13' => 'ivan.smolin@touchin.ru' } - s.source = { :git => 'https://github.com/TouchInstinct/LeadKit.git', :tag => s.version.to_s } - - s.ios.deployment_target = '13.0' - s.swift_versions = ['5.3'] - - s.source_files = s.name + '/Sources/**/*' - - s.dependency 'TIUIElements', s.version.to_s - s.dependency 'TISwiftUtils', s.version.to_s -end