+Swift Package Manager
+
+You can use The Swift Package Manager to install STDevRxExt by adding the proper description to your Package.swift file:
+
+import PackageDescription
+
+let package = Package(
+ name: "YOUR_PROJECT_NAME",
+ targets: [],
+ dependencies: [
+ .package(url: "https://github.com/STDevTM/STDevRxExt.git", from: "1.0.0")
+ ]
+)
+
+
+Next, add STDevRxExt to your targets dependencies like so:
+.target(
+ name: "YOUR_TARGET_NAME",
+ dependencies: [
+ "STDevRxExt",
+ ]
+),
+Then run swift package update.
+
+
-```ruby
-pod 'STDevRxExt'
-```
## List of All Extensions
diff --git a/STDevRxExt.podspec b/STDevRxExt.podspec
index 7110f3a..2f91862 100644
--- a/STDevRxExt.podspec
+++ b/STDevRxExt.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'STDevRxExt'
- s.version = '0.2.0'
+ s.version = '1.0.0'
s.summary = 'STDevRxExt contains some extension functions for RxSwift and RxCoca which makes our live easy.'
s.swift_version = '5.0'
@@ -17,9 +17,12 @@ STDevRxExt contains following 3 type of extensions for RxSwift and RxCocoa:
s.author = { 'Tigran Hambardzumyan' => 'tigran@stdevmail.com' }
s.source = { :git => 'https://github.com/STDevTM/STDevRxExt.git', :tag => s.version.to_s }
- s.ios.deployment_target = '10.0'
+ s.ios.deployment_target = '8.0'
+ s.osx.deployment_target = '10.9'
+ s.watchos.deployment_target = '3.0'
+ s.tvos.deployment_target = '9.0'
- s.source_files = 'STDevRxExt/Classes/**/*'
+ s.source_files = 'Sources/STDevRxExt/**/*'
s.dependency 'RxSwift', '~> 5.1'
s.dependency 'RxCocoa', '~> 5.1'
diff --git a/STDevRxExt/Assets/.gitkeep b/STDevRxExt/Assets/.gitkeep
deleted file mode 100644
index e69de29..0000000
diff --git a/STDevRxExt/Classes/.gitkeep b/STDevRxExt/Classes/.gitkeep
deleted file mode 100644
index e69de29..0000000
diff --git a/STDevRxExt/Classes/CastExtensions.swift b/Sources/STDevRxExt/CastExtensions.swift
similarity index 61%
rename from STDevRxExt/Classes/CastExtensions.swift
rename to Sources/STDevRxExt/CastExtensions.swift
index ee87a9e..985be87 100644
--- a/STDevRxExt/Classes/CastExtensions.swift
+++ b/Sources/STDevRxExt/CastExtensions.swift
@@ -20,24 +20,20 @@ public extension ObservableType {
}
func forceCast