diff --git a/Examples/Examples.xcodeproj/project.pbxproj b/Examples/Examples.xcodeproj/project.pbxproj index c01717a..4b2de91 100644 --- a/Examples/Examples.xcodeproj/project.pbxproj +++ b/Examples/Examples.xcodeproj/project.pbxproj @@ -45,6 +45,7 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 3C4A36B82ABC362400044E24 /* Observable+Alias.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Observable+Alias.swift"; sourceTree = ""; }; 4DF82BBD71A140F1F2879088 /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.debug.xcconfig"; path = "Target Support Files/Pods-Example/Pods-Example.debug.xcconfig"; sourceTree = ""; }; C80987431EC4882E00EE2C23 /* Todo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Todo.swift; sourceTree = ""; }; C80987581EC4916000EE2C23 /* Todo+Feedback.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Todo+Feedback.swift"; sourceTree = ""; }; @@ -118,7 +119,6 @@ 4DF82BBD71A140F1F2879088 /* Pods-Example.debug.xcconfig */, D3FE2B9344D2885EA7B2671C /* Pods-Example.release.xcconfig */, ); - name = Pods; path = Pods; sourceTree = ""; }; @@ -151,10 +151,11 @@ isa = PBXGroup; children = ( C84893692190FAE900561487 /* AsyncSynchronized.swift */, - C8576BE5214EE1F0000A62AE /* RxFeedback.plist */, - C8576BE6214EE1F0000A62AE /* Feedbacks.swift */, C8576BE7214EE1F0000A62AE /* Deprecations.swift */, + C8576BE6214EE1F0000A62AE /* Feedbacks.swift */, + 3C4A36B82ABC362400044E24 /* Observable+Alias.swift */, C8576BE8214EE1F0000A62AE /* ObservableType+RxFeedback.swift */, + C8576BE5214EE1F0000A62AE /* RxFeedback.plist */, ); path = RxFeedback; sourceTree = ""; diff --git a/Examples/Examples/PlayCatch.swift b/Examples/Examples/PlayCatch.swift index eda0ea0..20e761a 100644 --- a/Examples/Examples/PlayCatch.swift +++ b/Examples/Examples/PlayCatch.swift @@ -62,7 +62,7 @@ class PlayCatchViewController: UIViewController { bindUI, // NoUI, machine feedback react(request: { $0.machinePitching }, effects: { (_) -> Observable in - return Observable + return RxSwift.Observable .timer(.seconds(1), scheduler: MainScheduler.instance) .map { _ in Event.throwToHuman } }) diff --git a/Examples/Podfile.lock b/Examples/Podfile.lock index 4db28e8..aadea88 100644 --- a/Examples/Podfile.lock +++ b/Examples/Podfile.lock @@ -2,7 +2,7 @@ PODS: - RxCocoa (6.0.0): - RxRelay (= 6.0.0) - RxSwift (= 6.0.0) - - RxFeedback (4.0.0): + - RxFeedback (4.0.1): - RxCocoa (~> 6.0) - RxSwift (~> 6.0) - RxRelay (6.0.0): @@ -24,10 +24,10 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: RxCocoa: 3f79328fafa3645b34600f37c31e64c73ae3a80e - RxFeedback: c762a59b678ed8e30b5c84b6e4e03ad0341d2ecb + RxFeedback: de76048d17a6ba28c3f61a03d976b62ddb44d45e RxRelay: 8d593be109c06ea850df027351beba614b012ffb RxSwift: c14e798c59b9f6e9a2df8fd235602e85cc044295 PODFILE CHECKSUM: 1c64147e23f9070efe02f93aa36b8029d82c504e -COCOAPODS: 1.10.0 +COCOAPODS: 1.11.3 diff --git a/RxFeedback.podspec b/RxFeedback.podspec index 416d2c2..ea07f09 100644 --- a/RxFeedback.podspec +++ b/RxFeedback.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RxFeedback" - s.version = "4.0.0" + s.version = "4.0.1" s.summary = "Simplest architecture for RxSwift. State + feedback loops." s.description = <<-DESC * Straightforward diff --git a/Sources/RxFeedback/Observable+Alias.swift b/Sources/RxFeedback/Observable+Alias.swift new file mode 100644 index 0000000..cb420ac --- /dev/null +++ b/Sources/RxFeedback/Observable+Alias.swift @@ -0,0 +1,10 @@ +// +// Feedbacks.swift +// RxFeedback +// +// Copyright © 2023 Krunoslav Zaher. All rights reserved. +// + +import RxSwift + +public typealias Observable = RxSwift.Observable