diff --git a/.gitignore b/.gitignore index 7db5ae4..ae42458 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ .DS_Store *.xcodeproj +*.xcworkspace +Pods diff --git a/app/Podfile b/app/Podfile new file mode 100644 index 0000000..1136a4c --- /dev/null +++ b/app/Podfile @@ -0,0 +1,10 @@ +source 'https://github.com/CocoaPods/Specs.git' + +platform :ios, '14.0' + +# Source. +pod 'BusX', :path => '../mod/BusX' + +target 'pesochnicza' do + use_frameworks! +end diff --git a/app/Podfile.lock b/app/Podfile.lock new file mode 100644 index 0000000..34be8bf --- /dev/null +++ b/app/Podfile.lock @@ -0,0 +1,16 @@ +PODS: + - BusX (2023.12.28) + +DEPENDENCIES: + - BusX (from `../mod/BusX`) + +EXTERNAL SOURCES: + BusX: + :path: "../mod/BusX" + +SPEC CHECKSUMS: + BusX: fd22c04ad544d131e66315c1a33d87d85b19712e + +PODFILE CHECKSUM: c4bbd7cc826ceee472b0bbb53eb2d5dc7dd1f97e + +COCOAPODS: 1.13.0 diff --git a/gen b/gen index de5b535..9b87f3f 100755 --- a/gen +++ b/gen @@ -4,4 +4,4 @@ DIR=`dirname $0` cd $DIR/app xcodegen -#pod install +pod install diff --git a/mod/BusX/BusX.podspec b/mod/BusX/BusX.podspec new file mode 100644 index 0000000..5f7eee6 --- /dev/null +++ b/mod/BusX/BusX.podspec @@ -0,0 +1,14 @@ +Pod::Spec.new do |s| + +s.name = 'BusX' +s.version = '2023.12.28' +s.license = 'IVCS' +s.summary = 'Шина общения элементов приложения' +s.homepage = 'IVCS' +s.author = 'IVCS' +s.source = { :git => 'https://fake.com/FAKE.git', :tag => s.version } +s.source_files = 'src/**/*.swift' +s.swift_version = '5.2' +s.ios.deployment_target = '14.0' + +end diff --git a/src/Bus.Aux.swift b/mod/BusX/src/Bus.Aux.swift similarity index 100% rename from src/Bus.Aux.swift rename to mod/BusX/src/Bus.Aux.swift diff --git a/src/Bus.Processor.swift b/mod/BusX/src/Bus.Processor.swift similarity index 100% rename from src/Bus.Processor.swift rename to mod/BusX/src/Bus.Processor.swift diff --git a/src/Bus.Receiver.swift b/mod/BusX/src/Bus.Receiver.swift similarity index 100% rename from src/Bus.Receiver.swift rename to mod/BusX/src/Bus.Receiver.swift diff --git a/src/Bus.Sender.swift b/mod/BusX/src/Bus.Sender.swift similarity index 100% rename from src/Bus.Sender.swift rename to mod/BusX/src/Bus.Sender.swift diff --git a/src/Bus.swift b/mod/BusX/src/Bus.swift similarity index 100% rename from src/Bus.swift rename to mod/BusX/src/Bus.swift diff --git a/src/Cord.Button.swift b/src/Cord.Button.swift index 5668e5b..85555e3 100644 --- a/src/Cord.Button.swift +++ b/src/Cord.Button.swift @@ -1,3 +1,4 @@ +import BusX import Combine extension Cord { diff --git a/src/Cord.Receive.swift b/src/Cord.Receive.swift index 94d5aef..26f312f 100644 --- a/src/Cord.Receive.swift +++ b/src/Cord.Receive.swift @@ -1,3 +1,4 @@ +import BusX import Combine extension Cord { diff --git a/src/Cord.TextField.swift b/src/Cord.TextField.swift index ce5c5cf..553d579 100644 --- a/src/Cord.TextField.swift +++ b/src/Cord.TextField.swift @@ -1,3 +1,4 @@ +import BusX import Combine import SwiftUI diff --git a/src/V.swift b/src/V.swift index 90da3ca..b4ff976 100644 --- a/src/V.swift +++ b/src/V.swift @@ -1,3 +1,4 @@ +import BusX import SwiftUI struct V: View {