From 3a2b4b2582b673757467c7665b88bfcddef88fb8 Mon Sep 17 00:00:00 2001 From: OhKanghoon Date: Tue, 14 May 2019 17:43:08 +0900 Subject: [PATCH 1/2] remove cache --- Example/Pods/Apollo/LICENSE | 21 - Example/Pods/Apollo/README.md | 29 - .../Apollo/Sources/Apollo/ApolloClient.swift | 247 -- .../Apollo/Sources/Apollo/ApolloStore.swift | 245 -- .../Apollo/AsynchronousOperation.swift | 47 - .../Apollo/Sources/Apollo/Collections.swift | 114 - .../Apollo/Sources/Apollo/DataLoader.swift | 57 - .../Apollo/GraphQLDependencyTracker.swift | 26 - .../Apollo/Sources/Apollo/GraphQLError.swift | 62 - .../Sources/Apollo/GraphQLExecutor.swift | 286 -- .../Sources/Apollo/GraphQLInputValue.swift | 104 - .../Sources/Apollo/GraphQLOperation.swift | 52 - .../Sources/Apollo/GraphQLQueryWatcher.swift | 54 - .../Sources/Apollo/GraphQLResponse.swift | 40 - .../Apollo/GraphQLResponseGenerator.swift | 27 - .../Apollo/Sources/Apollo/GraphQLResult.swift | 25 - .../Apollo/GraphQLResultAccumulator.swift | 108 - .../Apollo/GraphQLResultNormalizer.swift | 34 - .../Sources/Apollo/GraphQLSelectionSet.swift | 128 - .../Apollo/GraphQLSelectionSetMapper.swift | 27 - .../Sources/Apollo/HTTPNetworkTransport.swift | 132 - .../Apollo/InMemoryNormalizedCache.swift | 21 - Example/Pods/Apollo/Sources/Apollo/JSON.swift | 60 - .../Apollo/JSONSerializationFormat.swift | 11 - .../Apollo/JSONStandardTypeConversions.swift | 158 - .../Pods/Apollo/Sources/Apollo/Locking.swift | 69 - .../Sources/Apollo/NetworkTransport.swift | 13 - .../Sources/Apollo/NormalizedCache.swift | 16 - .../Pods/Apollo/Sources/Apollo/Promise.swift | 260 -- .../Pods/Apollo/Sources/Apollo/Record.swift | 52 - .../Apollo/Sources/Apollo/RecordSet.swift | 81 - .../Pods/Apollo/Sources/Apollo/Result.swift | 44 - .../Sources/Apollo/ResultOrPromise.swift | 152 - .../Apollo/Sources/Apollo/Utilities.swift | 23 - .../scripts/check-and-run-apollo-cli.sh | 97 - .../scripts/check-and-run-apollo-codegen.sh | 2 - .../RxApolloClient.podspec.json | 31 - Example/Pods/Manifest.lock | 44 - Example/Pods/Pods.xcodeproj/project.pbxproj | 3086 ----------------- Example/Pods/RxAtomic/LICENSE.md | 9 - Example/Pods/RxAtomic/README.md | 217 -- Example/Pods/RxAtomic/RxAtomic/RxAtomic.c | 7 - .../Pods/RxAtomic/RxAtomic/include/RxAtomic.h | 48 - Example/Pods/RxSwift/LICENSE.md | 9 - Example/Pods/RxSwift/Platform/AtomicInt.swift | 33 - .../RxSwift/Platform/DataStructures/Bag.swift | 183 - .../DataStructures/InfiniteSequence.swift | 26 - .../DataStructures/PriorityQueue.swift | 123 - .../Platform/DataStructures/Queue.swift | 152 - .../RxSwift/Platform/DeprecationWarner.swift | 43 - .../Platform/DispatchQueue+Extensions.swift | 21 - .../RxSwift/Platform/Platform.Darwin.swift | 36 - .../RxSwift/Platform/Platform.Linux.swift | 37 - .../Pods/RxSwift/Platform/RecursiveLock.swift | 34 - Example/Pods/RxSwift/README.md | 217 -- .../Pods/RxSwift/RxSwift/AnyObserver.swift | 72 - Example/Pods/RxSwift/RxSwift/Cancelable.swift | 13 - .../RxSwift/Concurrency/AsyncLock.swift | 102 - .../RxSwift/RxSwift/Concurrency/Lock.swift | 36 - .../RxSwift/Concurrency/LockOwnerType.swift | 21 - .../Concurrency/SynchronizedDisposeType.swift | 18 - .../Concurrency/SynchronizedOnType.swift | 18 - .../SynchronizedUnsubscribeType.swift | 13 - .../RxSwift/ConnectableObservableType.swift | 19 - Example/Pods/RxSwift/RxSwift/Deprecated.swift | 228 -- Example/Pods/RxSwift/RxSwift/Disposable.swift | 13 - .../Disposables/AnonymousDisposable.swift | 61 - .../Disposables/BinaryDisposable.swift | 53 - .../Disposables/BooleanDisposable.swift | 33 - .../Disposables/CompositeDisposable.swift | 151 - .../RxSwift/Disposables/Disposables.swift | 13 - .../RxSwift/Disposables/DisposeBag.swift | 114 - .../RxSwift/Disposables/DisposeBase.swift | 22 - .../RxSwift/Disposables/NopDisposable.swift | 32 - .../Disposables/RefCountDisposable.swift | 117 - .../Disposables/ScheduledDisposable.swift | 50 - .../Disposables/SerialDisposable.swift | 75 - .../SingleAssignmentDisposable.swift | 70 - .../Disposables/SubscriptionDisposable.swift | 21 - Example/Pods/RxSwift/RxSwift/Errors.swift | 52 - Example/Pods/RxSwift/RxSwift/Event.swift | 106 - .../RxSwift/RxSwift/Extensions/Bag+Rx.swift | 50 - .../RxSwift/Extensions/String+Rx.swift | 22 - .../RxSwift/RxSwift/GroupedObservable.swift | 37 - .../RxSwift/ImmediateSchedulerType.swift | 36 - Example/Pods/RxSwift/RxSwift/Observable.swift | 44 - .../RxSwift/ObservableConvertibleType.swift | 18 - .../RxSwift/ObservableType+Extensions.swift | 131 - .../Pods/RxSwift/RxSwift/ObservableType.swift | 47 - .../RxSwift/RxSwift/Observables/AddRef.swift | 45 - .../RxSwift/RxSwift/Observables/Amb.swift | 157 - .../RxSwift/RxSwift/Observables/AsMaybe.swift | 49 - .../RxSwift/Observables/AsSingle.swift | 52 - .../RxSwift/RxSwift/Observables/Buffer.swift | 139 - .../RxSwift/RxSwift/Observables/Catch.swift | 235 -- .../CombineLatest+Collection.swift | 157 - .../Observables/CombineLatest+arity.swift | 843 ----- .../RxSwift/Observables/CombineLatest.swift | 132 - .../RxSwift/RxSwift/Observables/Concat.swift | 131 - .../RxSwift/RxSwift/Observables/Create.swift | 78 - .../RxSwift/Observables/Debounce.swift | 119 - .../RxSwift/RxSwift/Observables/Debug.swift | 103 - .../RxSwift/Observables/DefaultIfEmpty.swift | 66 - .../RxSwift/Observables/Deferred.swift | 74 - .../RxSwift/RxSwift/Observables/Delay.swift | 181 - .../Observables/DelaySubscription.swift | 66 - .../RxSwift/Observables/Dematerialize.swift | 51 - .../Observables/DistinctUntilChanged.swift | 125 - .../Pods/RxSwift/RxSwift/Observables/Do.swift | 93 - .../RxSwift/Observables/ElementAt.swift | 93 - .../RxSwift/RxSwift/Observables/Empty.swift | 27 - .../RxSwift/Observables/Enumerated.swift | 62 - .../RxSwift/RxSwift/Observables/Error.swift | 33 - .../RxSwift/RxSwift/Observables/Filter.swift | 90 - .../RxSwift/RxSwift/Observables/First.swift | 42 - .../RxSwift/Observables/Generate.swift | 87 - .../RxSwift/RxSwift/Observables/GroupBy.swift | 134 - .../RxSwift/RxSwift/Observables/Just.swift | 87 - .../RxSwift/RxSwift/Observables/Map.swift | 108 - .../RxSwift/Observables/Materialize.swift | 44 - .../RxSwift/RxSwift/Observables/Merge.swift | 598 ---- .../RxSwift/Observables/Multicast.swift | 408 --- .../RxSwift/RxSwift/Observables/Never.swift | 27 - .../RxSwift/Observables/ObserveOn.swift | 231 -- .../RxSwift/Observables/Optional.swift | 95 - .../RxSwift/Observables/Producer.swift | 92 - .../RxSwift/RxSwift/Observables/Range.swift | 73 - .../RxSwift/RxSwift/Observables/Reduce.swift | 109 - .../RxSwift/RxSwift/Observables/Repeat.swift | 57 - .../RxSwift/Observables/RetryWhen.swift | 182 - .../RxSwift/RxSwift/Observables/Sample.swift | 142 - .../RxSwift/RxSwift/Observables/Scan.swift | 101 - .../RxSwift/Observables/Sequence.swift | 89 - .../Observables/ShareReplayScope.swift | 458 --- .../RxSwift/Observables/SingleAsync.swift | 105 - .../RxSwift/RxSwift/Observables/Sink.swift | 76 - .../RxSwift/RxSwift/Observables/Skip.swift | 159 - .../RxSwift/Observables/SkipUntil.swift | 139 - .../RxSwift/Observables/SkipWhile.swift | 77 - .../RxSwift/Observables/StartWith.swift | 42 - .../RxSwift/Observables/SubscribeOn.swift | 83 - .../RxSwift/RxSwift/Observables/Switch.swift | 233 -- .../RxSwift/Observables/SwitchIfEmpty.swift | 104 - .../RxSwift/RxSwift/Observables/Take.swift | 180 - .../RxSwift/Observables/TakeLast.swift | 78 - .../RxSwift/Observables/TakeUntil.swift | 131 - .../RxSwift/Observables/TakeWhile.swift | 85 - .../RxSwift/Observables/Throttle.swift | 163 - .../RxSwift/RxSwift/Observables/Timeout.swift | 152 - .../RxSwift/RxSwift/Observables/Timer.swift | 111 - .../RxSwift/RxSwift/Observables/ToArray.swift | 66 - .../RxSwift/RxSwift/Observables/Using.swift | 90 - .../RxSwift/RxSwift/Observables/Window.swift | 170 - .../RxSwift/Observables/WithLatestFrom.swift | 149 - .../RxSwift/Observables/Zip+Collection.swift | 169 - .../RxSwift/Observables/Zip+arity.swift | 948 ----- .../RxSwift/RxSwift/Observables/Zip.swift | 155 - .../Pods/RxSwift/RxSwift/ObserverType.swift | 40 - .../RxSwift/Observers/AnonymousObserver.swift | 32 - .../RxSwift/Observers/ObserverBase.swift | 34 - .../RxSwift/Observers/TailRecursiveSink.swift | 151 - Example/Pods/RxSwift/RxSwift/Reactive.swift | 74 - Example/Pods/RxSwift/RxSwift/Rx.swift | 142 - .../Pods/RxSwift/RxSwift/RxMutableBox.swift | 27 - .../Pods/RxSwift/RxSwift/SchedulerType.swift | 71 - .../ConcurrentDispatchQueueScheduler.swift | 84 - .../Schedulers/ConcurrentMainScheduler.swift | 88 - .../Schedulers/CurrentThreadScheduler.swift | 144 - .../Schedulers/HistoricalScheduler.swift | 22 - .../HistoricalSchedulerTimeConverter.swift | 67 - .../Internal/DispatchQueueConfiguration.swift | 104 - .../Internal/InvocableScheduledItem.swift | 22 - .../Schedulers/Internal/InvocableType.swift | 17 - .../Schedulers/Internal/ScheduledItem.swift | 35 - .../Internal/ScheduledItemType.swift | 13 - .../RxSwift/Schedulers/MainScheduler.swift | 68 - .../Schedulers/OperationQueueScheduler.swift | 56 - .../Schedulers/RecursiveScheduler.swift | 226 -- .../SchedulerServices+Emulation.swift | 61 - .../SerialDispatchQueueScheduler.swift | 132 - .../Schedulers/VirtualTimeConverterType.swift | 95 - .../Schedulers/VirtualTimeScheduler.swift | 269 -- .../RxSwift/Subjects/AsyncSubject.swift | 155 - .../RxSwift/Subjects/BehaviorSubject.swift | 166 - .../RxSwift/Subjects/PublishSubject.swift | 150 - .../RxSwift/Subjects/ReplaySubject.swift | 281 -- .../RxSwift/Subjects/SubjectType.swift | 21 - .../RxSwift/SwiftSupport/SwiftSupport.swift | 18 - .../RxSwift/Traits/Completable+AndThen.swift | 132 - .../RxSwift/RxSwift/Traits/Completable.swift | 259 -- .../Pods/RxSwift/RxSwift/Traits/Maybe.swift | 293 -- .../ObservableType+PrimitiveSequence.swift | 43 - .../Traits/PrimitiveSequence+Zip+arity.swift | 521 --- .../RxSwift/Traits/PrimitiveSequence.swift | 267 -- .../Pods/RxSwift/RxSwift/Traits/Single.swift | 337 -- .../Apollo/Apollo-dummy.m | 5 - .../Apollo/Apollo-prefix.pch | 12 - .../Apollo/Apollo-umbrella.h | 16 - .../Apollo/Apollo.modulemap | 6 - .../Apollo/Apollo.xcconfig | 9 - .../Target Support Files/Apollo/Info.plist | 26 - .../Pods-RxApolloClient_Example/Info.plist | 26 - ...loClient_Example-acknowledgements.markdown | 110 - ...polloClient_Example-acknowledgements.plist | 172 - .../Pods-RxApolloClient_Example-dummy.m | 5 - .../Pods-RxApolloClient_Example-frameworks.sh | 163 - .../Pods-RxApolloClient_Example-resources.sh | 118 - .../Pods-RxApolloClient_Example-umbrella.h | 16 - ...Pods-RxApolloClient_Example.debug.xcconfig | 11 - .../Pods-RxApolloClient_Example.modulemap | 6 - ...ds-RxApolloClient_Example.release.xcconfig | 11 - .../Pods-RxApolloClient_Tests/Info.plist | 26 - ...olloClient_Tests-acknowledgements.markdown | 3 - ...xApolloClient_Tests-acknowledgements.plist | 29 - .../Pods-RxApolloClient_Tests-dummy.m | 5 - .../Pods-RxApolloClient_Tests-frameworks.sh | 146 - .../Pods-RxApolloClient_Tests-resources.sh | 118 - .../Pods-RxApolloClient_Tests-umbrella.h | 16 - .../Pods-RxApolloClient_Tests.debug.xcconfig | 8 - .../Pods-RxApolloClient_Tests.modulemap | 6 - ...Pods-RxApolloClient_Tests.release.xcconfig | 8 - .../RxApolloClient/Info.plist | 26 - .../RxApolloClient/RxApolloClient-dummy.m | 5 - .../RxApolloClient/RxApolloClient-prefix.pch | 12 - .../RxApolloClient/RxApolloClient-umbrella.h | 16 - .../RxApolloClient/RxApolloClient.modulemap | 6 - .../RxApolloClient/RxApolloClient.xcconfig | 10 - .../Target Support Files/RxAtomic/Info.plist | 26 - .../RxAtomic/RxAtomic-dummy.m | 5 - .../RxAtomic/RxAtomic-prefix.pch | 12 - .../RxAtomic/RxAtomic-umbrella.h | 17 - .../RxAtomic/RxAtomic.modulemap | 6 - .../RxAtomic/RxAtomic.xcconfig | 8 - .../Target Support Files/RxSwift/Info.plist | 26 - .../RxSwift/RxSwift-dummy.m | 5 - .../RxSwift/RxSwift-prefix.pch | 12 - .../RxSwift/RxSwift-umbrella.h | 16 - .../RxSwift/RxSwift.modulemap | 6 - .../RxSwift/RxSwift.xcconfig | 10 - 239 files changed, 25236 deletions(-) delete mode 100644 Example/Pods/Apollo/LICENSE delete mode 100644 Example/Pods/Apollo/README.md delete mode 100644 Example/Pods/Apollo/Sources/Apollo/ApolloClient.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/ApolloStore.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/AsynchronousOperation.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/Collections.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/DataLoader.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/GraphQLDependencyTracker.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/GraphQLError.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/GraphQLExecutor.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/GraphQLInputValue.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/GraphQLOperation.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/GraphQLQueryWatcher.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/GraphQLResponse.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/GraphQLResponseGenerator.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/GraphQLResult.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/GraphQLResultAccumulator.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/GraphQLResultNormalizer.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/GraphQLSelectionSet.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/GraphQLSelectionSetMapper.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/HTTPNetworkTransport.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/InMemoryNormalizedCache.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/JSON.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/JSONSerializationFormat.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/JSONStandardTypeConversions.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/Locking.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/NetworkTransport.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/NormalizedCache.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/Promise.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/Record.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/RecordSet.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/Result.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/ResultOrPromise.swift delete mode 100644 Example/Pods/Apollo/Sources/Apollo/Utilities.swift delete mode 100755 Example/Pods/Apollo/scripts/check-and-run-apollo-cli.sh delete mode 100755 Example/Pods/Apollo/scripts/check-and-run-apollo-codegen.sh delete mode 100644 Example/Pods/Local Podspecs/RxApolloClient.podspec.json delete mode 100644 Example/Pods/Manifest.lock delete mode 100644 Example/Pods/Pods.xcodeproj/project.pbxproj delete mode 100644 Example/Pods/RxAtomic/LICENSE.md delete mode 100644 Example/Pods/RxAtomic/README.md delete mode 100644 Example/Pods/RxAtomic/RxAtomic/RxAtomic.c delete mode 100644 Example/Pods/RxAtomic/RxAtomic/include/RxAtomic.h delete mode 100644 Example/Pods/RxSwift/LICENSE.md delete mode 100644 Example/Pods/RxSwift/Platform/AtomicInt.swift delete mode 100644 Example/Pods/RxSwift/Platform/DataStructures/Bag.swift delete mode 100644 Example/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift delete mode 100644 Example/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift delete mode 100644 Example/Pods/RxSwift/Platform/DataStructures/Queue.swift delete mode 100644 Example/Pods/RxSwift/Platform/DeprecationWarner.swift delete mode 100644 Example/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift delete mode 100644 Example/Pods/RxSwift/Platform/Platform.Darwin.swift delete mode 100644 Example/Pods/RxSwift/Platform/Platform.Linux.swift delete mode 100644 Example/Pods/RxSwift/Platform/RecursiveLock.swift delete mode 100644 Example/Pods/RxSwift/README.md delete mode 100644 Example/Pods/RxSwift/RxSwift/AnyObserver.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Cancelable.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Concurrency/Lock.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/ConnectableObservableType.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Deprecated.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Disposable.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Disposables/Disposables.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Errors.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Event.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/GroupedObservable.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observable.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/ObservableType.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/AddRef.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Amb.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/AsSingle.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Buffer.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Catch.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Concat.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Create.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Debounce.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Debug.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Deferred.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Delay.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Do.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/ElementAt.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Empty.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Enumerated.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Error.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Filter.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/First.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Generate.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/GroupBy.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Just.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Map.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Materialize.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Merge.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Multicast.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Never.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Optional.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Producer.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Range.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Reduce.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Repeat.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Sample.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Scan.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Sequence.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Sink.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Skip.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/StartWith.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Switch.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Take.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/TakeLast.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Throttle.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Timeout.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Timer.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/ToArray.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Using.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Window.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observables/Zip.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/ObserverType.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Reactive.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Rx.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/RxMutableBox.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/SchedulerType.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Traits/Completable.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Traits/Maybe.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift delete mode 100644 Example/Pods/RxSwift/RxSwift/Traits/Single.swift delete mode 100644 Example/Pods/Target Support Files/Apollo/Apollo-dummy.m delete mode 100644 Example/Pods/Target Support Files/Apollo/Apollo-prefix.pch delete mode 100644 Example/Pods/Target Support Files/Apollo/Apollo-umbrella.h delete mode 100644 Example/Pods/Target Support Files/Apollo/Apollo.modulemap delete mode 100644 Example/Pods/Target Support Files/Apollo/Apollo.xcconfig delete mode 100644 Example/Pods/Target Support Files/Apollo/Info.plist delete mode 100644 Example/Pods/Target Support Files/Pods-RxApolloClient_Example/Info.plist delete mode 100644 Example/Pods/Target Support Files/Pods-RxApolloClient_Example/Pods-RxApolloClient_Example-acknowledgements.markdown delete mode 100644 Example/Pods/Target Support Files/Pods-RxApolloClient_Example/Pods-RxApolloClient_Example-acknowledgements.plist delete mode 100644 Example/Pods/Target Support Files/Pods-RxApolloClient_Example/Pods-RxApolloClient_Example-dummy.m delete mode 100755 Example/Pods/Target Support Files/Pods-RxApolloClient_Example/Pods-RxApolloClient_Example-frameworks.sh delete mode 100755 Example/Pods/Target Support Files/Pods-RxApolloClient_Example/Pods-RxApolloClient_Example-resources.sh delete mode 100644 Example/Pods/Target Support Files/Pods-RxApolloClient_Example/Pods-RxApolloClient_Example-umbrella.h delete mode 100644 Example/Pods/Target Support Files/Pods-RxApolloClient_Example/Pods-RxApolloClient_Example.debug.xcconfig delete mode 100644 Example/Pods/Target Support Files/Pods-RxApolloClient_Example/Pods-RxApolloClient_Example.modulemap delete mode 100644 Example/Pods/Target Support Files/Pods-RxApolloClient_Example/Pods-RxApolloClient_Example.release.xcconfig delete mode 100644 Example/Pods/Target Support Files/Pods-RxApolloClient_Tests/Info.plist delete mode 100644 Example/Pods/Target Support Files/Pods-RxApolloClient_Tests/Pods-RxApolloClient_Tests-acknowledgements.markdown delete mode 100644 Example/Pods/Target Support Files/Pods-RxApolloClient_Tests/Pods-RxApolloClient_Tests-acknowledgements.plist delete mode 100644 Example/Pods/Target Support Files/Pods-RxApolloClient_Tests/Pods-RxApolloClient_Tests-dummy.m delete mode 100755 Example/Pods/Target Support Files/Pods-RxApolloClient_Tests/Pods-RxApolloClient_Tests-frameworks.sh delete mode 100755 Example/Pods/Target Support Files/Pods-RxApolloClient_Tests/Pods-RxApolloClient_Tests-resources.sh delete mode 100644 Example/Pods/Target Support Files/Pods-RxApolloClient_Tests/Pods-RxApolloClient_Tests-umbrella.h delete mode 100644 Example/Pods/Target Support Files/Pods-RxApolloClient_Tests/Pods-RxApolloClient_Tests.debug.xcconfig delete mode 100644 Example/Pods/Target Support Files/Pods-RxApolloClient_Tests/Pods-RxApolloClient_Tests.modulemap delete mode 100644 Example/Pods/Target Support Files/Pods-RxApolloClient_Tests/Pods-RxApolloClient_Tests.release.xcconfig delete mode 100644 Example/Pods/Target Support Files/RxApolloClient/Info.plist delete mode 100644 Example/Pods/Target Support Files/RxApolloClient/RxApolloClient-dummy.m delete mode 100644 Example/Pods/Target Support Files/RxApolloClient/RxApolloClient-prefix.pch delete mode 100644 Example/Pods/Target Support Files/RxApolloClient/RxApolloClient-umbrella.h delete mode 100644 Example/Pods/Target Support Files/RxApolloClient/RxApolloClient.modulemap delete mode 100644 Example/Pods/Target Support Files/RxApolloClient/RxApolloClient.xcconfig delete mode 100644 Example/Pods/Target Support Files/RxAtomic/Info.plist delete mode 100644 Example/Pods/Target Support Files/RxAtomic/RxAtomic-dummy.m delete mode 100644 Example/Pods/Target Support Files/RxAtomic/RxAtomic-prefix.pch delete mode 100644 Example/Pods/Target Support Files/RxAtomic/RxAtomic-umbrella.h delete mode 100644 Example/Pods/Target Support Files/RxAtomic/RxAtomic.modulemap delete mode 100644 Example/Pods/Target Support Files/RxAtomic/RxAtomic.xcconfig delete mode 100644 Example/Pods/Target Support Files/RxSwift/Info.plist delete mode 100644 Example/Pods/Target Support Files/RxSwift/RxSwift-dummy.m delete mode 100644 Example/Pods/Target Support Files/RxSwift/RxSwift-prefix.pch delete mode 100644 Example/Pods/Target Support Files/RxSwift/RxSwift-umbrella.h delete mode 100644 Example/Pods/Target Support Files/RxSwift/RxSwift.modulemap delete mode 100644 Example/Pods/Target Support Files/RxSwift/RxSwift.xcconfig diff --git a/Example/Pods/Apollo/LICENSE b/Example/Pods/Apollo/LICENSE deleted file mode 100644 index 688165d..0000000 --- a/Example/Pods/Apollo/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016-2017 Meteor Development Group, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Example/Pods/Apollo/README.md b/Example/Pods/Apollo/README.md deleted file mode 100644 index 98da1f6..0000000 --- a/Example/Pods/Apollo/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# Apollo iOS - -[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-ios/master/LICENSE) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![CocoaPods](https://img.shields.io/cocoapods/v/Apollo.svg)](https://cocoapods.org/pods/Apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollodata.com/#slack) - -Apollo iOS is a strongly-typed, caching GraphQL client for iOS, written in Swift. - -It allows you to execute queries and mutations against a GraphQL server, and returns results as query-specific Swift types. This means you don’t have to deal with parsing JSON, or passing around dictionaries and making clients cast values to the right type manually. You also don't have to write model types yourself, because these are generated from the GraphQL definitions your UI uses. - -As the generated types are query-specific, you're only able to access data you actually specify as part of a query. If you don't ask for a field, you won't be able to access the corresponding property. In effect, this means you can now rely on the Swift type checker to make sure errors in data access show up at compile time. With our Xcode integration, you can conveniently work with your UI code and corresponding GraphQL definitions side by side, and it will even validate your query documents, and show errors inline. - -Apollo iOS does more than simply run your queries against a GraphQL server however. It normalizes query results to construct a client-side cache of your data, which is kept up to date as further queries and mutations are run. This means your UI is always internally consistent, and can be kept fully up-to-date with the state on the server with the minimum number of queries required. - -This combination of models with value semantics, one way data flow, and automatic consistency management, leads to a very powerful and elegant programming model that allows you to eliminate common glue code and greatly simplifies app development. - -## Documentation - -[Read the full docs at apollographql.com/docs/ios/](https://www.apollographql.com/docs/ios/) - -## Contributing - -[![Build status](https://travis-ci.org/apollographql/apollo-ios.svg?branch=master)](https://travis-ci.org/apollographql/apollo-ios) - -This project is being developed using Xcode 9 and Swift 4. - -If you open `Apollo.xcodeproj`, you should be able to run the tests of the Apollo target. - -Some of the tests run against [a simple GraphQL server serving the Star Wars example schema](https://github.com/apollographql/starwars-server) (see installation instructions there). - -If you'd like to contribute, please refer to the [Apollo Contributor Guide](https://github.com/apollographql/apollo-ios/blob/master/CONTRIBUTING.md). diff --git a/Example/Pods/Apollo/Sources/Apollo/ApolloClient.swift b/Example/Pods/Apollo/Sources/Apollo/ApolloClient.swift deleted file mode 100644 index 793d33a..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/ApolloClient.swift +++ /dev/null @@ -1,247 +0,0 @@ -import Foundation -import Dispatch - -/// An object that can be used to cancel an in progress action. -public protocol Cancellable: class { - /// Cancel an in progress action. - func cancel() -} - -/// A cache policy that specifies whether results should be fetched from the server or loaded from the local cache. -public enum CachePolicy { - /// Return data from the cache if available, else fetch results from the server. - case returnCacheDataElseFetch - /// Always fetch results from the server. - case fetchIgnoringCacheData - /// Return data from the cache if available, else return nil. - case returnCacheDataDontFetch - /// Return data from the cache if available, and always fetch results from the server. - case returnCacheDataAndFetch -} - -/// A handler for operation results. -/// -/// - Parameters: -/// - result: The result of the performed operation, or `nil` if an error occurred. -/// - error: An error that indicates why the mutation failed, or `nil` if the mutation was succesful. -public typealias OperationResultHandler = (_ result: GraphQLResult?, _ error: Error?) -> Void - -/// The `ApolloClient` class provides the core API for Apollo. This API provides methods to fetch and watch queries, and to perform mutations. -public class ApolloClient { - let networkTransport: NetworkTransport - let store: ApolloStore - public var cacheKeyForObject: CacheKeyForObject? { - get { - return store.cacheKeyForObject - } - - set { - store.cacheKeyForObject = newValue - } - } - - private let queue: DispatchQueue - private let operationQueue: OperationQueue - - /// Creates a client with the specified network transport and store. - /// - /// - Parameters: - /// - networkTransport: A network transport used to send operations to a server. - /// - store: A store used as a local cache. Defaults to an empty store backed by an in memory cache. - public init(networkTransport: NetworkTransport, store: ApolloStore = ApolloStore(cache: InMemoryNormalizedCache())) { - self.networkTransport = networkTransport - self.store = store - - queue = DispatchQueue(label: "com.apollographql.ApolloClient", attributes: .concurrent) - operationQueue = OperationQueue() - } - - /// Creates a client with an HTTP network transport connecting to the specified URL. - /// - /// - Parameter url: The URL of a GraphQL server to connect to. - public convenience init(url: URL) { - self.init(networkTransport: HTTPNetworkTransport(url: url)) - } - - /// Clears apollo cache - /// - /// - Returns: Promise - public func clearCache() -> Promise { - return store.clearCache() - } - - /// Fetches a query from the server or from the local cache, depending on the current contents of the cache and the specified cache policy. - /// - /// - Parameters: - /// - query: The query to fetch. - /// - cachePolicy: A cache policy that specifies when results should be fetched from the server and when data should be loaded from the local cache. - /// - queue: A dispatch queue on which the result handler will be called. Defaults to the main queue. - /// - resultHandler: An optional closure that is called when query results are available or when an error occurs. - /// - Returns: An object that can be used to cancel an in progress fetch. - @discardableResult public func fetch(query: Query, cachePolicy: CachePolicy = .returnCacheDataElseFetch, queue: DispatchQueue = DispatchQueue.main, resultHandler: OperationResultHandler? = nil) -> Cancellable { - return _fetch(query: query, cachePolicy: cachePolicy, queue: queue, resultHandler: resultHandler) - } - - func _fetch(query: Query, cachePolicy: CachePolicy, context: UnsafeMutableRawPointer? = nil, queue: DispatchQueue, resultHandler: OperationResultHandler?) -> Cancellable { - // If we don't have to go through the cache, there is no need to create an operation - // and we can return a network task directly - if cachePolicy == .fetchIgnoringCacheData { - return send(operation: query, context: context, handlerQueue: queue, resultHandler: resultHandler) - } else { - let operation = FetchQueryOperation(client: self, query: query, cachePolicy: cachePolicy, context: context, handlerQueue: queue, resultHandler: resultHandler) - operationQueue.addOperation(operation) - return operation - } - } - - /// Watches a query by first fetching an initial result from the server or from the local cache, depending on the current contents of the cache and the specified cache policy. After the initial fetch, the returned query watcher object will get notified whenever any of the data the query result depends on changes in the local cache, and calls the result handler again with the new result. - /// - /// - Parameters: - /// - query: The query to fetch. - /// - cachePolicy: A cache policy that specifies when results should be fetched from the server or from the local cache. - /// - queue: A dispatch queue on which the result handler will be called. Defaults to the main queue. - /// - resultHandler: An optional closure that is called when query results are available or when an error occurs. - /// - Returns: A query watcher object that can be used to control the watching behavior. - public func watch(query: Query, cachePolicy: CachePolicy = .returnCacheDataElseFetch, queue: DispatchQueue = DispatchQueue.main, resultHandler: @escaping OperationResultHandler) -> GraphQLQueryWatcher { - let watcher = GraphQLQueryWatcher(client: self, query: query, handlerQueue: queue, resultHandler: resultHandler) - watcher.fetch(cachePolicy: cachePolicy) - return watcher - } - - /// Performs a mutation by sending it to the server. - /// - /// - Parameters: - /// - mutation: The mutation to perform. - /// - queue: A dispatch queue on which the result handler will be called. Defaults to the main queue. - /// - resultHandler: An optional closure that is called when mutation results are available or when an error occurs. - /// - Returns: An object that can be used to cancel an in progress mutation. - @discardableResult public func perform(mutation: Mutation, queue: DispatchQueue = DispatchQueue.main, resultHandler: OperationResultHandler? = nil) -> Cancellable { - return _perform(mutation: mutation, queue: queue, resultHandler: resultHandler) - } - - func _perform(mutation: Mutation, context: UnsafeMutableRawPointer? = nil, queue: DispatchQueue, resultHandler: OperationResultHandler?) -> Cancellable { - return send(operation: mutation, context: context, handlerQueue: queue, resultHandler: resultHandler) - } - - /// Subscribe to a subscription - /// - /// - Parameters: - /// - subscription: The subscription to subscribe to. - /// - queue: A dispatch queue on which the result handler will be called. Defaults to the main queue. - /// - resultHandler: An optional closure that is called when mutation results are available or when an error occurs. - /// - Returns: An object that can be used to cancel an in progress subscription. - @discardableResult public func subscribe(subscription: Subscription, queue: DispatchQueue = DispatchQueue.main, resultHandler: @escaping OperationResultHandler) -> Cancellable { - return send(operation: subscription, context: nil, handlerQueue: queue, resultHandler: resultHandler) - } - - - fileprivate func send(operation: Operation, context: UnsafeMutableRawPointer?, handlerQueue: DispatchQueue, resultHandler: OperationResultHandler?) -> Cancellable { - func notifyResultHandler(result: GraphQLResult?, error: Error?) { - guard let resultHandler = resultHandler else { return } - - handlerQueue.async { - resultHandler(result, error) - } - } - - return networkTransport.send(operation: operation) { (response, error) in - guard let response = response else { - notifyResultHandler(result: nil, error: error) - return - } - - firstly { - try response.parseResult(cacheKeyForObject: self.cacheKeyForObject) - }.andThen { (result, records) in - notifyResultHandler(result: result, error: nil) - - if let records = records { - self.store.publish(records: records, context: context).catch { error in - preconditionFailure(String(describing: error)) - } - } - }.catch { error in - notifyResultHandler(result: nil, error: error) - } - } - } -} - -private final class FetchQueryOperation: AsynchronousOperation, Cancellable { - let client: ApolloClient - let query: Query - let cachePolicy: CachePolicy - let context: UnsafeMutableRawPointer? - let handlerQueue: DispatchQueue - let resultHandler: OperationResultHandler? - - private var networkTask: Cancellable? - - init(client: ApolloClient, query: Query, cachePolicy: CachePolicy, context: UnsafeMutableRawPointer?, handlerQueue: DispatchQueue, resultHandler: OperationResultHandler?) { - self.client = client - self.query = query - self.cachePolicy = cachePolicy - self.context = context - self.handlerQueue = handlerQueue - self.resultHandler = resultHandler - } - - override public func start() { - if isCancelled { - state = .finished - return - } - - state = .executing - - if cachePolicy == .fetchIgnoringCacheData { - fetchFromNetwork() - return - } - - client.store.load(query: query) { (result, error) in - if error == nil { - self.notifyResultHandler(result: result, error: nil) - - if self.cachePolicy != .returnCacheDataAndFetch { - self.state = .finished - return - } - } - - if self.isCancelled { - self.state = .finished - return - } - - if self.cachePolicy == .returnCacheDataDontFetch { - self.notifyResultHandler(result: nil, error: nil) - self.state = .finished - return - } - - self.fetchFromNetwork() - } - } - - func fetchFromNetwork() { - networkTask = client.send(operation: query, context: context, handlerQueue: handlerQueue) { (result, error) in - self.notifyResultHandler(result: result, error: error) - self.state = .finished - return - } - } - - override public func cancel() { - super.cancel() - networkTask?.cancel() - } - - func notifyResultHandler(result: GraphQLResult?, error: Error?) { - guard let resultHandler = resultHandler else { return } - - handlerQueue.async { - resultHandler(result, error) - } - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/ApolloStore.swift b/Example/Pods/Apollo/Sources/Apollo/ApolloStore.swift deleted file mode 100644 index 41317c5..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/ApolloStore.swift +++ /dev/null @@ -1,245 +0,0 @@ -import Dispatch - -/// A function that returns a cache key for a particular result object. If it returns `nil`, a default cache key based on the field path will be used. -public typealias CacheKeyForObject = (_ object: JSONObject) -> JSONValue? -public typealias DidChangeKeysFunc = (Set, UnsafeMutableRawPointer?) -> Void - -func rootCacheKey(for operation: Operation) -> String { - switch operation.operationType { - case .query: - return "QUERY_ROOT" - case .mutation: - return "MUTATION_ROOT" - case .subscription: - return "SUBSCRIPTION_ROOT" - } -} - -protocol ApolloStoreSubscriber: class { - func store(_ store: ApolloStore, didChangeKeys changedKeys: Set, context: UnsafeMutableRawPointer?) -} - -/// The `ApolloStore` class acts as a local cache for normalized GraphQL results. -public final class ApolloStore { - public var cacheKeyForObject: CacheKeyForObject? - - private let queue: DispatchQueue - - private let cache: NormalizedCache - - // We need a separate read/write lock for cache access because cache operations are - // asynchronous and we don't want to block the dispatch threads - private let cacheLock = ReadWriteLock() - - private var subscribers: [ApolloStoreSubscriber] = [] - - public init(cache: NormalizedCache) { - self.cache = cache - queue = DispatchQueue(label: "com.apollographql.ApolloStore", attributes: .concurrent) - } - - fileprivate func didChangeKeys(_ changedKeys: Set, context: UnsafeMutableRawPointer?) { - for subscriber in self.subscribers { - subscriber.store(self, didChangeKeys: changedKeys, context: context) - } - } - - func clearCache() -> Promise { - return Promise { fulfill, reject in - queue.async(flags: .barrier) { - self.cacheLock.withWriteLock { - self.cache.clear() - }.andThen { - fulfill(()) - } - } - } - } - - func publish(records: RecordSet, context: UnsafeMutableRawPointer? = nil) -> Promise { - return Promise { fulfill, reject in - queue.async(flags: .barrier) { - self.cacheLock.withWriteLock { - self.cache.merge(records: records) - }.andThen { changedKeys in - self.didChangeKeys(changedKeys, context: context) - fulfill(()) - } - } - } - } - - func subscribe(_ subscriber: ApolloStoreSubscriber) { - queue.async(flags: .barrier) { - self.subscribers.append(subscriber) - } - } - - func unsubscribe(_ subscriber: ApolloStoreSubscriber) { - queue.async(flags: .barrier) { - self.subscribers = self.subscribers.filter({ $0 !== subscriber }) - } - } - - public func withinReadTransaction(_ body: @escaping (ReadTransaction) throws -> Promise) -> Promise { - return Promise { fulfill, reject in - self.queue.async { - self.cacheLock.lockForReading() - - fulfill(ReadTransaction(cache: self.cache, cacheKeyForObject: self.cacheKeyForObject)) - } - }.flatMap(body) - .finally { - self.cacheLock.unlock() - } - } - - public func withinReadTransaction(_ body: @escaping (ReadTransaction) throws -> T) -> Promise { - return withinReadTransaction { - Promise(fulfilled: try body($0)) - } - } - - public func withinReadWriteTransaction(_ body: @escaping (ReadWriteTransaction) throws -> Promise) -> Promise { - return Promise { fulfill, reject in - self.queue.async(flags: .barrier) { - self.cacheLock.lockForWriting() - fulfill(ReadWriteTransaction(cache: self.cache, cacheKeyForObject: self.cacheKeyForObject, updateChangedKeysFunc: self.didChangeKeys)) - } - }.flatMap(body) - .finally { - self.cacheLock.unlock() - } - } - - public func withinReadWriteTransaction(_ body: @escaping (ReadWriteTransaction) throws -> T) -> Promise { - return withinReadWriteTransaction { - Promise(fulfilled: try body($0)) - } - } - - func load(query: Query) -> Promise> { - return withinReadTransaction { transaction in - let mapper = GraphQLSelectionSetMapper() - let dependencyTracker = GraphQLDependencyTracker() - - return try transaction.execute(selections: Query.Data.selections, onObjectWithKey: rootCacheKey(for: query), variables: query.variables, accumulator: zip(mapper, dependencyTracker)) - }.map { (data: Query.Data, dependentKeys: Set) in - GraphQLResult(data: data, errors: nil, source:.cache, dependentKeys: dependentKeys) - } - } - - func load(query: Query, resultHandler: @escaping OperationResultHandler) { - load(query: query).andThen { result in - resultHandler(result, nil) - }.catch { error in - resultHandler(nil, error) - } - } - - public class ReadTransaction { - fileprivate let cache: NormalizedCache - fileprivate let cacheKeyForObject: CacheKeyForObject? - - fileprivate lazy var loader: DataLoader = DataLoader(self.cache.loadRecords) - - fileprivate func makeExecutor() -> GraphQLExecutor { - let executor = GraphQLExecutor { object, info in - let value = object[info.cacheKeyForField] - return self.complete(value: value) - } - - executor.dispatchDataLoads = self.loader.dispatch - executor.cacheKeyForObject = self.cacheKeyForObject - return executor - } - - init(cache: NormalizedCache, cacheKeyForObject: CacheKeyForObject?) { - self.cache = cache - self.cacheKeyForObject = cacheKeyForObject - } - - public func read(query: Query) throws -> Query.Data { - return try readObject(ofType: Query.Data.self, withKey: rootCacheKey(for: query), variables: query.variables) - } - - public func readObject(ofType type: SelectionSet.Type, withKey key: CacheKey, variables: GraphQLMap? = nil) throws -> SelectionSet { - let mapper = GraphQLSelectionSetMapper() - return try execute(selections: type.selections, onObjectWithKey: key, variables: variables, accumulator: mapper).await() - } - - public func loadRecords(forKeys keys: [CacheKey]) -> Promise<[Record?]> { - return cache.loadRecords(forKeys: keys) - } - - private final func complete(value: Any?) -> ResultOrPromise { - if let reference = value as? Reference { - return .promise(loader[reference.key].map { $0?.fields }) - } else if let array = value as? Array { - let completedValues = array.map(complete) - // Make sure to dispatch on a global queue and not on the local queue, - // because that could result in a deadlock (if someone is waiting for the write lock). - return whenAll(completedValues, notifyOn: .global()).map { $0 } - } else { - return .result(.success(value)) - } - } - - final func execute(selections: [GraphQLSelection], onObjectWithKey key: CacheKey, variables: GraphQLMap?, accumulator: Accumulator) throws -> Promise { - return loadObject(forKey: key).flatMap { object in - try self.makeExecutor().execute(selections: selections, on: object, withKey: key, variables: variables, accumulator: accumulator) - } - } - - private final func loadObject(forKey key: CacheKey) -> Promise { - defer { loader.dispatch() } - - return loader[key].map { record in - guard let object = record?.fields else { throw JSONDecodingError.missingValue } - return object - } - } - } - - public final class ReadWriteTransaction: ReadTransaction { - - fileprivate var updateChangedKeysFunc: DidChangeKeysFunc? - - init(cache: NormalizedCache, cacheKeyForObject: CacheKeyForObject?, updateChangedKeysFunc: @escaping DidChangeKeysFunc) { - self.updateChangedKeysFunc = updateChangedKeysFunc - super.init(cache: cache, cacheKeyForObject: cacheKeyForObject) - } - - public func update(query: Query, _ body: (inout Query.Data) throws -> Void) throws { - var data = try read(query: query) - try body(&data) - try write(data: data, forQuery: query) - } - - public func updateObject(ofType type: SelectionSet.Type, withKey key: CacheKey, variables: GraphQLMap? = nil, _ body: (inout SelectionSet) throws -> Void) throws { - var object = try readObject(ofType: type, withKey: key, variables: variables) - try body(&object) - try write(object: object, withKey: key, variables: variables) - } - - public func write(data: Query.Data, forQuery query: Query) throws { - try write(object: data, withKey: rootCacheKey(for: query), variables: query.variables) - } - - public func write(object: GraphQLSelectionSet, withKey key: CacheKey, variables: GraphQLMap? = nil) throws { - try write(object: object.jsonObject, forSelections: type(of: object).selections, withKey: key, variables: variables) - } - - private func write(object: JSONObject, forSelections selections: [GraphQLSelection], withKey key: CacheKey, variables: GraphQLMap?) throws { - let normalizer = GraphQLResultNormalizer() - try self.makeExecutor().execute(selections: selections, on: object, withKey: key, variables: variables, accumulator: normalizer) - .flatMap { - self.cache.merge(records: $0) - }.andThen { changedKeys in - if let didChangeKeysFunc = self.updateChangedKeysFunc { - didChangeKeysFunc(changedKeys, nil) - } - }.wait() - } - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/AsynchronousOperation.swift b/Example/Pods/Apollo/Sources/Apollo/AsynchronousOperation.swift deleted file mode 100644 index 381b6f0..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/AsynchronousOperation.swift +++ /dev/null @@ -1,47 +0,0 @@ -import Foundation - -class AsynchronousOperation: Operation { - @objc class func keyPathsForValuesAffectingIsExecuting() -> Set { - return ["state"] - } - - @objc class func keyPathsForValuesAffectingIsFinished() -> Set { - return ["state"] - } - - enum State { - case initialized - case ready - case executing - case finished - } - - var state: State = .initialized { - willSet { - willChangeValue(forKey: "state") - } - didSet { - didChangeValue(forKey: "state") - } - } - - override var isAsynchronous: Bool { - return true - } - - override var isReady: Bool { - let ready = super.isReady - if ready { - state = .ready - } - return ready - } - - override var isExecuting: Bool { - return state == .executing - } - - override var isFinished: Bool { - return state == .finished - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/Collections.swift b/Example/Pods/Apollo/Sources/Apollo/Collections.swift deleted file mode 100644 index 18fbe78..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/Collections.swift +++ /dev/null @@ -1,114 +0,0 @@ -extension Dictionary { - subscript(key: Key, withDefault value: @autoclosure () -> Value) -> Value { - mutating get { - if self[key] == nil { - self[key] = value() - } - return self[key]! - } - set { - self[key] = newValue - } - } -} - -public extension Dictionary { - static func += (lhs: inout Dictionary, rhs: Dictionary) { - #if swift(>=3.2) - lhs.merge(rhs) { (_, new) in new } - #else - for (key, value) in rhs { - lhs[key] = value - } - #endif - } -} - -extension Dictionary { - init(_ entries: S) where S.Iterator.Element == Element { - self = Dictionary(minimumCapacity: entries.underestimatedCount) - for (key, value) in entries { - self[key] = value - } - } -} - -struct GroupedSequence { - private(set) var keys: [Key] = [] - fileprivate var groupsForKeys: [[Value]] = [] - - mutating func append(value: Value, forKey key: Key) -> (Int, Int) { - if let index = keys.index(where: { $0 == key }) { - groupsForKeys[index].append(value) - return (index, groupsForKeys[index].endIndex - 1) - } else { - keys.append(key) - groupsForKeys.append([value]) - return (keys.endIndex - 1, 0) - } - } -} - -extension GroupedSequence: Sequence { - func makeIterator() -> GroupedSequenceIterator { - return GroupedSequenceIterator(base: self) - } -} - -struct GroupedSequenceIterator: IteratorProtocol { - private var base: GroupedSequence - - private var keyIterator: EnumeratedIterator>> - - init(base: GroupedSequence) { - self.base = base - keyIterator = base.keys.enumerated().makeIterator() - } - - mutating func next() -> (Key, [Value])? { - if let (index, key) = keyIterator.next() { - let values = base.groupsForKeys[index] - return (key, values) - } else { - return nil - } - } -} - -public func unzip(_ array: [(Element1, Element2)]) -> ([Element1], [Element2]) { - var array1: [Element1] = [] - var array2: [Element2] = [] - - for element in array { - array1.append(element.0) - array2.append(element.1) - } - - return (array1, array2) -} - -public func unzip(_ array: [(Element1, Element2, Element3)]) -> ([Element1], [Element2], [Element3]) { - var array1: [Element1] = [] - var array2: [Element2] = [] - var array3: [Element3] = [] - - for element in array { - array1.append(element.0) - array2.append(element.1) - array3.append(element.2) - } - - return (array1, array2, array3) -} - -public func unzip(_ array: [[Element]], count: Int) -> [[Element]] { - var unzippedArray: [[Element]] = Array(repeating: [], count: count) - - for valuesForElement in array { - for (index, value) in valuesForElement.enumerated() { - unzippedArray[index].append(value) - } - } - - return unzippedArray -} diff --git a/Example/Pods/Apollo/Sources/Apollo/DataLoader.swift b/Example/Pods/Apollo/Sources/Apollo/DataLoader.swift deleted file mode 100644 index 6b3d05a..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/DataLoader.swift +++ /dev/null @@ -1,57 +0,0 @@ -import Dispatch - -public final class DataLoader { - public typealias BatchLoad = ([Key]) -> Promise<[Value]> - typealias Load = (key: Key, fulfill: (Value) -> Void, reject: (Error) -> Void) - - private let queue: DispatchQueue - - private var batchLoad: BatchLoad - - private var cache: [Key: Promise] = [:] - private var loads: [Load] = [] - - public init(_ batchLoad: @escaping BatchLoad) { - queue = DispatchQueue(label: "com.apollographql.DataLoader") - - self.batchLoad = batchLoad - } - - subscript(key: Key) -> Promise { - if let promise = cache[key] { - return promise - } - - let promise = Promise { fulfill, reject in - enqueue(load: (key, fulfill, reject)) - } - - cache[key] = promise - - return promise - } - - private func enqueue(load: Load) { - queue.async { - self.loads.append(load) - } - } - - func dispatch() { - queue.async { - let loads = self.loads - - if loads.isEmpty { return } - - self.loads = [] - - let keys = loads.map { $0.key } - - self.batchLoad(keys).andThen { values in - for (load, value) in zip(loads, values) { - load.fulfill(value) - } - } - } - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/GraphQLDependencyTracker.swift b/Example/Pods/Apollo/Sources/Apollo/GraphQLDependencyTracker.swift deleted file mode 100644 index 879ee6f..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/GraphQLDependencyTracker.swift +++ /dev/null @@ -1,26 +0,0 @@ -final class GraphQLDependencyTracker: GraphQLResultAccumulator { - private var dependentKeys: Set = Set() - - func accept(scalar: JSONValue, info: GraphQLResolveInfo) { - dependentKeys.insert(joined(path: info.cachePath)) - } - - func acceptNullValue(info: GraphQLResolveInfo) { - dependentKeys.insert(joined(path: info.cachePath)) - } - - func accept(list: [Void], info: GraphQLResolveInfo) { - dependentKeys.insert(joined(path: info.cachePath)) - } - - func accept(fieldEntry: Void, info: GraphQLResolveInfo) { - dependentKeys.insert(joined(path: info.cachePath)) - } - - func accept(fieldEntries: [Void], info: GraphQLResolveInfo) { - } - - func finish(rootValue: Void, info: GraphQLResolveInfo) -> Set { - return dependentKeys - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/GraphQLError.swift b/Example/Pods/Apollo/Sources/Apollo/GraphQLError.swift deleted file mode 100644 index 7480bb8..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/GraphQLError.swift +++ /dev/null @@ -1,62 +0,0 @@ -import Foundation - -/// Represents an error encountered during the execution of a GraphQL operation. -/// -/// - SeeAlso: [The Response Format section in the GraphQL specification](https://facebook.github.io/graphql/#sec-Response-Format) -public struct GraphQLError: Error { - private let object: JSONObject - - public init(_ object: JSONObject) { - self.object = object - } - - init(_ message: String) { - self.init(["message": message]) - } - - /// GraphQL servers may provide additional entries as they choose to produce more helpful or machine‐readable errors. - public subscript(key: String) -> Any? { - return object[key] - } - - /// A description of the error. - public var message: String? { - return self["message"] as? String - } - - /// A list of locations in the requested GraphQL document associated with the error. - public var locations: [Location]? { - return (self["locations"] as? [JSONObject])?.compactMap(Location.init) - } - - /// A map which services can use however they see fit to provide additional information in errors to clients. - public var extensions: [String : Any]? { - return self["extensions"] as? [String : Any] - } - - /// Represents a location in a GraphQL document. - public struct Location { - /// The line number of a syntax element. - public let line: Int - /// The column number of a syntax element. - public let column: Int - - init?(_ object: JSONObject) { - guard let line = object["line"] as? Int, let column = object["column"] as? Int else { return nil } - self.line = line - self.column = column - } - } -} - -extension GraphQLError: CustomStringConvertible { - public var description: String { - return self.message ?? "GraphQL Error" - } -} - -extension GraphQLError: LocalizedError { - public var errorDescription: String? { - return description - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/GraphQLExecutor.swift b/Example/Pods/Apollo/Sources/Apollo/GraphQLExecutor.swift deleted file mode 100644 index 966b20a..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/GraphQLExecutor.swift +++ /dev/null @@ -1,286 +0,0 @@ -import Foundation -import Dispatch - -/// A resolver is responsible for resolving a value for a field. -public typealias GraphQLResolver = (_ object: JSONObject, _ info: GraphQLResolveInfo) -> ResultOrPromise - -public struct GraphQLResolveInfo { - let variables: GraphQLMap? - - var responsePath: [String] = [] - var responseKeyForField: String = "" - - var cachePath: [String] = [] - var cacheKeyForField: String = "" - - var fields: [GraphQLField] = [] - - init(rootKey: CacheKey?, variables: GraphQLMap?) { - self.variables = variables - - if let rootKey = rootKey { - cachePath = [rootKey] - } - } -} - -func joined(path: [String]) -> String { - return path.joined(separator: ".") -} - -public struct GraphQLResultError: Error, LocalizedError { - let path: [String] - let underlying: Error - - public var errorDescription: String? { - return "Error at path \"\(joined(path: path))\": \(underlying)" - } -} - -/// A GraphQL executor is responsible for executing a selection set and generating a result. It is initialized with a resolver closure that gets called repeatedly to resolve field values. -/// -/// An executor is used both to parse a response received from the server, and to read from the normalized cache. It can also be configured with a accumulator that receives events during execution, and these execution events are used by `GraphQLResultNormalizer` to normalize a response into a flat set of records and keep track of dependent keys. -/// -/// The methods in this class closely follow the [execution algorithm described in the GraphQL specification](https://facebook.github.io/graphql/#sec-Execution), but an important difference is that execution returns a value for every selection in a selection set, not the merged fields. This means we get a separate result for every fragment, even though all fields that share a response key are still executed at the same time for efficiency. -/// -/// So given the following query: -/// -/// ``` -/// query HeroAndFriendsNames { -/// hero { -/// name -/// friends { -/// name -/// } -/// ...FriendsAppearsIn -/// } -/// } -/// -/// fragment FriendsAppearsIn on Character { -/// friends { -/// appearsIn -/// } -/// } -/// ``` -/// -/// A server would return a response with `name` and `appearsIn` merged into one object: -/// -/// ``` -/// ... -/// { -/// "name": "R2-D2", -/// "friends": [ -/// { -/// "name": "Luke Skywalker", -/// "appearsIn": ["NEWHOPE", "EMPIRE", "JEDI"] -/// } -/// } -/// ... -/// ``` -/// -/// The executor on the other hand, will return a separate value for every selection: -/// -/// - `String` -/// - `[HeroAndFriendsNames.Data.Hero.Friend]` -/// - `FriendsAppearsIn` -/// - `[FriendsAppearsIn.Friend]` -/// -/// These values then get passed into a generated `GraphQLMappable` initializer, and this is how type safe results get built up. -/// -public final class GraphQLExecutor { - private let queue: DispatchQueue - - private let resolver: GraphQLResolver - var dispatchDataLoads: (() -> Void)? = nil - var dispatchDataLoadsScheduled: Bool = false - - var cacheKeyForObject: CacheKeyForObject? - var shouldComputeCachePath = true - - /// Creates a GraphQLExecutor that resolves field values by calling the provided resolver. - public init(resolver: @escaping GraphQLResolver) { - queue = DispatchQueue(label: "com.apollographql.GraphQLExecutor") - - self.resolver = resolver - } - - private func runtimeType(of object: JSONObject) -> String? { - return object["__typename"] as? String - } - - private func cacheKey(for object: JSONObject) -> String? { - guard let value = cacheKeyForObject?(object) else { return nil } - - if let array = value as? [Any?] { - return array.compactMap { String(describing: $0) }.joined(separator: "_") - } else { - return String(describing: value) - } - } - - // MARK: - Execution - - func execute(selections: [GraphQLSelection], on object: JSONObject, withKey key: CacheKey? = nil, variables: GraphQLMap? = nil, accumulator: Accumulator) throws -> Promise { - let info = GraphQLResolveInfo(rootKey: key, variables: variables) - - return try execute(selections: selections, on: object, info: info, accumulator: accumulator).map { - try accumulator.finish(rootValue: $0, info: info) - }.asPromise() - } - - private func execute(selections: [GraphQLSelection], on object: JSONObject, info: GraphQLResolveInfo, accumulator: Accumulator) throws -> ResultOrPromise { - var groupedFields = GroupedSequence() - try collectFields(selections: selections, forRuntimeType: runtimeType(of: object), into: &groupedFields, info: info) - - var fieldEntries: [ResultOrPromise] = [] - fieldEntries.reserveCapacity(groupedFields.keys.count) - - for (_, fields) in groupedFields { - let fieldEntry = try execute(fields: fields, on: object, info: info, accumulator: accumulator) - fieldEntries.append(fieldEntry) - } - - if let dispatchDataLoads = dispatchDataLoads, !dispatchDataLoadsScheduled { - dispatchDataLoadsScheduled = true - - queue.async { - self.dispatchDataLoadsScheduled = false - dispatchDataLoads() - } - } - - return whenAll(fieldEntries, notifyOn: queue).map { - try accumulator.accept(fieldEntries: $0, info: info) - } - } - - /// Before execution, the selection set is converted to a grouped field set. Each entry in the grouped field set is a list of fields that share a response key. This ensures all fields with the same response key (alias or field name) included via referenced fragments are executed at the same time. - private func collectFields(selections: [GraphQLSelection], forRuntimeType runtimeType: String?, into groupedFields: inout GroupedSequence, info: GraphQLResolveInfo) throws { - for selection in selections { - switch selection { - case let field as GraphQLField: - _ = groupedFields.append(value: field, forKey: field.responseKey) - case let booleanCondition as GraphQLBooleanCondition: - guard let value = info.variables?[booleanCondition.variableName] else { - throw GraphQLError("Variable \(booleanCondition.variableName) was not provided.") - } - if value as? Bool == !booleanCondition.inverted { - try collectFields(selections: booleanCondition.selections, forRuntimeType: runtimeType, into: &groupedFields, info: info) - } - case let fragmentSpread as GraphQLFragmentSpread: - let fragment = fragmentSpread.fragment - - if let runtimeType = runtimeType, fragment.possibleTypes.contains(runtimeType) { - try collectFields(selections: fragment.selections, forRuntimeType: runtimeType, into: &groupedFields, info: info) - } - case let typeCase as GraphQLTypeCase: - let selections: [GraphQLSelection] - if let runtimeType = runtimeType { - selections = typeCase.variants[runtimeType] ?? typeCase.default - } else { - selections = typeCase.default - } - try collectFields(selections: selections, forRuntimeType: runtimeType, into: &groupedFields, info: info) - default: - preconditionFailure() - } - } - } - - /// Each field requested in the grouped field set that is defined on the selected objectType will result in an entry in the response map. Field execution first coerces any provided argument values, then resolves a value for the field, and finally completes that value either by recursively executing another selection set or coercing a scalar value. - private func execute(fields: [GraphQLField], on object: JSONObject, info: GraphQLResolveInfo, accumulator: Accumulator) throws -> ResultOrPromise { - // GraphQL validation makes sure all fields sharing the same response key have the same arguments and are of the same type, so we only need to resolve one field. - let firstField = fields[0] - - var info = info - - let responseKey = firstField.responseKey - info.responseKeyForField = responseKey - info.responsePath.append(responseKey) - - if shouldComputeCachePath { - let cacheKey = try firstField.cacheKey(with: info.variables) - info.cacheKeyForField = cacheKey - info.cachePath.append(cacheKey) - } - - // We still need all fields to complete the value, because they may have different selection sets. - info.fields = fields - - let resultOrPromise = resolver(object, info) - - return resultOrPromise.on(queue: queue).flatMap { value in - guard let value = value else { - throw JSONDecodingError.missingValue - } - - return try self.complete(value: value, ofType: firstField.type, info: info, accumulator: accumulator) - }.map { - try accumulator.accept(fieldEntry: $0, info: info) - }.catch { error in - if !(error is GraphQLResultError) { - throw GraphQLResultError(path: info.responsePath, underlying: error) - } - } - } - - /// After resolving the value for a field, it is completed by ensuring it adheres to the expected return type. If the return type is another Object type, then the field execution process continues recursively. - private func complete(value: JSONValue, ofType returnType: GraphQLOutputType, info: GraphQLResolveInfo, accumulator: Accumulator) throws -> ResultOrPromise { - if case .nonNull(let innerType) = returnType { - if value is NSNull { - return .result(.failure(JSONDecodingError.nullValue)) - } - - return try complete(value: value, ofType: innerType, info: info, accumulator: accumulator) - } - - if value is NSNull { - return ResultOrPromise { try accumulator.acceptNullValue(info: info) } - } - - switch returnType { - case .scalar: - return ResultOrPromise { try accumulator.accept(scalar: value, info: info) } - case .list(let innerType): - guard let array = value as? [JSONValue] else { return .result(.failure(JSONDecodingError.wrongType)) } - - return try whenAll(array.enumerated().map { index, element -> ResultOrPromise in - var info = info - - let indexSegment = String(index) - info.responsePath.append(indexSegment) - info.cachePath.append(indexSegment) - - return try self.complete(value: element, ofType: innerType, info: info, accumulator: accumulator) - }, notifyOn: queue).map { completedArray in - return try accumulator.accept(list: completedArray, info: info) - } - case .object: - guard let object = value as? JSONObject else { return .result(.failure(JSONDecodingError.wrongType)) } - - // The merged selection set is a list of fields from all sub‐selection sets of the original fields. - let selections = mergeSelectionSets(for: info.fields) - - var info = info - if shouldComputeCachePath, let cacheKeyForObject = self.cacheKey(for: object) { - info.cachePath = [cacheKeyForObject] - } - - // We execute the merged selection set on the object to complete the value. This is the recursive step in the GraphQL execution model. - return try execute(selections: selections, on: object, info: info, accumulator: accumulator).map { return $0 as! Accumulator.PartialResult } - default: - preconditionFailure() - } - } - - /// When fields are selected multiple times, their selection sets are merged together when completing the value in order to continue execution of the sub‐selection sets. - private func mergeSelectionSets(for fields: [GraphQLField]) -> [GraphQLSelection] { - var selections: [GraphQLSelection] = [] - for field in fields { - if case let .object(fieldSelections) = field.type.namedType { - selections.append(contentsOf: fieldSelections) - } - } - return selections - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/GraphQLInputValue.swift b/Example/Pods/Apollo/Sources/Apollo/GraphQLInputValue.swift deleted file mode 100644 index a2e2e72..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/GraphQLInputValue.swift +++ /dev/null @@ -1,104 +0,0 @@ -import Foundation - -public protocol GraphQLInputValue { - func evaluate(with variables: [String: JSONEncodable]?) throws -> JSONValue -} - -public struct GraphQLVariable { - let name: String - - public init(_ name: String) { - self.name = name - } -} - -extension GraphQLVariable: GraphQLInputValue { - public func evaluate(with variables: [String: JSONEncodable]?) throws -> JSONValue { - guard let value = variables?[name] else { - throw GraphQLError("Variable \(name) was not provided.") - } - return value.jsonValue - } -} - -extension JSONEncodable { - public func evaluate(with variables: [String: JSONEncodable]?) throws -> JSONValue { - return jsonValue - } -} - -extension Dictionary: GraphQLInputValue { - public func evaluate(with variables: [String: JSONEncodable]?) throws -> JSONValue { - return try evaluate(with: variables) as JSONObject - } -} - -extension Dictionary { - public func evaluate(with variables: [String: JSONEncodable]?) throws -> JSONObject { - var jsonObject = JSONObject(minimumCapacity: count) - for (key, value) in self { - if case let (key as String, value as GraphQLInputValue) = (key, value) { - let evaluatedValue = try value.evaluate(with: variables) - if !(evaluatedValue is NSNull) { - jsonObject[key] = evaluatedValue - } - } else { - fatalError("Dictionary is only GraphQLInputValue if Value is (and if Key is String)") - } - } - return jsonObject - } -} - -extension Array: GraphQLInputValue { - public func evaluate(with variables: [String: JSONEncodable]?) throws -> JSONValue { - return try evaluate(with: variables) as [JSONValue] - } -} - -extension Array { - public func evaluate(with variables: [String: JSONEncodable]?) throws -> [JSONValue] { - var jsonArray = [JSONValue]() - jsonArray.reserveCapacity(count) - for (value) in self { - if case let (value as GraphQLInputValue) = value { - jsonArray.append(try value.evaluate(with: variables)) - } else { - fatalError("Array is only GraphQLInputValue if Element is") - } - } - return jsonArray - } -} - -public typealias GraphQLMap = [String: JSONEncodable?] - -extension Dictionary where Key == String, Value == JSONEncodable? { - public var withNilValuesRemoved: Dictionary { - var filtered = Dictionary(minimumCapacity: count) - for (key, value) in self { - if value != nil { - filtered[key] = value - } - } - return filtered - } -} - -public protocol GraphQLMapConvertible: JSONEncodable { - var graphQLMap: GraphQLMap { get } -} - -public extension GraphQLMapConvertible { - var jsonValue: JSONValue { - return graphQLMap.withNilValuesRemoved.jsonValue - } -} - -public extension GraphQLMapConvertible { - func evaluate(with variables: [String: JSONEncodable]?) throws -> JSONValue { - return try graphQLMap.evaluate(with: variables) - } -} - -public typealias GraphQLID = String diff --git a/Example/Pods/Apollo/Sources/Apollo/GraphQLOperation.swift b/Example/Pods/Apollo/Sources/Apollo/GraphQLOperation.swift deleted file mode 100644 index 327b74e..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/GraphQLOperation.swift +++ /dev/null @@ -1,52 +0,0 @@ -public enum GraphQLOperationType { - case query - case mutation - case subscription -} - -public protocol GraphQLOperation: class { - var operationType: GraphQLOperationType { get } - - var operationDefinition: String { get } - var operationIdentifier: String? { get } - - var queryDocument: String { get } - - var variables: GraphQLMap? { get } - - associatedtype Data: GraphQLSelectionSet -} - -public extension GraphQLOperation { - var queryDocument: String { - return operationDefinition - } - - var operationIdentifier: String? { - return nil - } - - var variables: GraphQLMap? { - return nil - } -} - -public protocol GraphQLQuery: GraphQLOperation {} -public extension GraphQLQuery { - var operationType: GraphQLOperationType { return .query } -} - -public protocol GraphQLMutation: GraphQLOperation {} -public extension GraphQLMutation { - var operationType: GraphQLOperationType { return .mutation } -} - -public protocol GraphQLSubscription: GraphQLOperation {} -public extension GraphQLSubscription { - var operationType: GraphQLOperationType { return .subscription } -} - -public protocol GraphQLFragment: GraphQLSelectionSet { - static var fragmentDefinition: String { get } - static var possibleTypes: [String] { get } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/GraphQLQueryWatcher.swift b/Example/Pods/Apollo/Sources/Apollo/GraphQLQueryWatcher.swift deleted file mode 100644 index e515f97..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/GraphQLQueryWatcher.swift +++ /dev/null @@ -1,54 +0,0 @@ -import Dispatch - -/// A `GraphQLQueryWatcher` is responsible for watching the store, and calling the result handler with a new result whenever any of the data the previous result depends on changes. -public final class GraphQLQueryWatcher: Cancellable, ApolloStoreSubscriber { - weak var client: ApolloClient? - let query: Query - let handlerQueue: DispatchQueue - let resultHandler: OperationResultHandler - - private var context = 0 - - private weak var fetching: Cancellable? - - private var dependentKeys: Set? - - init(client: ApolloClient, query: Query, handlerQueue: DispatchQueue, resultHandler: @escaping OperationResultHandler) { - self.client = client - self.query = query - self.handlerQueue = handlerQueue - self.resultHandler = resultHandler - - client.store.subscribe(self) - } - - /// Refetch a query from the server. - public func refetch() { - fetch(cachePolicy: .fetchIgnoringCacheData) - } - - func fetch(cachePolicy: CachePolicy) { - fetching = client?._fetch(query: query, cachePolicy: cachePolicy, context: &context, queue: handlerQueue) { [weak self] (result, error) in - guard let `self` = self else { return } - - self.dependentKeys = result?.dependentKeys - self.resultHandler(result, error) - } - } - - /// Cancel any in progress fetching operations and unsubscribe from the store. - public func cancel() { - fetching?.cancel() - client?.store.unsubscribe(self) - } - - func store(_ store: ApolloStore, didChangeKeys changedKeys: Set, context: UnsafeMutableRawPointer?) { - if context == &self.context { return } - - guard let dependentKeys = dependentKeys else { return } - - if !dependentKeys.isDisjoint(with: changedKeys) { - fetch(cachePolicy: .returnCacheDataElseFetch) - } - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/GraphQLResponse.swift b/Example/Pods/Apollo/Sources/Apollo/GraphQLResponse.swift deleted file mode 100644 index 8a01d8a..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/GraphQLResponse.swift +++ /dev/null @@ -1,40 +0,0 @@ -/// Represents a GraphQL response received from a server. -public final class GraphQLResponse { - public let operation: Operation - public let body: JSONObject - - public init(operation: Operation, body: JSONObject) { - self.operation = operation - self.body = body - } - - func parseResult(cacheKeyForObject: CacheKeyForObject? = nil) throws -> Promise<(GraphQLResult, RecordSet?)> { - let errors: [GraphQLError]? - - if let errorsEntry = body["errors"] as? [JSONObject] { - errors = errorsEntry.map(GraphQLError.init) - } else { - errors = nil - } - - if let dataEntry = body["data"] as? JSONObject { - let executor = GraphQLExecutor { object, info in - return .result(.success(object[info.responseKeyForField])) - } - - executor.cacheKeyForObject = cacheKeyForObject - - let mapper = GraphQLSelectionSetMapper() - let normalizer = GraphQLResultNormalizer() - let dependencyTracker = GraphQLDependencyTracker() - - return firstly { - try executor.execute(selections: Operation.Data.selections, on: dataEntry, withKey: rootCacheKey(for: operation), variables: operation.variables, accumulator: zip(mapper, normalizer, dependencyTracker)) - }.map { (data, records, dependentKeys) in - (GraphQLResult(data: data, errors: errors, source: .server, dependentKeys: dependentKeys), records) - } - } else { - return Promise(fulfilled: (GraphQLResult(data: nil, errors: errors, source: .server, dependentKeys: nil), nil)) - } - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/GraphQLResponseGenerator.swift b/Example/Pods/Apollo/Sources/Apollo/GraphQLResponseGenerator.swift deleted file mode 100644 index 19283cb..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/GraphQLResponseGenerator.swift +++ /dev/null @@ -1,27 +0,0 @@ -import Foundation - -final class GraphQLResponseGenerator: GraphQLResultAccumulator { - func accept(scalar: JSONValue, info: GraphQLResolveInfo) -> JSONValue { - return scalar - } - - func acceptNullValue(info: GraphQLResolveInfo) -> JSONValue { - return NSNull() - } - - func accept(list: [JSONValue], info: GraphQLResolveInfo) -> JSONValue { - return list - } - - func accept(fieldEntry: JSONValue, info: GraphQLResolveInfo) -> (key: String, value: JSONValue) { - return (info.responseKeyForField, fieldEntry) - } - - func accept(fieldEntries: [(key: String, value: JSONValue)], info: GraphQLResolveInfo) -> JSONValue { - return JSONObject(fieldEntries) - } - - func finish(rootValue: JSONValue, info: GraphQLResolveInfo) throws -> JSONObject { - return rootValue as! JSONObject - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/GraphQLResult.swift b/Example/Pods/Apollo/Sources/Apollo/GraphQLResult.swift deleted file mode 100644 index ce28e88..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/GraphQLResult.swift +++ /dev/null @@ -1,25 +0,0 @@ -/// Represents the result of a GraphQL operation. -public struct GraphQLResult { - /// The typed result data, or `nil` if an error was encountered that prevented a valid response. - public let data: Data? - /// A list of errors, or `nil` if the operation completed without encountering any errors. - public let errors: [GraphQLError]? - - /// Represents source of data - public enum Source { - case cache - case server - } - /// Source of data - public let source: Source - - let dependentKeys: Set? - - init(data: Data?, errors: [GraphQLError]?, source: Source, dependentKeys: Set?) { - self.data = data - self.errors = errors - self.source = source - self.dependentKeys = dependentKeys - } -} - diff --git a/Example/Pods/Apollo/Sources/Apollo/GraphQLResultAccumulator.swift b/Example/Pods/Apollo/Sources/Apollo/GraphQLResultAccumulator.swift deleted file mode 100644 index b79a2fe..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/GraphQLResultAccumulator.swift +++ /dev/null @@ -1,108 +0,0 @@ -public protocol GraphQLResultAccumulator: class { - associatedtype PartialResult - associatedtype FieldEntry - associatedtype ObjectResult - associatedtype FinalResult - - func accept(scalar: JSONValue, info: GraphQLResolveInfo) throws -> PartialResult - func acceptNullValue(info: GraphQLResolveInfo) throws -> PartialResult - func accept(list: [PartialResult], info: GraphQLResolveInfo) throws -> PartialResult - - func accept(fieldEntry: PartialResult, info: GraphQLResolveInfo) throws -> FieldEntry - func accept(fieldEntries: [FieldEntry], info: GraphQLResolveInfo) throws -> ObjectResult - - func finish(rootValue: ObjectResult, info: GraphQLResolveInfo) throws -> FinalResult -} - -public func zip(_ accumulator1: Accumulator1, _ accumulator2: Accumulator2) -> Zip2Accumulator { - return Zip2Accumulator(accumulator1, accumulator2) -} - -public func zip(_ accumulator1: Accumulator1, _ accumulator2: Accumulator2, _ accumulator3: Accumulator3) -> Zip3Accumulator { - return Zip3Accumulator(accumulator1, accumulator2, accumulator3) -} - -public final class Zip2Accumulator: GraphQLResultAccumulator { - public typealias PartialResult = (Accumulator1.PartialResult, Accumulator2.PartialResult) - public typealias FieldEntry = (Accumulator1.FieldEntry, Accumulator2.FieldEntry) - public typealias ObjectResult = (Accumulator1.ObjectResult, Accumulator2.ObjectResult) - public typealias FinalResult = (Accumulator1.FinalResult, Accumulator2.FinalResult) - - private let accumulator1: Accumulator1 - private let accumulator2: Accumulator2 - - fileprivate init(_ accumulator1: Accumulator1, _ accumulator2: Accumulator2) { - self.accumulator1 = accumulator1 - self.accumulator2 = accumulator2 - } - - public func accept(scalar: JSONValue, info: GraphQLResolveInfo) throws -> PartialResult { - return (try accumulator1.accept(scalar: scalar, info: info), try accumulator2.accept(scalar: scalar, info: info)) - } - - public func acceptNullValue(info: GraphQLResolveInfo) throws -> PartialResult { - return (try accumulator1.acceptNullValue(info: info), try accumulator2.acceptNullValue(info: info)) - } - - public func accept(list: [PartialResult], info: GraphQLResolveInfo) throws -> PartialResult { - let (list1, list2) = unzip(list) - return (try accumulator1.accept(list: list1, info: info), try accumulator2.accept(list: list2, info: info)) - } - - public func accept(fieldEntry: PartialResult, info: GraphQLResolveInfo) throws -> FieldEntry { - return (try accumulator1.accept(fieldEntry: fieldEntry.0, info: info), try accumulator2.accept(fieldEntry: fieldEntry.1, info: info)) - } - - public func accept(fieldEntries: [FieldEntry], info: GraphQLResolveInfo) throws -> ObjectResult { - let (fieldEntries1, fieldEntries2) = unzip(fieldEntries) - return (try accumulator1.accept(fieldEntries: fieldEntries1, info: info), try accumulator2.accept(fieldEntries: fieldEntries2, info: info)) - } - - public func finish(rootValue: ObjectResult, info: GraphQLResolveInfo) throws -> FinalResult { - return (try accumulator1.finish(rootValue: rootValue.0, info: info), try accumulator2.finish(rootValue: rootValue.1, info: info)) - } -} - -public final class Zip3Accumulator: GraphQLResultAccumulator { - public typealias PartialResult = (Accumulator1.PartialResult, Accumulator2.PartialResult, Accumulator3.PartialResult) - public typealias FieldEntry = (Accumulator1.FieldEntry, Accumulator2.FieldEntry, Accumulator3.FieldEntry) - public typealias ObjectResult = (Accumulator1.ObjectResult, Accumulator2.ObjectResult, Accumulator3.ObjectResult) - public typealias FinalResult = (Accumulator1.FinalResult, Accumulator2.FinalResult, Accumulator3.FinalResult) - - private let accumulator1: Accumulator1 - private let accumulator2: Accumulator2 - private let accumulator3: Accumulator3 - - - fileprivate init(_ accumulator1: Accumulator1, _ accumulator2: Accumulator2, _ accumulator3: Accumulator3) { - self.accumulator1 = accumulator1 - self.accumulator2 = accumulator2 - self.accumulator3 = accumulator3 - } - - public func accept(scalar: JSONValue, info: GraphQLResolveInfo) throws -> PartialResult { - return (try accumulator1.accept(scalar: scalar, info: info), try accumulator2.accept(scalar: scalar, info: info), try accumulator3.accept(scalar: scalar, info: info)) - } - - public func acceptNullValue(info: GraphQLResolveInfo) throws -> PartialResult { - return (try accumulator1.acceptNullValue(info: info), try accumulator2.acceptNullValue(info: info), try accumulator3.acceptNullValue(info: info)) - } - - public func accept(list: [PartialResult], info: GraphQLResolveInfo) throws -> PartialResult { - let (list1, list2, list3) = unzip(list) - return (try accumulator1.accept(list: list1, info: info), try accumulator2.accept(list: list2, info: info), try accumulator3.accept(list: list3, info: info)) - } - - public func accept(fieldEntry: PartialResult, info: GraphQLResolveInfo) throws -> FieldEntry { - return (try accumulator1.accept(fieldEntry: fieldEntry.0, info: info), try accumulator2.accept(fieldEntry: fieldEntry.1, info: info), try accumulator3.accept(fieldEntry: fieldEntry.2, info: info)) - } - - public func accept(fieldEntries: [FieldEntry], info: GraphQLResolveInfo) throws -> ObjectResult { - let (fieldEntries1, fieldEntries2, fieldEntries3) = unzip(fieldEntries) - return (try accumulator1.accept(fieldEntries: fieldEntries1, info: info), try accumulator2.accept(fieldEntries: fieldEntries2, info: info), try accumulator3.accept(fieldEntries: fieldEntries3, info: info)) - } - - public func finish(rootValue: ObjectResult, info: GraphQLResolveInfo) throws -> FinalResult { - return (try accumulator1.finish(rootValue: rootValue.0, info: info), try accumulator2.finish(rootValue: rootValue.1, info: info), try accumulator3.finish(rootValue: rootValue.2, info: info)) - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/GraphQLResultNormalizer.swift b/Example/Pods/Apollo/Sources/Apollo/GraphQLResultNormalizer.swift deleted file mode 100644 index 1878968..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/GraphQLResultNormalizer.swift +++ /dev/null @@ -1,34 +0,0 @@ -import Foundation - -final class GraphQLResultNormalizer: GraphQLResultAccumulator { - private var records: RecordSet = [:] - - func accept(scalar: JSONValue, info: GraphQLResolveInfo) -> JSONValue { - return scalar - } - - func acceptNullValue(info: GraphQLResolveInfo) -> JSONValue { - return NSNull() - } - - func accept(list: [JSONValue], info: GraphQLResolveInfo) -> JSONValue { - return list - } - - func accept(fieldEntry: JSONValue, info: GraphQLResolveInfo) -> (key: String, value: JSONValue) { - return (info.cacheKeyForField, fieldEntry) - } - - func accept(fieldEntries: [(key: String, value: JSONValue)], info: GraphQLResolveInfo) throws -> JSONValue { - let cachePath = joined(path: info.cachePath) - - let object = JSONObject(fieldEntries) - records.merge(record: Record(key: cachePath, object)) - - return Reference(key: cachePath) - } - - func finish(rootValue: JSONValue, info: GraphQLResolveInfo) throws -> RecordSet { - return records - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/GraphQLSelectionSet.swift b/Example/Pods/Apollo/Sources/Apollo/GraphQLSelectionSet.swift deleted file mode 100644 index 0787607..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/GraphQLSelectionSet.swift +++ /dev/null @@ -1,128 +0,0 @@ -public typealias ResultMap = [String: Any?] - -public protocol GraphQLSelectionSet { - static var selections: [GraphQLSelection] { get } - - var resultMap: ResultMap { get } - init(unsafeResultMap: ResultMap) -} - -public extension GraphQLSelectionSet { - init(jsonObject: JSONObject) throws { - let executor = GraphQLExecutor { object, info in - .result(.success(object[info.responseKeyForField])) - } - executor.shouldComputeCachePath = false - self = try executor.execute(selections: Self.selections, on: jsonObject, accumulator: GraphQLSelectionSetMapper()).await() - } - - var jsonObject: JSONObject { - return resultMap.jsonObject - } -} - -extension GraphQLSelectionSet { - public init(_ selectionSet: GraphQLSelectionSet) throws { - try self.init(jsonObject: selectionSet.jsonObject) - } -} - -public protocol GraphQLSelection { -} - -public struct GraphQLField: GraphQLSelection { - let name: String - let alias: String? - let arguments: [String: GraphQLInputValue]? - - var responseKey: String { - return alias ?? name - } - - let type: GraphQLOutputType - - public init(_ name: String, alias: String? = nil, arguments: [String: GraphQLInputValue]? = nil, type: GraphQLOutputType) { - self.name = name - self.alias = alias - - self.arguments = arguments - - self.type = type - } - - func cacheKey(with variables: [String: JSONEncodable]?) throws -> String { - if let argumentValues = try arguments?.evaluate(with: variables), !argumentValues.isEmpty { - let argumentsKey = orderIndependentKey(for: argumentValues) - return "\(name)(\(argumentsKey))" - } else { - return name - } - } -} - -public indirect enum GraphQLOutputType { - case scalar(JSONDecodable.Type) - case object([GraphQLSelection]) - case nonNull(GraphQLOutputType) - case list(GraphQLOutputType) - - var namedType: GraphQLOutputType { - switch self { - case .nonNull(let innerType), .list(let innerType): - return innerType.namedType - case .scalar, .object: - return self - } - } -} - -private func orderIndependentKey(for object: JSONObject) -> String { - return object.sorted { $0.key < $1.key }.map { - if let object = $0.value as? JSONObject { - return "[\($0.key):\(orderIndependentKey(for: object))]" - } else { - return "\($0.key):\($0.value)" - } - }.joined(separator: ",") -} - -public struct GraphQLBooleanCondition: GraphQLSelection { - let variableName: String - let inverted: Bool - let selections: [GraphQLSelection] - - public init(variableName: String, inverted: Bool, selections: [GraphQLSelection]) { - self.variableName = variableName - self.inverted = inverted; - self.selections = selections; - } -} - -public struct GraphQLTypeCondition: GraphQLSelection { - let possibleTypes: [String] - let selections: [GraphQLSelection] - - public init(possibleTypes: [String], selections: [GraphQLSelection]) { - self.possibleTypes = possibleTypes - self.selections = selections; - } -} - -public struct GraphQLFragmentSpread: GraphQLSelection { - let fragment: GraphQLFragment.Type - - public init(_ fragment: GraphQLFragment.Type) { - self.fragment = fragment - } -} - -public struct GraphQLTypeCase: GraphQLSelection { - let variants: [String: [GraphQLSelection]] - let `default`: [GraphQLSelection] - - public init(variants: [String: [GraphQLSelection]], default: [GraphQLSelection]) { - self.variants = variants - self.default = `default`; - } -} - diff --git a/Example/Pods/Apollo/Sources/Apollo/GraphQLSelectionSetMapper.swift b/Example/Pods/Apollo/Sources/Apollo/GraphQLSelectionSetMapper.swift deleted file mode 100644 index cee0293..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/GraphQLSelectionSetMapper.swift +++ /dev/null @@ -1,27 +0,0 @@ -final class GraphQLSelectionSetMapper: GraphQLResultAccumulator { - func accept(scalar: JSONValue, info: GraphQLResolveInfo) throws -> Any? { - guard case .scalar(let decodable) = info.fields[0].type.namedType else { preconditionFailure() } - // This will convert a JSON value to the expected value type, which could be a custom scalar or an enum. - return try decodable.init(jsonValue: scalar) - } - - func acceptNullValue(info: GraphQLResolveInfo) -> Any? { - return nil - } - - func accept(list: [Any?], info: GraphQLResolveInfo) -> Any? { - return list - } - - func accept(fieldEntry: Any?, info: GraphQLResolveInfo) -> (key: String, value: Any?) { - return (info.responseKeyForField, fieldEntry) - } - - func accept(fieldEntries: [(key: String, value: Any?)], info: GraphQLResolveInfo) throws -> ResultMap { - return ResultMap(fieldEntries) - } - - func finish(rootValue: ResultMap, info: GraphQLResolveInfo) -> SelectionSet { - return SelectionSet.init(unsafeResultMap: rootValue) - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/HTTPNetworkTransport.swift b/Example/Pods/Apollo/Sources/Apollo/HTTPNetworkTransport.swift deleted file mode 100644 index ac3cc54..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/HTTPNetworkTransport.swift +++ /dev/null @@ -1,132 +0,0 @@ -import Foundation - -extension URLSessionTask: Cancellable {} - -/// A transport-level, HTTP-specific error. -public struct GraphQLHTTPResponseError: Error, LocalizedError { - public enum ErrorKind { - case errorResponse - case invalidResponse - - var description: String { - switch self { - case .errorResponse: - return "Received error response" - case .invalidResponse: - return "Received invalid response" - } - } - } - - /// The body of the response. - public let body: Data? - /// Information about the response as provided by the server. - public let response: HTTPURLResponse - public let kind: ErrorKind - - public init(body: Data? = nil, response: HTTPURLResponse, kind: ErrorKind) { - self.body = body - self.response = response - self.kind = kind - } - - public var bodyDescription: String { - if let body = body { - if let description = String(data: body, encoding: response.textEncoding ?? .utf8) { - return description - } else { - return "Unreadable response body" - } - } else { - return "Empty response body" - } - } - - public var errorDescription: String? { - return "\(kind.description) (\(response.statusCode) \(response.statusCodeDescription)): \(bodyDescription)" - } -} - -/// A network transport that uses HTTP POST requests to send GraphQL operations to a server, and that uses `URLSession` as the networking implementation. -public class HTTPNetworkTransport: NetworkTransport { - let url: URL - let session: URLSession - let serializationFormat = JSONSerializationFormat.self - - /// Creates a network transport with the specified server URL and session configuration. - /// - /// - Parameters: - /// - url: The URL of a GraphQL server to connect to. - /// - configuration: A session configuration used to configure the session. Defaults to `URLSessionConfiguration.default`. - /// - sendOperationIdentifiers: Whether to send operation identifiers rather than full operation text, for use with servers that support query persistence. Defaults to false. - public init(url: URL, configuration: URLSessionConfiguration = URLSessionConfiguration.default, sendOperationIdentifiers: Bool = false) { - self.url = url - self.session = URLSession(configuration: configuration) - self.sendOperationIdentifiers = sendOperationIdentifiers - } - - /// Send a GraphQL operation to a server and return a response. - /// - /// - Parameters: - /// - operation: The operation to send. - /// - completionHandler: A closure to call when a request completes. - /// - response: The response received from the server, or `nil` if an error occurred. - /// - error: An error that indicates why a request failed, or `nil` if the request was succesful. - /// - Returns: An object that can be used to cancel an in progress request. - public func send(operation: Operation, completionHandler: @escaping (_ response: GraphQLResponse?, _ error: Error?) -> Void) -> Cancellable { - var request = URLRequest(url: url) - request.httpMethod = "POST" - - request.setValue("application/json", forHTTPHeaderField: "Content-Type") - - let body = requestBody(for: operation) - request.httpBody = try! serializationFormat.serialize(value: body) - - let task = session.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in - if error != nil { - completionHandler(nil, error) - return - } - - guard let httpResponse = response as? HTTPURLResponse else { - fatalError("Response should be an HTTPURLResponse") - } - - if (!httpResponse.isSuccessful) { - completionHandler(nil, GraphQLHTTPResponseError(body: data, response: httpResponse, kind: .errorResponse)) - return - } - - guard let data = data else { - completionHandler(nil, GraphQLHTTPResponseError(body: nil, response: httpResponse, kind: .invalidResponse)) - return - } - - do { - guard let body = try self.serializationFormat.deserialize(data: data) as? JSONObject else { - throw GraphQLHTTPResponseError(body: data, response: httpResponse, kind: .invalidResponse) - } - let response = GraphQLResponse(operation: operation, body: body) - completionHandler(response, nil) - } catch { - completionHandler(nil, error) - } - } - - task.resume() - - return task - } - - private let sendOperationIdentifiers: Bool - - private func requestBody(for operation: Operation) -> GraphQLMap { - if sendOperationIdentifiers { - guard let operationIdentifier = operation.operationIdentifier else { - preconditionFailure("To send operation identifiers, Apollo types must be generated with operationIdentifiers") - } - return ["id": operationIdentifier, "variables": operation.variables] - } - return ["query": operation.queryDocument, "variables": operation.variables] - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/InMemoryNormalizedCache.swift b/Example/Pods/Apollo/Sources/Apollo/InMemoryNormalizedCache.swift deleted file mode 100644 index 1576833..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/InMemoryNormalizedCache.swift +++ /dev/null @@ -1,21 +0,0 @@ -public final class InMemoryNormalizedCache: NormalizedCache { - private var records: RecordSet - - public init(records: RecordSet = RecordSet()) { - self.records = records - } - - public func loadRecords(forKeys keys: [CacheKey]) -> Promise<[Record?]> { - let records = keys.map { self.records[$0] } - return Promise(fulfilled: records) - } - - public func merge(records: RecordSet) -> Promise> { - return Promise(fulfilled: self.records.merge(records: records)) - } - - public func clear() -> Promise { - records.clear() - return Promise(fulfilled: ()) - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/JSON.swift b/Example/Pods/Apollo/Sources/Apollo/JSON.swift deleted file mode 100644 index ae629ed..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/JSON.swift +++ /dev/null @@ -1,60 +0,0 @@ -import Foundation - -public typealias JSONValue = Any - -public typealias JSONObject = [String: JSONValue] - -public protocol JSONDecodable { - init(jsonValue value: JSONValue) throws -} - -public protocol JSONEncodable: GraphQLInputValue { - var jsonValue: JSONValue { get } -} - -public enum JSONDecodingError: Error, LocalizedError { - case missingValue - case nullValue - case wrongType - case couldNotConvert(value: Any, to: Any.Type) - - public var errorDescription: String? { - switch self { - case .missingValue: - return "Missing value" - case .nullValue: - return "Unexpected null value" - case .wrongType: - return "Wrong type" - case .couldNotConvert(let value, let expectedType): - return "Could not convert \"\(value)\" to \(expectedType)" - } - } -} - -extension JSONDecodingError: Matchable { - public typealias Base = Error - public static func ~=(pattern: JSONDecodingError, value: Error) -> Bool { - guard let value = value as? JSONDecodingError else { - return false - } - - switch (value, pattern) { - case (.missingValue, .missingValue), (.nullValue, .nullValue), (.wrongType, .wrongType), (.couldNotConvert, .couldNotConvert): - return true - default: - return false - } - } -} - -// MARK: Helpers - -func equals(_ lhs: Any, _ rhs: Any) -> Bool { - if let lhs = lhs as? Reference, let rhs = rhs as? Reference { - return lhs == rhs - } - - let lhs = lhs as AnyObject, rhs = rhs as AnyObject - return lhs.isEqual(rhs) -} diff --git a/Example/Pods/Apollo/Sources/Apollo/JSONSerializationFormat.swift b/Example/Pods/Apollo/Sources/Apollo/JSONSerializationFormat.swift deleted file mode 100644 index fe4d9bc..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/JSONSerializationFormat.swift +++ /dev/null @@ -1,11 +0,0 @@ -import Foundation - -public final class JSONSerializationFormat { - public class func serialize(value: JSONEncodable) throws -> Data { - return try JSONSerialization.data(withJSONObject: value.jsonValue, options: []) - } - - public class func deserialize(data: Data) throws -> JSONValue { - return try JSONSerialization.jsonObject(with: data, options: []) - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/JSONStandardTypeConversions.swift b/Example/Pods/Apollo/Sources/Apollo/JSONStandardTypeConversions.swift deleted file mode 100644 index 0122254..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/JSONStandardTypeConversions.swift +++ /dev/null @@ -1,158 +0,0 @@ -import Foundation - -extension String: JSONDecodable, JSONEncodable { - public init(jsonValue value: JSONValue) throws { - guard let string = value as? String else { - throw JSONDecodingError.couldNotConvert(value: value, to: String.self) - } - self = string - } - - public var jsonValue: JSONValue { - return self - } -} - -extension Int: JSONDecodable, JSONEncodable { - public init(jsonValue value: JSONValue) throws { - guard let number = value as? NSNumber else { - throw JSONDecodingError.couldNotConvert(value: value, to: Int.self) - } - self = number.intValue - } - - public var jsonValue: JSONValue { - return self - } -} - -extension Float: JSONDecodable, JSONEncodable { - public init(jsonValue value: JSONValue) throws { - guard let number = value as? NSNumber else { - throw JSONDecodingError.couldNotConvert(value: value, to: Float.self) - } - self = number.floatValue - } - - public var jsonValue: JSONValue { - return self - } -} - -extension Double: JSONDecodable, JSONEncodable { - public init(jsonValue value: JSONValue) throws { - guard let number = value as? NSNumber else { - throw JSONDecodingError.couldNotConvert(value: value, to: Double.self) - } - self = number.doubleValue - } - - public var jsonValue: JSONValue { - return self - } -} - -extension Bool: JSONDecodable, JSONEncodable { - public init(jsonValue value: JSONValue) throws { - guard let bool = value as? Bool else { - throw JSONDecodingError.couldNotConvert(value: value, to: Bool.self) - } - self = bool - } - - public var jsonValue: JSONValue { - return self - } -} - -extension RawRepresentable where RawValue: JSONDecodable { - public init(jsonValue value: JSONValue) throws { - let rawValue = try RawValue(jsonValue: value) - if let tempSelf = Self(rawValue: rawValue) { - self = tempSelf - } else { - throw JSONDecodingError.couldNotConvert(value: value, to: Self.self) - } - } -} - -extension RawRepresentable where RawValue: JSONEncodable { - public var jsonValue: JSONValue { - return rawValue.jsonValue - } -} - -extension Optional where Wrapped: JSONDecodable { - public init(jsonValue value: JSONValue) throws { - if value is NSNull { - self = .none - } else { - self = .some(try Wrapped(jsonValue: value)) - } - } -} - -// Once [conditional conformances](https://github.com/apple/swift-evolution/blob/master/proposals/0143-conditional-conformances.md) have been implemented, we should be able to replace these runtime type checks with proper static typing - -extension Optional: JSONEncodable { - public var jsonValue: JSONValue { - switch self { - case .none: - return NSNull() - case .some(let wrapped as JSONEncodable): - return wrapped.jsonValue - default: - fatalError("Optional is only JSONEncodable if Wrapped is") - } - } -} - -extension Dictionary: JSONEncodable { - public var jsonValue: JSONValue { - return jsonObject - } - - public var jsonObject: JSONObject { - var jsonObject = JSONObject(minimumCapacity: count) - for (key, value) in self { - if case let (key as String, value as JSONEncodable) = (key, value) { - jsonObject[key] = value.jsonValue - } else { - fatalError("Dictionary is only JSONEncodable if Value is (and if Key is String)") - } - } - return jsonObject - } -} - -extension Array: JSONEncodable { - public var jsonValue: JSONValue { - return map() { element -> (JSONValue) in - if case let element as JSONEncodable = element { - return element.jsonValue - } else { - fatalError("Array is only JSONEncodable if Element is") - } - } - } -} - -// Example custom scalar - -extension URL: JSONDecodable, JSONEncodable { - public init(jsonValue value: JSONValue) throws { - guard let string = value as? String else { - throw JSONDecodingError.couldNotConvert(value: value, to: URL.self) - } - - if let url = URL(string: string) { - self = url - } else { - throw JSONDecodingError.couldNotConvert(value: value, to: URL.self) - } - } - - public var jsonValue: JSONValue { - return self.absoluteString - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/Locking.swift b/Example/Pods/Apollo/Sources/Apollo/Locking.swift deleted file mode 100644 index cad7db5..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/Locking.swift +++ /dev/null @@ -1,69 +0,0 @@ -import Foundation - -final class Mutex { - private var _lock = pthread_mutex_t() - - init() { - let result = pthread_mutex_init(&_lock, nil) - assert(result == 0) - } - - deinit { - let result = pthread_mutex_destroy(&_lock) - assert(result == 0) - } - - func lock() { - let result = pthread_mutex_lock(&_lock) - assert(result == 0) - } - - func unlock() { - let result = pthread_mutex_unlock(&_lock) - assert(result == 0) - } - - func withLock(_ body: () throws -> T) rethrows -> T { - lock() - defer { unlock() } - return try body() - } -} - -final class ReadWriteLock { - private var _lock = pthread_rwlock_t() - - init() { - let status = pthread_rwlock_init(&_lock, nil) - assert(status == 0) - } - - deinit { - let status = pthread_rwlock_destroy(&_lock) - assert(status == 0) - } - - func lockForReading() { - pthread_rwlock_rdlock(&_lock) - } - - func lockForWriting() { - pthread_rwlock_wrlock(&_lock) - } - - func unlock() { - pthread_rwlock_unlock(&_lock) - } - - func withReadLock(_ body: () throws -> T) rethrows -> T { - lockForReading() - defer { unlock() } - return try body() - } - - func withWriteLock(_ body: () throws -> T) rethrows -> T { - lockForWriting() - defer { unlock() } - return try body() - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/NetworkTransport.swift b/Example/Pods/Apollo/Sources/Apollo/NetworkTransport.swift deleted file mode 100644 index dbd80a8..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/NetworkTransport.swift +++ /dev/null @@ -1,13 +0,0 @@ -/// A network transport is responsible for sending GraphQL operations to a server. -public protocol NetworkTransport { - /// Send a GraphQL operation to a server and return a response. - /// - /// - Parameters: - /// - operation: The operation to send. - /// - completionHandler: A closure to call when a request completes. - /// - response: The response received from the server, or `nil` if an error occurred. - /// - error: An error that indicates why a request failed, or `nil` if the request was succesful. - /// - Returns: An object that can be used to cancel an in progress request. - func send(operation: Operation, completionHandler: @escaping (_ response: GraphQLResponse?, _ error: Error?) -> Void) -> Cancellable -} - diff --git a/Example/Pods/Apollo/Sources/Apollo/NormalizedCache.swift b/Example/Pods/Apollo/Sources/Apollo/NormalizedCache.swift deleted file mode 100644 index 180d5e9..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/NormalizedCache.swift +++ /dev/null @@ -1,16 +0,0 @@ -public protocol NormalizedCache { - - /// Loads records corresponding to the given keys. - /// - returns: A promise that fulfills with an array, with each index containing either the - /// record corresponding to the key at that index or nil if not found. - func loadRecords(forKeys keys: [CacheKey]) -> Promise<[Record?]> - - /// Merges a set of records into the cache. - /// - returns: A promise that fulfills with a set of keys corresponding to *fields* that have - /// changed (i.e. QUERY_ROOT.Foo.myField). These are the same type of keys as are - /// returned by RecordSet.merge(records:). - func merge(records: RecordSet) -> Promise> - - // Clears all records - func clear() -> Promise -} diff --git a/Example/Pods/Apollo/Sources/Apollo/Promise.swift b/Example/Pods/Apollo/Sources/Apollo/Promise.swift deleted file mode 100644 index 94f30e8..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/Promise.swift +++ /dev/null @@ -1,260 +0,0 @@ -import Dispatch - -public func whenAll(_ promises: [Promise], notifyOn queue: DispatchQueue = .global()) -> Promise<[Value]> { - return Promise { (fulfill, reject) in - let group = DispatchGroup() - - for promise in promises { - group.enter() - - promise.andThen { value in - group.leave() - }.catch { error in - reject(error) - } - } - - group.notify(queue: queue) { - fulfill(promises.map { $0.result!.value! }) - } - } -} - -public func firstly(_ body: () throws -> Promise) -> Promise { - do { - return try body() - } catch { - return Promise(rejected: error) - } -} - -public final class Promise { - private let lock = Mutex() - private var state: State - - private typealias ResultHandler = (Result) -> Void - private var resultHandlers: [ResultHandler] = [] - - public init(resolved result: Result) { - state = .resolved(result) - } - - public init(fulfilled value: Value) { - state = .resolved(.success(value)) - } - - public init(rejected error: Error) { - state = .resolved(.failure(error)) - } - - public init(_ body: () throws -> Value) { - do { - let value = try body() - state = .resolved(.success(value)) - } catch { - state = .resolved(.failure(error)) - } - } - - public init(_ body: (_ fulfill: @escaping (Value) -> Void, _ reject: @escaping (Error) -> Void) throws -> Void) { - state = .pending - - do { - try body(self.fulfill, self.reject) - } catch { - self.reject(error) - } - } - - public var isPending: Bool { - return lock.withLock { - state.isPending - } - } - - public var result: Result? { - return lock.withLock { - switch state { - case .pending: - return nil - case .resolved(let result): - return result - } - } - } - - public func wait() { - let semaphore = DispatchSemaphore(value: 0) - - whenResolved { result in - semaphore.signal() - } - - semaphore.wait() - } - - public func await() throws -> Value { - let semaphore = DispatchSemaphore(value: 0) - - var result: Result? = nil - - whenResolved { - result = $0 - semaphore.signal() - } - - semaphore.wait() - - return try result!.valueOrError() - } - - @discardableResult public func andThen(_ whenFulfilled: @escaping (Value) throws -> Void) -> Promise { - return Promise { fulfill, reject in - whenResolved { result in - switch result { - case .success(let value): - do { - try whenFulfilled(value) - fulfill(value) - } catch { - reject(error) - } - case .failure(let error): - reject(error) - } - } - } - } - - @discardableResult public func `catch`(_ whenRejected: @escaping (Error) throws -> Void) -> Promise { - return Promise { fulfill, reject in - whenResolved { result in - switch result { - case .success(let value): - fulfill(value) - case .failure(let error): - do { - try whenRejected(error) - reject(error) - } catch { - reject(error) - } - } - } - } - } - - @discardableResult public func finally(_ whenResolved: @escaping () -> Void) -> Promise { - self.whenResolved { _ in whenResolved() } - return self - } - - public func map(_ transform: @escaping (Value) throws -> T) -> Promise { - return Promise { fulfill, reject in - whenResolved { result in - switch result { - case .success(let value): - do { - fulfill(try transform(value)) - } catch { - reject(error) - } - case .failure(let error): - reject(error) - } - } - } - } - - public func flatMap(_ transform: @escaping (Value) throws -> Promise) -> Promise { - return Promise { fulfill, reject in - whenResolved { result in - switch result { - case .success(let value): - do { - try transform(value).andThen(fulfill).catch(reject) - } catch { - reject(error) - } - case .failure(let error): - reject(error) - } - } - } - } - - public func on(queue: DispatchQueue) -> Promise { - return Promise { fulfill, reject in - whenResolved { result in - switch result { - case .success(let value): - queue.async { - fulfill(value) - } - case .failure(let error): - queue.async { - reject(error) - } - } - } - } - } - - private func fulfill(_ value: Value) { - resolve(.success(value)) - } - - private func reject(_ error: Error) { - resolve(.failure(error)) - } - - private func resolve(_ result: Result) { - lock.withLock { - guard state.isPending else { return } - - state = .resolved(result) - - for handler in resultHandlers { - handler(result) - } - - resultHandlers = [] - } - } - - private func whenResolved(_ handler: @escaping ResultHandler) { - lock.withLock { - // If the promise has been resolved and there are no existing result handlers, - // there is no need to append the handler to the array first. - if case .resolved(let result) = state, resultHandlers.isEmpty { - handler(result) - } else { - resultHandlers.append(handler) - } - } - } -} - -private enum State { - case pending - case resolved(Result) - - var isPending: Bool { - if case .pending = self { - return true - } else { - return false - } - } -} - -extension State: CustomStringConvertible { - var description: String { - switch self { - case .pending: - return "Promise(Pending)" - case .resolved(let result): - return "Promise(\(result))" - } - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/Record.swift b/Example/Pods/Apollo/Sources/Apollo/Record.swift deleted file mode 100644 index f739718..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/Record.swift +++ /dev/null @@ -1,52 +0,0 @@ -/// A cache key for a record. -public typealias CacheKey = String - -/// A cache record. -public struct Record { - public let key: CacheKey - - public typealias Value = Any - public typealias Fields = [CacheKey: Value] - public private(set) var fields: Fields - - public init(key: CacheKey, _ fields: Fields = [:]) { - self.key = key - self.fields = fields - } - - public subscript(key: CacheKey) -> Value? { - get { - return fields[key] - } - set { - fields[key] = newValue - } - } -} - -extension Record: CustomStringConvertible { - public var description: String { - return "#\(key) -> \(fields)" - } -} - -/// A reference to a cache record. -public struct Reference { - public let key: CacheKey - - public init(key: CacheKey) { - self.key = key - } -} - -extension Reference: Equatable { - public static func ==(lhs: Reference, rhs: Reference) -> Bool { - return lhs.key == rhs.key - } -} - -extension Reference: CustomStringConvertible { - public var description: String { - return "-> #\(key)" - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/RecordSet.swift b/Example/Pods/Apollo/Sources/Apollo/RecordSet.swift deleted file mode 100644 index 8aff345..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/RecordSet.swift +++ /dev/null @@ -1,81 +0,0 @@ -/// A set of cache records. -public struct RecordSet { - public private(set) var storage: [CacheKey: Record] = [:] - - public init(records: S) where S.Iterator.Element == Record { - insert(contentsOf: records) - } - - public mutating func insert(_ record: Record) { - storage[record.key] = record - } - - public mutating func clear() { - storage.removeAll() - } - - public mutating func insert(contentsOf records: S) where S.Iterator.Element == Record { - for record in records { - insert(record) - } - } - - public subscript(key: CacheKey) -> Record? { - return storage[key] - } - - public var isEmpty: Bool { - return storage.isEmpty - } - - public var keys: [CacheKey] { - return Array(storage.keys) - } - - @discardableResult public mutating func merge(records: RecordSet) -> Set { - var changedKeys: Set = Set() - - for (_, record) in records.storage { - changedKeys.formUnion(merge(record: record)) - } - - return changedKeys - } - - @discardableResult public mutating func merge(record: Record) -> Set { - if var oldRecord = storage.removeValue(forKey: record.key) { - var changedKeys: Set = Set() - - for (key, value) in record.fields { - if let oldValue = oldRecord.fields[key], equals(oldValue, value) { - continue - } - oldRecord[key] = value - changedKeys.insert([record.key, key].joined(separator: ".")) - } - storage[record.key] = oldRecord - return changedKeys - } else { - storage[record.key] = record - return Set(record.fields.keys.map { [record.key, $0].joined(separator: ".") }) - } - } -} - -extension RecordSet: ExpressibleByDictionaryLiteral { - public init(dictionaryLiteral elements: (CacheKey, Record.Fields)...) { - self.init(records: elements.map { Record(key: $0.0, $0.1) }) - } -} - -extension RecordSet: CustomStringConvertible { - public var description: String { - return String(describing: Array(storage.values)) - } -} - -extension RecordSet: CustomPlaygroundDisplayConvertible { - public var playgroundDescription: Any { - return description - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/Result.swift b/Example/Pods/Apollo/Sources/Apollo/Result.swift deleted file mode 100644 index 5fe54c4..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/Result.swift +++ /dev/null @@ -1,44 +0,0 @@ -public enum Result { - case success(Value) - case failure(Error) -} - -extension Result: CustomStringConvertible { - public var description: String { - switch self { - case .success(let value): - return "Success(\(value))" - case .failure(let error): - return "Error(\(error))" - } - } -} - -extension Result { - var value: Value? { - switch self { - case .success(let value): - return value - case .failure(_): - return nil - } - } - - var error: Error? { - switch self { - case .success(_): - return nil - case .failure(let error): - return error - } - } - - func valueOrError() throws -> Value { - switch self { - case .success(let value): - return value - case .failure(let error): - throw error - } - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/ResultOrPromise.swift b/Example/Pods/Apollo/Sources/Apollo/ResultOrPromise.swift deleted file mode 100644 index 2783958..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/ResultOrPromise.swift +++ /dev/null @@ -1,152 +0,0 @@ -import Dispatch - -public func whenAll(_ resultsOrPromises: [ResultOrPromise], notifyOn queue: DispatchQueue = .global()) -> ResultOrPromise<[Value]> { - onlyResults: do { - var results: [Result] = [] - for resultOrPromise in resultsOrPromises { - guard case .result(let result) = resultOrPromise else { - break onlyResults - } - results.append(result) - } - do { - let values = try results.map { try $0.valueOrError() } - return .result(.success(values)) - } catch { - return .result(.failure(error)) - } - } - - return .promise(Promise { (fulfill, reject) in - let group = DispatchGroup() - - for resultOrPromise in resultsOrPromises { - group.enter() - - resultOrPromise.andThen { value in - group.leave() - }.catch { error in - reject(error) - } - } - - group.notify(queue: queue) { - fulfill(resultsOrPromises.map { $0.result!.value! }) - } - }) -} - -public enum ResultOrPromise { - case result(Result) - case promise(Promise) - - public init(_ body: () throws -> Value) { - do { - let value = try body() - self = .result(.success(value)) - } catch { - self = .result(.failure(error)) - } - } - - public var result: Result? { - switch self { - case .result(let result): - return result - case .promise(let promise): - return promise.result - } - } - - public func await() throws -> Value { - switch self { - case .result(let result): - return try result.valueOrError() - case .promise(let promise): - return try promise.await() - } - } - - func asPromise() -> Promise { - switch self { - case .result(let result): - return Promise(resolved: result) - case .promise(let promise): - return promise - } - } - - @discardableResult public func andThen(_ whenFulfilled: @escaping (Value) throws -> Void) -> ResultOrPromise { - switch self { - case .result(.success(let value)): - do { - try whenFulfilled(value) - return .result(.success(value)) - } catch { - return .result(.failure(error)) - } - case .result(.failure(let error)): - return .result(.failure(error)) - case .promise(let promise): - return .promise(promise.andThen(whenFulfilled)) - } - } - - @discardableResult public func `catch`(_ whenRejected: @escaping (Error) throws -> Void) -> ResultOrPromise { - switch self { - case .result(.success(let value)): - return .result(.success(value)) - case .result(.failure(let error)): - do { - try whenRejected(error) - return .result(.failure(error)) - } catch { - return .result(.failure(error)) - } - case .promise(let promise): - return .promise(promise.`catch`(whenRejected)) - } - } - - public func map(_ transform: @escaping (Value) throws -> T) -> ResultOrPromise { - switch self { - case .result(.success(let value)): - do { - return .result(.success(try transform(value))) - } catch { - return .result(.failure(error)) - } - case .result(.failure(let error)): - return .result(.failure(error)) - case .promise(let promise): - return .promise(promise.map { value in - return try transform(value) - }) - } - } - - public func flatMap(_ transform: @escaping (Value) throws -> ResultOrPromise) -> ResultOrPromise { - switch self { - case .result(.success(let value)): - do { - return try transform(value) - } catch { - return .result(.failure(error)) - } - case .result(.failure(let error)): - return .result(.failure(error)) - case .promise(let promise): - return .promise(promise.flatMap { value in - return try transform(value).asPromise() - }) - } - } - - public func on(queue: DispatchQueue) -> ResultOrPromise { - if case .promise(let promise) = self { - return .promise(promise.on(queue: queue)) - } else { - return self - } - } -} diff --git a/Example/Pods/Apollo/Sources/Apollo/Utilities.swift b/Example/Pods/Apollo/Sources/Apollo/Utilities.swift deleted file mode 100644 index 4778c3e..0000000 --- a/Example/Pods/Apollo/Sources/Apollo/Utilities.swift +++ /dev/null @@ -1,23 +0,0 @@ -import Foundation - -extension HTTPURLResponse { - var isSuccessful: Bool { - return (200..<300).contains(statusCode) - } - - var statusCodeDescription: String { - return HTTPURLResponse.localizedString(forStatusCode: statusCode) - } - - var textEncoding: String.Encoding? { - guard let encodingName = textEncodingName else { return nil } - - return String.Encoding(rawValue: CFStringConvertEncodingToNSStringEncoding(CFStringConvertIANACharSetNameToEncoding(encodingName as CFString))) - } -} - -public protocol Matchable { - associatedtype Base - static func ~=(pattern: Self, value: Base) -> Bool -} - diff --git a/Example/Pods/Apollo/scripts/check-and-run-apollo-cli.sh b/Example/Pods/Apollo/scripts/check-and-run-apollo-cli.sh deleted file mode 100755 index 1713937..0000000 --- a/Example/Pods/Apollo/scripts/check-and-run-apollo-cli.sh +++ /dev/null @@ -1,97 +0,0 @@ -# Only major and minor version should be specified here -REQUIRED_APOLLO_CLI_VERSION=1.9 -# Only major version should be specified here -REQUIRED_NODE_VERSION=8 - -# Using npx to execute 'apollo' looks for a local install in node_modules before checking $PATH (for a global install) -APOLLO_CLI="npx --no-install apollo" - -# Part of this code has been adapted from -# https://github.com/facebook/react-native/blob/master/scripts/react-native-xcode.sh - -# This script is supposed to be invoked as part of the Xcode build process -# and relies on environment variables set by Xcode - -if [[ -z "$CONFIGURATION" ]]; then - echo "$0 must be invoked as part of an Xcode script phase" - exit 1 -fi - -# Define NVM_DIR and source the nvm.sh setup script -[[ -z "$NVM_DIR" ]] && export NVM_DIR="$HOME/.nvm" - -if [[ -s "$HOME/.nvm/nvm.sh" ]]; then - . "$HOME/.nvm/nvm.sh" -elif [[ -x "$(command -v brew)" && -s "$(brew --prefix nvm)/nvm.sh" ]]; then - . "$(brew --prefix nvm)/nvm.sh" -fi - -# Set up the nodenv node version manager if present -if [[ -x "$HOME/.nodenv/bin/nodenv" ]]; then - eval "$("$HOME/.nodenv/bin/nodenv" init -)" -fi - -parse_version() { - if [[ $1 =~ ([0-9\.]+) ]]; then - echo ${BASH_REMATCH[1]} - fi -} - -get_installed_node_version() { - version=$(node -v) - if [[ $? -eq 0 ]]; then - echo "$version" - fi -} - -is_mimimum_major_version() { - [[ "$(parse_version $1 | cut -d. -f1)" -ge $2 ]] -} - -# Check the installed version of Node, if available -INSTALLED_NODE_VERSION="$(get_installed_node_version)" -if [[ -z "$INSTALLED_NODE_VERSION" ]]; then - echo "error: Apollo CLI requires Node $REQUIRED_NODE_VERSION or higher to be installed." - exit 1 -elif ! is_mimimum_major_version "$INSTALLED_NODE_VERSION" $REQUIRED_NODE_VERSION; then - echo "error: Apollo CLI requires Node $REQUIRED_NODE_VERSION or higher, \ -but $INSTALLED_NODE_VERSION seems to be installed." - exit 1 -fi - -get_installed_cli_version() { - version=$($APOLLO_CLI -v) - if [[ $? -eq 0 ]]; then - echo "$version" - fi -} - -# We consider versions to be compatible if the major and minor versions match -are_versions_compatible() { - [[ "$(parse_version $1 | cut -d. -f1-2)" == $2 ]] -} - -install_apollo_cli() { - echo "warning: Installing apollo@$REQUIRED_APOLLO_CLI_VERSION in your project directory to avoid version conflicts..." - # Exit immediately if the command fails - set -e - npm install --prefix "$PROJECT_DIR" --no-package-lock apollo@$REQUIRED_APOLLO_CLI_VERSION - set +e -} - -# Check the installed version of the Apollo CLI, if available -INSTALLED_APOLLO_CLI_VERSION="$(get_installed_cli_version)" - -if [[ -z "$INSTALLED_APOLLO_CLI_VERSION" ]]; then - echo "warning: Apollo iOS requires version $REQUIRED_APOLLO_CLI_VERSION.x of the Apollo CLI to be installed \ -either globally or in a local node_modules directory." - install_apollo_cli -elif ! are_versions_compatible "$INSTALLED_APOLLO_CLI_VERSION" $REQUIRED_APOLLO_CLI_VERSION; then - echo "warning: The version of Apollo.framework in your project requires Apollo CLI $REQUIRED_APOLLO_CLI_VERSION.x, \ -but $INSTALLED_APOLLO_CLI_VERSION seems to be installed." - install_apollo_cli -fi - -# Print commands before executing them (useful for troubleshooting) -set -x -$APOLLO_CLI "$@" diff --git a/Example/Pods/Apollo/scripts/check-and-run-apollo-codegen.sh b/Example/Pods/Apollo/scripts/check-and-run-apollo-codegen.sh deleted file mode 100755 index ca91282..0000000 --- a/Example/Pods/Apollo/scripts/check-and-run-apollo-codegen.sh +++ /dev/null @@ -1,2 +0,0 @@ -echo "error: Please update your code generation build phase script to use the new Apollo CLI, see https://www.apollographql.com/docs/ios/installation.html#adding-build-step" -exit 1 diff --git a/Example/Pods/Local Podspecs/RxApolloClient.podspec.json b/Example/Pods/Local Podspecs/RxApolloClient.podspec.json deleted file mode 100644 index 61f9980..0000000 --- a/Example/Pods/Local Podspecs/RxApolloClient.podspec.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "name": "RxApolloClient", - "version": "0.1.0", - "summary": "Rx wrapper of Apollo Client", - "description": "RxSwift extensions for Apollo Client", - "homepage": "https://github.com/OhKanghoon/RxApolloClient", - "license": { - "type": "MIT", - "file": "LICENSE" - }, - "authors": { - "OhKanghoon": "ggaa96@naver.com" - }, - "source": { - "git": "https://github.com/OhKanghoon/RxApolloClient.git", - "tag": "0.1.0" - }, - "cocoapods_version": ">= 1.4.0", - "platforms": { - "ios": "9.0" - }, - "source_files": "RxApolloClient/Classes/**/*", - "dependencies": { - "RxSwift": [ - "~> 4.0" - ], - "Apollo": [ - "~> 0.9.4" - ] - } -} diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock deleted file mode 100644 index 954beb2..0000000 --- a/Example/Pods/Manifest.lock +++ /dev/null @@ -1,44 +0,0 @@ -PODS: - - Apollo (0.9.4): - - Apollo/Core (= 0.9.4) - - Apollo/Core (0.9.4) - - RxApolloClient (0.1.0): - - Apollo (~> 0.9.4) - - RxSwift (~> 4.0) - - RxAtomic (4.4.0) - - RxCocoa (4.4.0): - - RxSwift (~> 4.0) - - RxOptional (3.6.2): - - RxCocoa (~> 4.0) - - RxSwift (~> 4.0) - - RxSwift (4.4.0): - - RxAtomic (~> 4.4) - -DEPENDENCIES: - - RxApolloClient (from `../`) - - RxCocoa (~> 4.4.0) - - RxOptional (~> 3.6.2) - -SPEC REPOS: - https://github.com/cocoapods/specs.git: - - Apollo - - RxAtomic - - RxCocoa - - RxOptional - - RxSwift - -EXTERNAL SOURCES: - RxApolloClient: - :path: "../" - -SPEC CHECKSUMS: - Apollo: 450856adbdebcdf28c3c671f81732ac3f9944065 - RxApolloClient: 3d1d720f79e9ff67e70cb422822676eba5ccdd5d - RxAtomic: eacf60db868c96bfd63320e28619fe29c179656f - RxCocoa: df63ebf7b9a70d6b4eeea407ed5dd4efc8979749 - RxOptional: 80426a0ddbd092573e4c482d8cc13302078c4d5e - RxSwift: 5976ecd04fc2fefd648827c23de5e11157faa973 - -PODFILE CHECKSUM: e254b1f5e2e816d0ef517467ca5360c13646d7d4 - -COCOAPODS: 1.5.3 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj deleted file mode 100644 index 6b8be72..0000000 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ /dev/null @@ -1,3086 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 00DF9EAB9107821C9F752C680D033811 /* ToArray.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96A2F62395889715DCB223ACD20D3931 /* ToArray.swift */; }; - 01C7B67A784113F3B5BFA3F0018798C8 /* Observable+Occupiable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0685E07249884EB68066739CB7DB414F /* Observable+Occupiable.swift */; }; - 020664537ED18C4E71E85F6A55F14A5D /* UIStepper+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65EC4020FD8C9074D59DAA1A1C60A0F4 /* UIStepper+Rx.swift */; }; - 0362BE82E8D691BF146943B5AD88D297 /* ControlTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B8A4D25A5380C9FE808CFCFAF600797 /* ControlTarget.swift */; }; - 03FA1908385D7B4A027171BF8AD9520F /* Filter.swift in Sources */ = {isa = PBXBuildFile; fileRef = C93E2072769ACE3588F539697B6E2754 /* Filter.swift */; }; - 04092410C8AD35317CACC904D7506693 /* Catch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9AB73FE1A5634A3804A1B09CF327B1B0 /* Catch.swift */; }; - 04558A854F94CE3D97BEE4240E5D858C /* RxWebViewDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73DFA02E15B1D31610B7584443A058AB /* RxWebViewDelegateProxy.swift */; }; - 0579D020C2178D938CE0C504F13D4019 /* Concat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9AE230A3342D22B9CA2D0F5D86A44736 /* Concat.swift */; }; - 065D2DB682562AB2178F274DD92343C1 /* OperationQueueScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 087887CFE0BCF8F3798C5B3C0CCC292E /* OperationQueueScheduler.swift */; }; - 06E7953E52D11C5C9B583453E8169220 /* Producer.swift in Sources */ = {isa = PBXBuildFile; fileRef = C2D875B27F37069203C623BF7E5E0393 /* Producer.swift */; }; - 08A1D6502A1120D1C0ED07295C5D9132 /* TailRecursiveSink.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6557E4E9494A7BF71C186FD2F4FADBC0 /* TailRecursiveSink.swift */; }; - 092026B1AF64AC6917453188AED41321 /* ScheduledDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = C78458680A2A3BAAAB4CA3007B24CD79 /* ScheduledDisposable.swift */; }; - 0BAFC49BDA5236E546E04D241814DA5C /* UIRefreshControl+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5604D7DC35C1F6413320B2C959E4E03 /* UIRefreshControl+Rx.swift */; }; - 0D3725C76696848EF7E82120E44331D8 /* NSObject+Rx+RawRepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A11B53E2FF092010D6F359D4D3A23CD /* NSObject+Rx+RawRepresentable.swift */; }; - 0DCE228D66ECA279212465E7511E9431 /* Collections.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1232B7DD0FC0ABE00B4B9DB415E33945 /* Collections.swift */; }; - 1018D23074710F0214E6F48F72081D5B /* Dematerialize.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3275AA7EB19CA9BA57645F1AEA59342A /* Dematerialize.swift */; }; - 102A91FAAADC6F29DA40FC6C99E59693 /* NetworkTransport.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB7CB3BF86C5BBD73EBB58BBCD651E84 /* NetworkTransport.swift */; }; - 10ECC065B46904D479B7F612CE0F74D5 /* RxCollectionViewDataSourceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E1B5112BE1DE22580428F8C587BAB3F /* RxCollectionViewDataSourceType.swift */; }; - 12E9DECA6C11B2826C916363307EA00C /* ControlProperty.swift in Sources */ = {isa = PBXBuildFile; fileRef = F2A48E669338062C05727C3B3C5D813B /* ControlProperty.swift */; }; - 130730AEBCD370E221D5109D70A542ED /* AnyObserver.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA94311DD645EFB9F193BA43072AB154 /* AnyObserver.swift */; }; - 13FF2F2D68DDE9BCB77DF40C161BA52D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2E53363DAAFE44AD9B2DA7DCEE055AC0 /* Foundation.framework */; }; - 150015A3E6A890D834DD3CEB5DC6E25D /* ApolloClient+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = B567F960714E9C64BFD41E6BBE6F84E5 /* ApolloClient+Rx.swift */; }; - 1628C11E009837BDBD287B515981C696 /* RecursiveLock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90D8BB0D550C40691182477DE284106E /* RecursiveLock.swift */; }; - 16FED6BBDA9994C5EF7DEF1FEAB64DB6 /* RxOptional-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 99D9F15A622B2EA35BF35E0FBC3B65ED /* RxOptional-dummy.m */; }; - 17AA985FDEE1C5CA7FDFD531A0750E2B /* GraphQLSelectionSetMapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = F32046DE83C918B86F871ECF8ADF95C3 /* GraphQLSelectionSetMapper.swift */; }; - 182AEDFC4BD2EEB610879F6186721EA0 /* Sequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8849FC529FE6DB996CFCA6D3A93BA7A3 /* Sequence.swift */; }; - 1B2AC3FEBB2421EF31C30FD48CF5AF9D /* HTTPNetworkTransport.swift in Sources */ = {isa = PBXBuildFile; fileRef = DF229A09B3A9EEDF468A042AD1021750 /* HTTPNetworkTransport.swift */; }; - 1B4BA5EB745DAE064A4ED02B91B69A02 /* JSONSerializationFormat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1DCBB58D0EA26002AEB7861850865A80 /* JSONSerializationFormat.swift */; }; - 1BB975A6432EE6A34442E511E396313E /* PublishRelay+Signal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3BDD8A01CE1FA4F50F5A3B2824ED7955 /* PublishRelay+Signal.swift */; }; - 1C32181A0A7B7FB7EE88DF71CBE47E8C /* Platform.Darwin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 302ADEDC5A088D73DAB1519310FC3F4B /* Platform.Darwin.swift */; }; - 1D30722DD21ED81BE6BC43B60DA71930 /* PrimitiveSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = 72035B46EF4C8F3986202B19F6EE68C3 /* PrimitiveSequence.swift */; }; - 1EF29310CB16BAA89F2BD782A9DDA42B /* SharedSequence+Occupiable.swift in Sources */ = {isa = PBXBuildFile; fileRef = A0476DDDD5F88A517A6B72C6009716EB /* SharedSequence+Occupiable.swift */; }; - 1F2EC5F890EBEB03E4816F2B1A060A2E /* NSTextView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CF50B930F927EF726B830CD9E5DE383 /* NSTextView+Rx.swift */; }; - 1F811B852666A870E07297075B8AC124 /* CompositeDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 329F23BF310CA51962370A664C721950 /* CompositeDisposable.swift */; }; - 1FCD0308B1C72A6B53A1EC975620EDE8 /* Signal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 28ED1D0F620697D350DF8B906354AD94 /* Signal.swift */; }; - 2015497EAB96615527E13752D95CB57C /* Apollo-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 04C97D1CE72DC7C8E8A1255DD1518FE7 /* Apollo-dummy.m */; }; - 201B42229228A4C0EB986A78A638E5E5 /* _RX.m in Sources */ = {isa = PBXBuildFile; fileRef = AA675918C09B6125CE50CC2D9DCBCE7B /* _RX.m */; }; - 20263783BC313615A55C4C70B42C90D8 /* GraphQLSelectionSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 599F41751BB02CB9B9F367F50F952BBA /* GraphQLSelectionSet.swift */; }; - 20C728E76601160FA636A434B8FA79DE /* UISearchBar+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = EE5A79A217CF34A3F211A12B10168D34 /* UISearchBar+Rx.swift */; }; - 219472DCC35F29108594784D78706E52 /* AsyncSubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5A9C61540923415D8CCEC219773BE8 /* AsyncSubject.swift */; }; - 223762E7CBD19D3FD31DD4053894B044 /* RxAtomic.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DDA4E8E74C50501892452BE48AEE338 /* RxAtomic.framework */; }; - 2261B6F85B6788D4A060F97318234DBE /* ControlProperty+Driver.swift in Sources */ = {isa = PBXBuildFile; fileRef = F5B65F0960DCD65CE4B6BC4C5FDCF2EE /* ControlProperty+Driver.swift */; }; - 2363B9FCAB388ABF3DB8A37F031B8C0A /* RxTextViewDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77A5A3B919F511F7B9FDA2E6797F0043 /* RxTextViewDelegateProxy.swift */; }; - 23FF66734E1B2DAEB6F79F816B71EB36 /* RxSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 37599E14563D32F38D9BE84B6688CAC8 /* RxSwift.framework */; }; - 2461874706FC921D1B59FCBFFE523833 /* Apollo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 74BE12607655F7401F634BD1D02936DE /* Apollo.framework */; }; - 2577F73B5FDC1DD881925CBE7545F560 /* Pods-RxApolloClient_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B6D0654706E29F82628B2AFF00CD720 /* Pods-RxApolloClient_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 25BE0A7CC702660FE29DDE4BEA12E1A7 /* Create.swift in Sources */ = {isa = PBXBuildFile; fileRef = EE06EA18106B77D6F06CC30ACB1B5182 /* Create.swift */; }; - 26E6C447059233D4227EA9299C2C66C8 /* AddRef.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53479D70664CD19CA9E068EA416E8F24 /* AddRef.swift */; }; - 2800D132DDCF99DDF58A9012F1318F8C /* UIButton+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9FBF37353303B6700B5DF17184EF5296 /* UIButton+Rx.swift */; }; - 28138726562AC1E65F0F0B4024BA2F82 /* Platform.Linux.swift in Sources */ = {isa = PBXBuildFile; fileRef = 071178FB3EA8CACC458C3100D8C62FCD /* Platform.Linux.swift */; }; - 283BE0115229DAF06019E5D64942183D /* Sink.swift in Sources */ = {isa = PBXBuildFile; fileRef = 30EE4FAB9E7F0C1D75C589DC2375C23A /* Sink.swift */; }; - 2A159C91A2A768402F5732513229D5BE /* Bag+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31212B8542A6A55BFC35B1AB8A5D66C9 /* Bag+Rx.swift */; }; - 2BC57AE4772AA61500FB7FE16DF95087 /* RxCollectionViewReactiveArrayDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7CEB5DE923D983C70445CFC1EB73EFD8 /* RxCollectionViewReactiveArrayDataSource.swift */; }; - 2C0A846477116540A373E199322C7039 /* DisposeBag.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46DF99EDF5EF44ECE7246C3FE3BA1085 /* DisposeBag.swift */; }; - 2C1CC571D0145A523A21476061293E2C /* ControlEvent+Signal.swift in Sources */ = {isa = PBXBuildFile; fileRef = D3251C9C8045682C061A71986946CB4C /* ControlEvent+Signal.swift */; }; - 2C7442A10E4DAEF0F99A047E281C34E4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2E53363DAAFE44AD9B2DA7DCEE055AC0 /* Foundation.framework */; }; - 2D301D9DDC5D4706EB96F2DB89493BC3 /* First.swift in Sources */ = {isa = PBXBuildFile; fileRef = 48D3CA9FA7D96A9B1A3054E57B6EB0F9 /* First.swift */; }; - 2D95E31F4419719688D18DEDD68E3232 /* ConcurrentDispatchQueueScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E3D032B25F2FFC18E9C3CF03916114E /* ConcurrentDispatchQueueScheduler.swift */; }; - 30D60C968746E6197CE08C1C0B5BBCBC /* RxCocoa-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3FD35E4DEFFF743216D19AA409D61D1C /* RxCocoa-dummy.m */; }; - 30F691F253927A030206F80149F23525 /* Record.swift in Sources */ = {isa = PBXBuildFile; fileRef = 06AA825F62AD23DD15DA004BC2883A2C /* Record.swift */; }; - 314C201268E41E76D440E7F3BD99D3FE /* VirtualTimeScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC84B1B28EC676DA76DC9810EADA5648 /* VirtualTimeScheduler.swift */; }; - 31C7BA2BD70246A8308AC0D58DB04DBE /* KeyPathBinder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0894BDC2C327F2BF914FF21050D64CE0 /* KeyPathBinder.swift */; }; - 31CE93AFDA8C8A7EDE952CDEE8938343 /* RefCountDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 087001F581E6130FAAB4349E8434C235 /* RefCountDisposable.swift */; }; - 320F87A5758584A4AA690ADED47D654A /* RxAtomic.h in Headers */ = {isa = PBXBuildFile; fileRef = 3715C1A3EF88BB4CCC039BE3615E7925 /* RxAtomic.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3245246FA1D660C7016C356AFBB8AFE5 /* UIActivityIndicatorView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7F203D09AD9595C368CCF0A0062759E2 /* UIActivityIndicatorView+Rx.swift */; }; - 325F3AD6578F206600EE13117179B8FE /* _RXKVOObserver.h in Headers */ = {isa = PBXBuildFile; fileRef = 31FACB1D692B26A1FFDAE4A6ADA01FFF /* _RXKVOObserver.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 33688E041A95BBCB885131390BE492E9 /* RxScrollViewDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 512831A8D9EA52DD475BC4303E96242C /* RxScrollViewDelegateProxy.swift */; }; - 33DCB8CFE4506B7CDBE713ECADD2CC12 /* RxPickerViewAdapter.swift in Sources */ = {isa = PBXBuildFile; fileRef = BBC5312B10850BFC0DB5157D67A58818 /* RxPickerViewAdapter.swift */; }; - 3577CE6436441C390F96B62FABC36061 /* DeprecationWarner.swift in Sources */ = {isa = PBXBuildFile; fileRef = 857A37DCD449586E77F1E5D04EF09708 /* DeprecationWarner.swift */; }; - 358F4B46A1B6EF4A2B5D026D85D8C4F6 /* NSImageView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = DF2E5D29B98A752607689521275D3911 /* NSImageView+Rx.swift */; }; - 358FBE371AF4EBDFE80498B1063C53C0 /* AtomicInt.swift in Sources */ = {isa = PBXBuildFile; fileRef = C835B097E5E95BE13AD2FE51A741F21D /* AtomicInt.swift */; }; - 35A5B65DE5F07F19BEFE8C50FE7B1780 /* RxApolloClient-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7118719593C70B61C173EF9D0573DE9F /* RxApolloClient-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3614C2203481AC82E1105F87D14AE806 /* RxSearchBarDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = C437E0E2EE08D1AEE1EA95726360C475 /* RxSearchBarDelegateProxy.swift */; }; - 373FD1B75C0D8C70F281DEF6F80E85ED /* NSLayoutConstraint+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F7EC3F6AD23E5B42B9DFF3F8A6533DC /* NSLayoutConstraint+Rx.swift */; }; - 37655CE1CBFEE3EB5E6C82E3C444F35A /* DelegateProxyType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 810831A4F091DC7CE90AE41BEDE27254 /* DelegateProxyType.swift */; }; - 377392F5D5762707928890BC6F7B6E3F /* UIPickerView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2190947D6C43983D8EA5507082491C34 /* UIPickerView+Rx.swift */; }; - 383EE5646175D04CDAAA4900784137BB /* TakeWhile.swift in Sources */ = {isa = PBXBuildFile; fileRef = 435B6571EC0C499DA14BCFDAD5B7CB01 /* TakeWhile.swift */; }; - 3893ABE90CABCED7A4565BEA2208C982 /* SwiftSupport.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C1B8136FCCEEF9858DA39F7D2720C77 /* SwiftSupport.swift */; }; - 3AE9F374F681D93FDE72727AEBBC7900 /* RxApolloClient-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 06E673A88D8422C13947AE8F1CFA47EA /* RxApolloClient-dummy.m */; }; - 3B52537444524E676955A5C22C52E872 /* RxCocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4CC972E759D3C9F383EB386036841FF1 /* RxCocoa.framework */; }; - 3CBD2A43B9E5064348B49EB8D4251A31 /* CurrentThreadScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C957A71F3F2CFBD9A6C01830B546524 /* CurrentThreadScheduler.swift */; }; - 3D3D91F59D8E75AECBC9CF50E9364EE4 /* RxCocoaObjCRuntimeError+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BFBBF065A7CD5E487C106E2DB59A4D7 /* RxCocoaObjCRuntimeError+Extensions.swift */; }; - 3E3A8A54E434D2D12E26DCF2787324D0 /* PublishRelay.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C96EB0C014693747E95498F5064F02F /* PublishRelay.swift */; }; - 3EFADF19C5B062ACA4BD6BF46C9390EB /* ObservableConvertibleType+Signal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24F4C29196350FE410D43688958BD801 /* ObservableConvertibleType+Signal.swift */; }; - 3EFE6AAEA67A8DFC27526F7CE3BA496F /* InfiniteSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2E34CD4844F7977D1C1FD0027AB1B7BD /* InfiniteSequence.swift */; }; - 3FAEB01C003F8B9F04441762D7237A24 /* UIAlertAction+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95FAE17BBBEA60E345EA70953BD564E8 /* UIAlertAction+Rx.swift */; }; - 40469EEBCF4EDDE00C39FA3E1AD68C6C /* InfiniteSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8007867B84728C6D1852D34E9C46E63F /* InfiniteSequence.swift */; }; - 4138E58F46AC24243AA3D72AE0916E95 /* GroupedObservable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BFC17927348ACCE50A295D4575B7AFE /* GroupedObservable.swift */; }; - 414F5EA74D0F2800C5E188FA11E2349D /* Range.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5282B74478579BF3A123F031E30F9569 /* Range.swift */; }; - 44DF33E4830A0EA61B086D6DF11E76B3 /* CombineLatest+Collection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8150BE4084DB963FB6F4647545496FD0 /* CombineLatest+Collection.swift */; }; - 46854E06885B8DB5F8F86F2D809BE6A5 /* StartWith.swift in Sources */ = {isa = PBXBuildFile; fileRef = 16589C871FA8A61C4F3FAA739181B0FA /* StartWith.swift */; }; - 4717BF6E9FE95E0F96F61B084CB71CC5 /* UISwitch+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E91FDD22CAE673BDE08E8479FD3B025 /* UISwitch+Rx.swift */; }; - 484006FEF3E6ED9F0D8DCF688A0AD0ED /* HistoricalScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6C25A0E8D59237634803A6E41084698 /* HistoricalScheduler.swift */; }; - 4844BDA62B376ACA8AFCD83D36B9595F /* RxOptional-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 81779B1EFA6908EC5FE9A21F1A8AAD02 /* RxOptional-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 485C6E1511007DF5EE6A388898B06E8B /* RxTableViewDataSourcePrefetchingProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC119975599CE3DF272C6A6DD33EECE2 /* RxTableViewDataSourcePrefetchingProxy.swift */; }; - 48939AB8C27473DA50D5B441E306D7FD /* RxCocoaRuntime.h in Headers */ = {isa = PBXBuildFile; fileRef = 1525451BD0BCBAA119537F5B8463FE1E /* RxCocoaRuntime.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 48C11D24F9ED73009A1D172460FC32FA /* UITabBarController+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0044E32B7E855DE5BA63AD477F0372FE /* UITabBarController+Rx.swift */; }; - 48C12D3C5CA4D8B6FE2218284817F2A9 /* NotificationCenter+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 557431E38F54F3B3CD57683D1C1744D2 /* NotificationCenter+Rx.swift */; }; - 4923CF7FCCAE05381FC4E6DDCA6AF292 /* Do.swift in Sources */ = {isa = PBXBuildFile; fileRef = 428DDA4164461B5DC3CF4D81BF6572FC /* Do.swift */; }; - 4BDAC201039A616B6E84879399F2433D /* Completable+AndThen.swift in Sources */ = {isa = PBXBuildFile; fileRef = C63F6B4ED7DD09D8C0FF8540D6589E80 /* Completable+AndThen.swift */; }; - 4BFD76E55EED4F5C4A23381BCF7AD21B /* TextInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6246A57FDDFFE2DCD24AAA43C97D8FC7 /* TextInput.swift */; }; - 4D7D8F9122B35219D33B6C29F9EB5F66 /* Timeout.swift in Sources */ = {isa = PBXBuildFile; fileRef = FE6CF3F11CA4A9F2594C845967B3D1B5 /* Timeout.swift */; }; - 4DEC30DF27FA947E73CECA04781B6FE1 /* Maybe.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DF62539640385839583B3C52223A771 /* Maybe.swift */; }; - 4E22915EBC767A1D495EC19352BFBB85 /* Zip+Collection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95E704AADC1A42FE7E45F59D6BE9BA54 /* Zip+Collection.swift */; }; - 4E7A237EB71396DA7B710721F7990620 /* RxAtomic-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 13D4C6B38010EDA882EC871920F0154C /* RxAtomic-dummy.m */; }; - 4F8426858245AC5F020E9D1AB5068CB5 /* SingleAsync.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38DBDB07E93FF9BB31DF9A3A59490916 /* SingleAsync.swift */; }; - 4F8E9C2531A3D7492A09759680491869 /* TakeUntil.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38CC33F5C93126331BE3FE8E9EA56EF7 /* TakeUntil.swift */; }; - 5134989316AC7A02C47286AA9BF5A6C2 /* MainScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 679356997C90E02DBCD60D480DA25E0D /* MainScheduler.swift */; }; - 51F0E67BF86602FA5D5768B18F442BA9 /* UINavigationItem+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 83B577F27C1E4EB8F05F4014C8E6A07B /* UINavigationItem+Rx.swift */; }; - 52C9A191B1C712A20026958B4137A72F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2E53363DAAFE44AD9B2DA7DCEE055AC0 /* Foundation.framework */; }; - 532225BD3ABD8A8F3F46273E547A243C /* UIScrollView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 91F84259F33839C7EB0604156DF7EB6C /* UIScrollView+Rx.swift */; }; - 536D9B16CA036FB0AEB3B1CB8AE0E52E /* Cancelable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7756249912B3D145EC6F0F62A57B9CC8 /* Cancelable.swift */; }; - 538182AC127158A28667CC0696AEF612 /* UIControl+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = B73EC43637142A341B26359E142E2568 /* UIControl+Rx.swift */; }; - 5382E42C1BD096B496C1D5C3749152E1 /* RxCollectionViewDataSourcePrefetchingProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 092EB597500DAAFD1DBF9F7F9D25D9D7 /* RxCollectionViewDataSourcePrefetchingProxy.swift */; }; - 539A8DE33DAD298F291DBA6CDB8F3FF3 /* Amb.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4A80D6B06852F1DE83C72A44D0C2831 /* Amb.swift */; }; - 539E6EEADB6297447B816441A77AFE84 /* SwitchIfEmpty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4326CA151DA3B1EB5501EA4447194BDE /* SwitchIfEmpty.swift */; }; - 53EAC48AD09C4C9F2F3C61F0D3D2C56E /* Platform.Darwin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8159664995FEC4A5C033C22C83D3C943 /* Platform.Darwin.swift */; }; - 5518314ACDE877C5B4279297A6DB87DC /* DataLoader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8FF4CC97DAD9A3B773869E85C4EE03F9 /* DataLoader.swift */; }; - 5548ACDF60443F9ADCEAED555ACD832C /* Platform.Linux.swift in Sources */ = {isa = PBXBuildFile; fileRef = 456FE9F87E1FAA7DE45D29439462238A /* Platform.Linux.swift */; }; - 563E965B6949E4AAC229E9D48B46D489 /* Repeat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9EE8596428FB81033A424FF21B43BA38 /* Repeat.swift */; }; - 57CE96F18127DECE004EE0E540C9564C /* GraphQLExecutor.swift in Sources */ = {isa = PBXBuildFile; fileRef = C20479F02C5C8AF0B00397C9CF35627E /* GraphQLExecutor.swift */; }; - 5942A9A2695D26A2AE44031D089D7AC0 /* InMemoryNormalizedCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = B20D96DA2F9ED4448E4E9218C777DA6E /* InMemoryNormalizedCache.swift */; }; - 599CE8244495BF32F68E61B7BBD7E40A /* SchedulerServices+Emulation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E1DD64E56017757B9EA20EAA3F5472B /* SchedulerServices+Emulation.swift */; }; - 59AD3A0CE9178916FAA44BE694165662 /* Sample.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7284A8747936837B3F9FD7081C85C355 /* Sample.swift */; }; - 5A6A1E4E2AAC90039A2DB166320BB13D /* RxTabBarControllerDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1D5B1C0E07A76829C3D0CCCE3BE773C0 /* RxTabBarControllerDelegateProxy.swift */; }; - 5BAD06E442B47DABE5F502CAF8DD5E97 /* KVORepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = DAD3AD905F6CD960E6AD9B32B5590F99 /* KVORepresentable.swift */; }; - 5BB48D63F47E2028BECF579AC954EFA6 /* UIView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEB8FC33C9981316B3B7EE8AD4276CC5 /* UIView+Rx.swift */; }; - 5C2D223E872FC5CF016117FEE6690C0D /* BehaviorRelay.swift in Sources */ = {isa = PBXBuildFile; fileRef = 49ABD9B891C1ADD1E152FF4AE05C1F67 /* BehaviorRelay.swift */; }; - 5CD16E92AF26C7E755BF8D0F044509D3 /* SubjectType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 892969BBEB976B28F69D08FDF9E1BD64 /* SubjectType.swift */; }; - 5E6537F800FD32E725818E67135F5ABF /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2E53363DAAFE44AD9B2DA7DCEE055AC0 /* Foundation.framework */; }; - 5E8632FC436BEB2D525F0198E824E5DB /* RxCocoa.h in Headers */ = {isa = PBXBuildFile; fileRef = C16ECFA456E7413C3C21C7ACF13EEF2A /* RxCocoa.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 5ECCFFECEBD1AE9510C476DC08E2AFE2 /* RxTableViewReactiveArrayDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E599E2B690CF4848EB5A1124D4F4535 /* RxTableViewReactiveArrayDataSource.swift */; }; - 5F40824A18271165DEF5979E27181CB1 /* Using.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8FE3D06FBED83696491039F133146BA /* Using.swift */; }; - 5F85FE86522F5938845E4D89BB514DC3 /* Disposables.swift in Sources */ = {isa = PBXBuildFile; fileRef = 67AFBB73359F1771A45E3FB32E2AB19D /* Disposables.swift */; }; - 60AF994B07CD2ABB5C56270A80269D8A /* Generate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 23121EBBCDA3BBFC23B378CDB206987E /* Generate.swift */; }; - 616C3C2608E5B4E2248CF90CFB70D2CB /* RxAtomic-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 8ED3687C5EEA267A7B1966D126875599 /* RxAtomic-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 6254288A344CA0A03F37B35E418844AF /* UIViewController+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = A874D590F4800065B9D01216445A4541 /* UIViewController+Rx.swift */; }; - 6384E1037D9322A6909E7472364D8464 /* ElementAt.swift in Sources */ = {isa = PBXBuildFile; fileRef = 374F68734EF5B8C4E24E91A3BC1CD540 /* ElementAt.swift */; }; - 639378B27414BC16AC274A66400E7F60 /* DeprecationWarner.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6584A9DB611FEC9D5C8EB2B93CF8093 /* DeprecationWarner.swift */; }; - 647CE2B9260E1FCC521B2F7A40E63606 /* check-and-run-apollo-codegen.sh in Resources */ = {isa = PBXBuildFile; fileRef = 4C916BA221FA97A6164459D2ED5F98DA /* check-and-run-apollo-codegen.sh */; }; - 65C11D00C16F375C3AD8C660AD53075B /* UILabel+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = D3F890908F6F69E4A567B4469F0A6E42 /* UILabel+Rx.swift */; }; - 66F3755CC95B431AE846D80D0DAEF9D2 /* Window.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2BB118262B58525E0D18030D6947AF6F /* Window.swift */; }; - 67475AB0774C1ED72A0BECD255A8A950 /* RxAtomic.c in Sources */ = {isa = PBXBuildFile; fileRef = 4AE7FE1667EA892FA38F4920F4EEFB74 /* RxAtomic.c */; }; - 6816761D7E0EEF47994CF1D043D51CFC /* UICollectionView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C7CECBD84748B980E0714C41F915E2D /* UICollectionView+Rx.swift */; }; - 6866CD03FB2583797A4C9381BFFF47DE /* SharedSequence+Optional.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5AFEC14FE9265FA007E2B43F7EE75FCA /* SharedSequence+Optional.swift */; }; - 69523E8FDB65CED8D3C0633B8E05CEDC /* DispatchQueueConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 36A775A1A1C362997AC30E2A3661C9BD /* DispatchQueueConfiguration.swift */; }; - 6986C44DB9C500A0462292FD744D292F /* SynchronizedOnType.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB85D74507FCA83F9D4C97E7520A9A7E /* SynchronizedOnType.swift */; }; - 6A35242090D934F88F91C9D7E9988777 /* InvocableScheduledItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8233D44F5012F549C6C42CA2789A55D2 /* InvocableScheduledItem.swift */; }; - 6A6E0D053FAD74B4AC1A94D0E3027D1B /* RxCocoa-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 161127082E512B0F1DBBD44287BDEF95 /* RxCocoa-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 6BFF597CFE80AD5083DAB44D2E74E948 /* RxTableViewDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7A29580A03B3FF8779FB2DD77EFB055D /* RxTableViewDelegateProxy.swift */; }; - 6C47C898CB335BC1892F76DE81F0C714 /* ApolloClient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 72A63533EED7A521093EB1418B1F91F9 /* ApolloClient.swift */; }; - 6C96554E43A64FD35698BAEFE0B93ADE /* NSTextStorage+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4BDD6EC4D64D0E6D59D99D4FE0D8432 /* NSTextStorage+Rx.swift */; }; - 6CCBA437277A10C0C48B8D38B6E648F0 /* BehaviorSubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC666757BFB7F2D78C130B4D321E3FA6 /* BehaviorSubject.swift */; }; - 6E00E82EB95FD5EBA8E8112ED3A19CF1 /* RxSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 37599E14563D32F38D9BE84B6688CAC8 /* RxSwift.framework */; }; - 6E20F6C0E19A17F4201104D4B1DF20FA /* GraphQLResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = E65D6844E54D7BE49F4A0C2AF9CFECEC /* GraphQLResponse.swift */; }; - 6E80EE8391BC9E0F39D1AE6FA8772D48 /* AnonymousDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 272C6CA39519B54B42D79B8C10EB55E5 /* AnonymousDisposable.swift */; }; - 704270B4BF04425D62763CEFABBDB566 /* RxAtomic.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DDA4E8E74C50501892452BE48AEE338 /* RxAtomic.framework */; }; - 7087DEAAF16C46C156762A5E7B4E990E /* GraphQLDependencyTracker.swift in Sources */ = {isa = PBXBuildFile; fileRef = A2B5277677D929F905E682025A48323D /* GraphQLDependencyTracker.swift */; }; - 71ABF2F67B57921A100D41CEEE0B6674 /* ConnectableObservableType.swift in Sources */ = {isa = PBXBuildFile; fileRef = B67DC2EEB64DE0EBEB287983E5B63C0A /* ConnectableObservableType.swift */; }; - 72268E748F770E600AD2ECC764EFF455 /* SubscriptionDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = B043C08D9A585CFC891E35978E8095BA /* SubscriptionDisposable.swift */; }; - 72911D4F988C96905220FD964AB37601 /* BinaryDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4ED6AC01F3AAF4FC8DD49712781F0DD8 /* BinaryDisposable.swift */; }; - 74A8D44F2D0CB49C0C972B0311936B08 /* _RXDelegateProxy.m in Sources */ = {isa = PBXBuildFile; fileRef = 132BDF33B0806947023380DB3BECA264 /* _RXDelegateProxy.m */; }; - 74F3B1D253FC1677E405B6ADA256DFD9 /* InvocableType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DD178096AA433380FA3F86C61F1CDEB /* InvocableType.swift */; }; - 75004EC10F6A8E8980953FF3815B85C9 /* RxAtomic.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DDA4E8E74C50501892452BE48AEE338 /* RxAtomic.framework */; }; - 753E648927789C7EA9DC80AF368007C1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2E53363DAAFE44AD9B2DA7DCEE055AC0 /* Foundation.framework */; }; - 76F169CDD7C5048CF901C6894091FD83 /* GraphQLError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35ABAFE0B74BEC5CD59F387288E59A72 /* GraphQLError.swift */; }; - 770D76B3F21E0395E6721F47EE271FD0 /* UISegmentedControl+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6840A8219A1C2854F99DE22EE5220741 /* UISegmentedControl+Rx.swift */; }; - 776C97FE4D33FB90F327B6E50F9BD583 /* Debug.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F3A7619553985426479C0678577F52A /* Debug.swift */; }; - 77D7F69E05B00A1BAF45548A50CED4CA /* Observable+Optional.swift in Sources */ = {isa = PBXBuildFile; fileRef = 323EB9DE28A18EFF775D10EE7DE9362A /* Observable+Optional.swift */; }; - 78E33FE862A5ADF8FFD338A73DF71DF1 /* AnonymousObserver.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9445D3DC4F6E620DAF868638B0822C2F /* AnonymousObserver.swift */; }; - 79D87D1135268190BFB9EA2DA5BFC674 /* KVORepresentable+CoreGraphics.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9CDA2F48336694814CE3F26E270C3292 /* KVORepresentable+CoreGraphics.swift */; }; - 79EA682AFFEC61D989616694084ACE3C /* Empty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13DA94C96958F2C308172BE19649ACC0 /* Empty.swift */; }; - 7A811255305BE137C0D1CE4569891045 /* UITableView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = F6DB77D280BD96ECC32EFD2392C70DA1 /* UITableView+Rx.swift */; }; - 7A99A10FEA96CE293226E5507E001EAB /* Logging.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9D18625367F17D3456B7AC300382CB45 /* Logging.swift */; }; - 7B45AB1E7AF7C1D91188148BE940811B /* RxTableViewDataSourceProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = A227360EB2D2429109440723EC3655A9 /* RxTableViewDataSourceProxy.swift */; }; - 7C31135BB550F8467B079A220C394EA6 /* DispatchQueue+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 54E0A6B3CD53477655105A161B9C8DD7 /* DispatchQueue+Extensions.swift */; }; - 7C5A79C773C53B846EF213AC7EE55CDF /* ScheduledItemType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 175E114C7EC74D8B2770A8025A50D61A /* ScheduledItemType.swift */; }; - 7EC5589C343D47320BCABBF8D78132DD /* Map.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95232089AE0AFB4DB725775E9944B825 /* Map.swift */; }; - 7F16AEBC38012A4371B93C233F9E843F /* RxPickerViewDataSourceProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = C6035D4D2828FBE031CE8479F5578175 /* RxPickerViewDataSourceProxy.swift */; }; - 7F4928176C4A57CFA8861A16B2C199E0 /* ObserverBase.swift in Sources */ = {isa = PBXBuildFile; fileRef = F5EC638657F0856389ACA58EB52D101F /* ObserverBase.swift */; }; - 7F64D3747F0F67DDDD9E4D38FEB7C63F /* NSObject+Rx+KVORepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B18948AB84C4D2AC92124AA68818794 /* NSObject+Rx+KVORepresentable.swift */; }; - 7F98AE7AC8C2C580BE10AE6381A99FF0 /* AsynchronousOperation.swift in Sources */ = {isa = PBXBuildFile; fileRef = B34AA80746A95303927C52E990632495 /* AsynchronousOperation.swift */; }; - 80136C08E56030952960DE6235367A05 /* ObservableConvertibleType+Driver.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9344DE6DEC6340BE8FE41F5FDD10DE3C /* ObservableConvertibleType+Driver.swift */; }; - 804F5D66B187F44C67BB9487FD925803 /* Deferred.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13BC8CC2D6C85566C3A6FEE9783DA044 /* Deferred.swift */; }; - 8056030201AB55865DDD9A93D4B0C185 /* Observable.swift in Sources */ = {isa = PBXBuildFile; fileRef = BE8DB1609EF1FC0D98A9F3CFAC35315D /* Observable.swift */; }; - 81BB0CC5CD0FB2DBD0A84C308F1AA7EF /* UIWebView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0C323A013311D528147F3F6D141E6056 /* UIWebView+Rx.swift */; }; - 825FBA8F13CF67E61FBC4AE92E0A0245 /* Signal+Subscription.swift in Sources */ = {isa = PBXBuildFile; fileRef = B7CA8239863C08395119E78D16E2147B /* Signal+Subscription.swift */; }; - 82B3BF5577D1AD52500D869712EE2293 /* NSControl+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53955DF606E34A2E1D885A4004DEDB7A /* NSControl+Rx.swift */; }; - 83945EFF960DD7F3F4C175C12B5D087F /* GraphQLResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = E77FB881C4D8A7042CE95BE4A753A698 /* GraphQLResult.swift */; }; - 842B7BA4DDBC42ACAF98873DDFA89704 /* Locking.swift in Sources */ = {isa = PBXBuildFile; fileRef = 71A5EF1747D5793A55971016813AD56C /* Locking.swift */; }; - 8475EE15E9F8B623CC6886B63B876576 /* Single.swift in Sources */ = {isa = PBXBuildFile; fileRef = 088F17EA7E5C1970C1CB18015968A3B1 /* Single.swift */; }; - 85DCDBBAC09F4355AD47D2BC008746FD /* Pods-RxApolloClient_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 34F65380D6EBB0C01AED37F1AA86AFC9 /* Pods-RxApolloClient_Example-dummy.m */; }; - 85E165E24457CDC8DF5AFDF78CE5257F /* PublishSubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2598D75B9E5AD6867327980BE0F20E0E /* PublishSubject.swift */; }; - 86D8E2AA97877043296E208D4EA95D3C /* UISlider+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = C6B73A21E6B4216AE772D1251B9D1090 /* UISlider+Rx.swift */; }; - 8789F54BEDB989D49F5933BA8FBAF1ED /* NormalizedCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52407E0B1B1098B9777D00326235A586 /* NormalizedCache.swift */; }; - 880E87C3FCD8BA08AA898CB30B37E203 /* Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = DF163D969F16C8A03AF24B663B303800 /* Error.swift */; }; - 88CDD5E8BD1FD85CA33AAE8E248E2824 /* Queue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3949F912148EC995C15DCB0A8EB7BC64 /* Queue.swift */; }; - 88FBE70C0BA4385EF4C961F44CA82859 /* RxPickerViewDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38E53B91F10C88F6DF7C50831592F87E /* RxPickerViewDelegateProxy.swift */; }; - 891C148001EE3D6BB6F198FAA8AA5797 /* RxMutableBox.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34BA07A33680C3196916D3386D964FA5 /* RxMutableBox.swift */; }; - 893C1C1D5B94A309C9AA504D8586A2C8 /* SharedSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84CF78B3C6E85D8A033F7E3C1D5DF38E /* SharedSequence.swift */; }; - 8A69D918090C0ECBFF62970C69C75913 /* Timer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CC60645D31515B3010CF727838AC9BE /* Timer.swift */; }; - 8B7F9D9AB9D8C6F8DD0F82D80690A27B /* SchedulerType+SharedSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DE7D077CC9A244673E45815DF0E1FE6 /* SchedulerType+SharedSequence.swift */; }; - 8B9C1D4CE546B513A3141AFA935DD7E2 /* Lock.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8793B8E1DCBB63DD1178A7C85F8C1BA /* Lock.swift */; }; - 8D537A6006DA8BB7AF47505592D00679 /* ObserveOn.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A8D4C445C92ACF1979B23EC6B1AA127 /* ObserveOn.swift */; }; - 8D9FA1AFE503AE8759BA0086FAEDBED2 /* NSButton+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = B988F5275EB2D20F6E11561E9828C458 /* NSButton+Rx.swift */; }; - 8E9DFBBC59CC40F1F5EB83C42AC93F28 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2E53363DAAFE44AD9B2DA7DCEE055AC0 /* Foundation.framework */; }; - 8EE60C8C0521E7EC3316AF45FE254DF8 /* Multicast.swift in Sources */ = {isa = PBXBuildFile; fileRef = F6A3D95F4036D376B1D8F6AD5168011F /* Multicast.swift */; }; - 8F4607ECA8B77F35BF72E087C159BAB6 /* SubscribeOn.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A6F39C6871D520421A3F1E405140658 /* SubscribeOn.swift */; }; - 8F6DBFC236468884287F709CBE903376 /* Never.swift in Sources */ = {isa = PBXBuildFile; fileRef = AAF6ACF71BE4014EEEB10AC0D385ABE7 /* Never.swift */; }; - 918489065750EF94F1D77C3B28C5B973 /* RxPickerViewDataSourceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = A99304F0F432EA36C46A07272E271F6F /* RxPickerViewDataSourceType.swift */; }; - 92A1A7B3AF9BDDF3A8A4C972B2B88E9B /* RxAtomic.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DDA4E8E74C50501892452BE48AEE338 /* RxAtomic.framework */; }; - 92E815A685E1AAE8E7BA12BE927302C9 /* SerialDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C4DBCC45868B92D70F867B18EE5F99B /* SerialDisposable.swift */; }; - 930E9E96A4DCB31601BB04C9E7D598F4 /* RxTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = C284D06F131C802EBA11C3A855AEFD81 /* RxTarget.swift */; }; - 9322FD97802530DB706B4E3F3B35749F /* DispatchQueue+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7E6240041F1E4B5BD971124E0D27C33 /* DispatchQueue+Extensions.swift */; }; - 937C5013835758C4202EB8C479E881CF /* SkipUntil.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A29990CA4A9C2D7CCFD72ABC000C6D7 /* SkipUntil.swift */; }; - 93B1E54244A3D4DA68B1AA8C408D276F /* Pods-RxApolloClient_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D458E896ECECFB9DFCF1CC7882B8225C /* Pods-RxApolloClient_Tests-dummy.m */; }; - 941ED51576BC84DA5F178D4C1C071B12 /* PriorityQueue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DAC18FA6B63D178982027F3927CB1FB /* PriorityQueue.swift */; }; - 948B419126EB90A527C84B1EFE536146 /* Enumerated.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8632A8BF7C193BCDAEA2C090C1011616 /* Enumerated.swift */; }; - 949FD3C6E4D44B28402ED6472968908E /* _RX.h in Headers */ = {isa = PBXBuildFile; fileRef = 76E38510FE216365E4222F08958B7707 /* _RX.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 95350DB325755934AF3D76B0F06C6E2C /* RxTabBarDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6865D915AA83C8D1DE54BF15945EC4D0 /* RxTabBarDelegateProxy.swift */; }; - 966F01050C17A08C8D319837A0DDCD7E /* Reduce.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0FB6AB39FEB8D14B6CCD34C33178697D /* Reduce.swift */; }; - 9778E16834187694B019B8082E7A9678 /* HistoricalSchedulerTimeConverter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 69F6E30CE0503203730D790FF5DF10AA /* HistoricalSchedulerTimeConverter.swift */; }; - 99C6F1A3C2C396A6DA3793B520BEDD2E /* ApolloStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = F97217B26E14BDE1D2DD63063FD494A2 /* ApolloStore.swift */; }; - 9A378F5B0C74A8755514DBE76BDE6CA4 /* CombineLatest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31F5AB928BB8C23FE257D1B929C93ABE /* CombineLatest.swift */; }; - 9A61EBB6EAED08FA9BD0E0E4588811F6 /* Disposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 778764F54479FBEBAF2EC8FE606C9623 /* Disposable.swift */; }; - 9BA183B04A8DD7120E077C72F37B68ED /* AsMaybe.swift in Sources */ = {isa = PBXBuildFile; fileRef = 682B2464B8F4D1711BC072673F02301C /* AsMaybe.swift */; }; - 9C9B97D79B25A135338B01A872212288 /* UISearchController+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57234EFD31BAF69272133F932D552E02 /* UISearchController+Rx.swift */; }; - 9FBFC062C6AE15052E312014DE658F6B /* NopDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8ABD57AF143D7DA582E510ECE1B1A57D /* NopDisposable.swift */; }; - A00283BF515E790A01391BCF4DD20563 /* Zip+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2939E00F0D6DAAE88B66BBAA8232F784 /* Zip+arity.swift */; }; - A18C96E03DA3BAF9CC45AC1E4755E0E4 /* ImmediateSchedulerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = A2FCCA94055AC5A81E419269DF54742C /* ImmediateSchedulerType.swift */; }; - A19592593FF8F12C9CE18B5491D7BCF2 /* _RXDelegateProxy.h in Headers */ = {isa = PBXBuildFile; fileRef = 6D7F2D22896D6C097AC445CB5E1B1C3C /* _RXDelegateProxy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A1D7F3C09316F230660D080EB0A36243 /* VirtualTimeConverterType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00942766BB3D67E2921697198985F4AF /* VirtualTimeConverterType.swift */; }; - A1F6A97658D28A3B2C8F1FD080085525 /* UITextView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 148B20F2599CD4B7644256223DCF30F6 /* UITextView+Rx.swift */; }; - A2E23790ABC5EE3DEEFC6CB08E29B78B /* Deprecated.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4668F0AF07C445DE102476832F02E290 /* Deprecated.swift */; }; - A41413B3CF09219181D1A13CFF384AA9 /* ObservableConvertibleType+SharedSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88C6E206007802F0EB7EFA6C271D1EFB /* ObservableConvertibleType+SharedSequence.swift */; }; - A4CABDF170AF2090C016F8584674C23F /* RetryWhen.swift in Sources */ = {isa = PBXBuildFile; fileRef = A076892DBC24B86AD51BE14B76825787 /* RetryWhen.swift */; }; - A5688F448C7577267F1B05E1DB8D8502 /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8C64F172655188FDD304E92AE09646CC /* Errors.swift */; }; - A5C71BBC8B356ED96984BCC55F4A4C02 /* UITabBarItem+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 29DB638488AD4CC09FD68CF2F3B79EC8 /* UITabBarItem+Rx.swift */; }; - A6B1A6C14C743C85597251441436E820 /* Scan.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1FE60F47CD4B41C3B3209F3BF6F202C9 /* Scan.swift */; }; - A8B9D941393251A0AC92298E52A02252 /* ItemEvents.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE23EC5C25434DB14F2F377CBD14ED9D /* ItemEvents.swift */; }; - A91F2A47A4BF0CBA8C7480FBF91E4BE9 /* RxSearchControllerDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84198E66965EAF39971E830720C2548C /* RxSearchControllerDelegateProxy.swift */; }; - AAC891EE725FB88D649DE20B53B2230D /* RxSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 37599E14563D32F38D9BE84B6688CAC8 /* RxSwift.framework */; }; - AAEDEB6D51FE449C15ABCDF7BEAFBAF6 /* AsSingle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F8F0C49807B0F45E197C7CDF31E378A /* AsSingle.swift */; }; - AB022555194D2AB7E68564DC7C851355 /* RxSwift-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3B0F27C1AA650EC15A929B3A5C84473C /* RxSwift-dummy.m */; }; - AB77D385EFB107DEEB603C0343BDB417 /* String+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A10A3C4729FFD4BB12509785C23E4AC /* String+Rx.swift */; }; - AC66F689BBA684C0929D9D02079E53A4 /* Promise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4FE27E6AEF2AB7635A3389D888A1A5C9 /* Promise.swift */; }; - ACC87673AEECFDBBADE4D074D178E68B /* GraphQLResultAccumulator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BEFCF39E96967176F8DAFDFF1BD2889 /* GraphQLResultAccumulator.swift */; }; - AD82B523D16CACD6648B7FB9825B766C /* UITextField+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = FDA39B1C1C004DB798F8BD9F6D64C139 /* UITextField+Rx.swift */; }; - ADC6CDCC25C2482B4BD911594FFA54D1 /* UIPageControl+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 54C204380BA710383162A4727CAC01CB /* UIPageControl+Rx.swift */; }; - AE3F9FC2C205BD451D53D87203D3C8A0 /* CombineLatest+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = D4647BC805F01704E2CA60D50F4CCF60 /* CombineLatest+arity.swift */; }; - AE3FA6ACCE05E80F28FBB94ED2DF3049 /* DefaultIfEmpty.swift in Sources */ = {isa = PBXBuildFile; fileRef = AFEEAAF7C1B4979B17CD0BA3AD846E94 /* DefaultIfEmpty.swift */; }; - AE81C2C464F602FDB52990E6712CD8B8 /* SkipWhile.swift in Sources */ = {isa = PBXBuildFile; fileRef = B0F9E565EFE325420B4F13DCB403F1E4 /* SkipWhile.swift */; }; - AECBE0CE9911E8543B8E0FCF33A074A1 /* Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90089D3CD16EE5206AC2F980ED5F6210 /* Rx.swift */; }; - AF46CB36B27EABF6E8B6480799F20346 /* GraphQLResponseGenerator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 14F14B4AAC35E2D895064A7F666B883D /* GraphQLResponseGenerator.swift */; }; - AFEF3878497D6B14FCDD5F4EED73450C /* Debounce.swift in Sources */ = {isa = PBXBuildFile; fileRef = AADB7F159C80BD701AB79E6699B90980 /* Debounce.swift */; }; - AFF5F1FEBEDBD76A849D6705DB8AC4E7 /* _RXKVOObserver.m in Sources */ = {isa = PBXBuildFile; fileRef = B077CFD303A2FB01A285F19EE7A10E22 /* _RXKVOObserver.m */; }; - B0AF1729D3C9B7E23DD754FD31C642C9 /* RecursiveLock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27DF6EB498704209390A50BC5B143F3E /* RecursiveLock.swift */; }; - B0C59EB7757B648A60D5A2D5D08D96D6 /* Skip.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9FC9B90BB8B2F57C171D54855435E600 /* Skip.swift */; }; - B0E720D7A39507E4C6042CA3A88BE06B /* RxCollectionViewDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBE590EF8C9AF4BC3F7B653493DF0472 /* RxCollectionViewDelegateProxy.swift */; }; - B102DA87C1DCE0F96CA93048932A01D0 /* PrimitiveSequence+Zip+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7D4DF27C5A21DB6930B5F70B1162FA9 /* PrimitiveSequence+Zip+arity.swift */; }; - B131030FA4D7B75737B9611269910783 /* NSObject+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2308B19C80C9687B2B4EBDA637614885 /* NSObject+Rx.swift */; }; - B35829110E3BCFBA8FABCD9B34EC8504 /* RxCocoa.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC99BA70A421DA6880B551AA3678F111 /* RxCocoa.swift */; }; - B647C748F60AF6C2685238E982D449BF /* SectionedViewDataSourceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE1EF3A11B28CB9C76F140A21B7DE914 /* SectionedViewDataSourceType.swift */; }; - B6BFEE8B0FD04A64B6C1E328F4BB58A1 /* PriorityQueue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8601C23F3204E8291A4E3B4E330A95E6 /* PriorityQueue.swift */; }; - B7380A90C01A9BC18A2BF90F39EE0457 /* JSON.swift in Sources */ = {isa = PBXBuildFile; fileRef = 979080715DC9EFF8FFE31A58EAC306F9 /* JSON.swift */; }; - B7FE327A6461F4BF859BD38F2EDD6393 /* SharedSequence+Operators+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = ADCE2BD91D2C4EF83050345081AC9DE9 /* SharedSequence+Operators+arity.swift */; }; - B80685B6A59EDE34C7E7F74C3207526F /* SchedulerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7C568497376836434FD2107A58BBE67 /* SchedulerType.swift */; }; - B928FE2D8E3FAEB0EC0160CB4246B1B5 /* SynchronizedDisposeType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 78D703BE7900DBDB740CFF38514926B1 /* SynchronizedDisposeType.swift */; }; - B9B29507F60F8D5CDFBAD6E69D751230 /* ObserverType.swift in Sources */ = {isa = PBXBuildFile; fileRef = BEB37D0B78E7E378222D26734D137632 /* ObserverType.swift */; }; - BA4E4617201A226400783D3FBD654BE7 /* TakeLast.swift in Sources */ = {isa = PBXBuildFile; fileRef = 143B8BAB5D080DFC46343BD43F52CE2A /* TakeLast.swift */; }; - BA7EEB23CB4F72195F4759C4D7BBB2AF /* OptionalType.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0FA4497F55CF78BB6C62A80D88CA330 /* OptionalType.swift */; }; - BABAE4DFC8CF4724086B7315BCDF2D7D /* GraphQLInputValue.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC2A1E51F9861AAE01EF6BCEA939AF7E /* GraphQLInputValue.swift */; }; - BB34B9C153C59FEDC2C0BAB1B8D26CE3 /* ObservableType+PrimitiveSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = 765742BAEA6EEEA48FDCE4CF0AE130A1 /* ObservableType+PrimitiveSequence.swift */; }; - BD7737D70EE16A0169251F84B6C7F491 /* GraphQLQueryWatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 290706380E08FDF6CCFD41A77ED9DBA8 /* GraphQLQueryWatcher.swift */; }; - BE2B1542B5E97F3F2809455D5D37D343 /* DelaySubscription.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96489C27B8D7BD9E009CD6F6A142791E /* DelaySubscription.swift */; }; - BE6CDC9B84ACFBA3C7B942D17EFBF1F8 /* UIGestureRecognizer+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2CE66E4082D3D9829EE5C343A82828E /* UIGestureRecognizer+Rx.swift */; }; - BE9385E3E7C8EA29A611C412ED51A976 /* RecursiveScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD6FBE7362849C86B05AF7CEB2556537 /* RecursiveScheduler.swift */; }; - C455F99380E669CF6F15B0C24685085C /* ConcurrentMainScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C140AFC2AF930F0F2CF8B691C2E49FB /* ConcurrentMainScheduler.swift */; }; - C4A569A4311E67F74B6BFA62A063B7FD /* Driver.swift in Sources */ = {isa = PBXBuildFile; fileRef = FF9CFA4067939F08A0515B18F9CBFD7D /* Driver.swift */; }; - C54842840E202103E0A4FED59C3A5D02 /* Switch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 39BD0B94BF9902C8F62521AA3CBFBB4A /* Switch.swift */; }; - C5CBB1F7D2BC260FD5CA72804966FAE9 /* SerialDispatchQueueScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = B068B5B7E528147DE663B738EFF5CAF9 /* SerialDispatchQueueScheduler.swift */; }; - C67BB41785A7AD6173A8F767962713FB /* Deprecated.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB4F0DF49F419F6D7B197E890A676F5E /* Deprecated.swift */; }; - C6EBD6B727D3E7A0E1A5297E93D6403A /* RxCollectionViewDataSourceProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50D5574EA7DF53CCBFBFC769EF87E126 /* RxCollectionViewDataSourceProxy.swift */; }; - C750708096427572E0A797756CB85F46 /* ControlEvent+Driver.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6EF8856B55C827167637C56535897800 /* ControlEvent+Driver.swift */; }; - C888AC391E454C92296EC18A08E93707 /* _RXObjCRuntime.h in Headers */ = {isa = PBXBuildFile; fileRef = 510C3597D8EBC17AED759D4B16E2DF6F /* _RXObjCRuntime.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C9AC69DD52AC5DBA630058F3ACD04D52 /* SharedSequence+Operators.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56E5DD71F6331AE934EA2811A9301291 /* SharedSequence+Operators.swift */; }; - CA6DB414DCEC14F1D2F7C69301723D8C /* KVORepresentable+Swift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9AA974E7C2DC002A2AFB3EF5E5EE4E20 /* KVORepresentable+Swift.swift */; }; - CA78F0A1BE2CB88B2E1AF10A5D8526D9 /* GraphQLOperation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27FF2DD85BEDB4B7805F70791E11EECE /* GraphQLOperation.swift */; }; - CAB4541770807AA08C998519002FEA98 /* Occupiable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35336B58E3D957121BD1669EEC24276B /* Occupiable.swift */; }; - CB65EB4B0963F27703D3EDD9BCDCF528 /* RxOptionalError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1BF3F5A019058D97B562F190735A0BD9 /* RxOptionalError.swift */; }; - CD61299FB63B3257A2CD51C8D0187912 /* Take.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E2E82D7BC187EB6A8DC28DB1627E9F1 /* Take.swift */; }; - CE12365AD59994BA3AC8B2424BAEEFBA /* ScheduledItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 39BEAB7FB48616DB96E2D16B474F05F8 /* ScheduledItem.swift */; }; - CFD5108E870F4367C6311D07AC81E504 /* AsyncLock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20ABDA1C9827B410DE39D0698F24F74B /* AsyncLock.swift */; }; - D0C92E88C073E9CB572D59787AD40615 /* Observable+Bind.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D0B17828F1410C15A6B4DFD226AE057 /* Observable+Bind.swift */; }; - D333236723071DDD1E5BC43726BE78C0 /* Merge.swift in Sources */ = {isa = PBXBuildFile; fileRef = B7362036A548AD3DB941D9332AF8DDC4 /* Merge.swift */; }; - D4DACC30135C424D0820A6F203D6247E /* Materialize.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8BC07A4D7CE713AF16B347E1CDD5CF1 /* Materialize.swift */; }; - D510E19693BFECBB080D381CEA55A26A /* SynchronizedUnsubscribeType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 292413AB35DF73BCEA70DA6373C505B7 /* SynchronizedUnsubscribeType.swift */; }; - D564C7401DD18D31DE6D66035CEC2260 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 745C2D222472CE93634F6A2B5462EF1B /* Result.swift */; }; - D5900E6984E2DB886D40F6F76B185394 /* DistinctUntilChanged.swift in Sources */ = {isa = PBXBuildFile; fileRef = CA5B33F564757ACC72407767CF6B35B3 /* DistinctUntilChanged.swift */; }; - D6F7739AFFC189CB6C561786FFC11849 /* RxTextStorageDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D117B94B96D093933D6346C5CF4F8D9 /* RxTextStorageDelegateProxy.swift */; }; - D744C14074B099EFBD2B7BA47709311D /* Reactive.swift in Sources */ = {isa = PBXBuildFile; fileRef = 534D5EB79E213F150F95AB020341DC19 /* Reactive.swift */; }; - D7475ABE17267A073D3631B185DE18F5 /* DisposeBase.swift in Sources */ = {isa = PBXBuildFile; fileRef = F5B78B80BD8B896A0BA5876A6AE062F2 /* DisposeBase.swift */; }; - D79B88FA15AC9F21295E67E3AEB5BC3B /* GraphQLResultNormalizer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7552B2802CABD6CCD7289EAF07CEA90F /* GraphQLResultNormalizer.swift */; }; - D7EF9A717C34142FDAC0878A61CEE748 /* Pods-RxApolloClient_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 684347C1443BEE408EE67EFF4A0AE43B /* Pods-RxApolloClient_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - D7F61D710DB80957CF4590A7DF3C3C5B /* RxSwift-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7AD237A977FD1FD80AD8705516E6179F /* RxSwift-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - D81ADD4A0FE2101A310C8F3DF7ABA055 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2E53363DAAFE44AD9B2DA7DCEE055AC0 /* Foundation.framework */; }; - D9B0CB578B74108F2384B80F8BA5488E /* Completable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1296D1B79825D14A5C3AC40C9D2A1B00 /* Completable.swift */; }; - DA4FD6A3187B545F3C1365CF651F60B9 /* Queue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6CA225322250FCE3F5B22B7399EABB77 /* Queue.swift */; }; - DAA2C67040B1D47DB6608D86C82593D6 /* UIProgressView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6C801BB898659DABD01BB64A5EE0795 /* UIProgressView+Rx.swift */; }; - DAC9BD5D0FD305F541921D242FB1BC8C /* Optional.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6303512D895A977275545123DD1BC574 /* Optional.swift */; }; - DBB985A748F9B83CA155BF1ADD595B48 /* UIDatePicker+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6CB2B395FE94843667CEECBD3AE58B6A /* UIDatePicker+Rx.swift */; }; - DD0F14AEFB5395A8AA1FB27E84822B4B /* ControlEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 309D00BCE211313B34B7A3D1EEA5D159 /* ControlEvent.swift */; }; - DDF37F1943852F67E740E5E388997E8B /* _RXObjCRuntime.m in Sources */ = {isa = PBXBuildFile; fileRef = 51C0B722285F04962A1596626EBF934D /* _RXObjCRuntime.m */; }; - DE6A8DA2837AD31BE1722182B243A164 /* check-and-run-apollo-cli.sh in Resources */ = {isa = PBXBuildFile; fileRef = 7417EC1588B9E62392B0CA3E0B6E6FCB /* check-and-run-apollo-cli.sh */; }; - E05B11CA610601735D52BFCE95015567 /* UIImageView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1D7707C317A956C3D55B95898D912A24 /* UIImageView+Rx.swift */; }; - E0996BEFB088E20821D71078136AF2BD /* SingleAssignmentDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C709089AB531989DE90EE8D88D66B35 /* SingleAssignmentDisposable.swift */; }; - E1A41AC769B6C9773970BAF56B58D2B6 /* LockOwnerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4FA444B8BBA259ACF71800811F558AC0 /* LockOwnerType.swift */; }; - E39E5C9D2D906D825778EE515E6A410F /* GroupBy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D1BBC21EDB30E8D03B081BF886D9AFB /* GroupBy.swift */; }; - E3FDE6B2D61572852B05865075F26563 /* Delay.swift in Sources */ = {isa = PBXBuildFile; fileRef = 23673DE5AF3D0984721C5A6019DC1FAE /* Delay.swift */; }; - E4906530522286CD6B9940A54EE6F4C9 /* RxNavigationControllerDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 110A8DC6A5C7575875B6667F5A397252 /* RxNavigationControllerDelegateProxy.swift */; }; - E4EF6DE38FD26B79DF1106E466150460 /* Event.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDEA2CB44BD8C70D778FD9313E0BC4FD /* Event.swift */; }; - E502410B914CB3C008FACE364CDC7CEF /* Just.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E172847D381719FEB41385D0CC49F96 /* Just.swift */; }; - E55E1E156796F797AA4AA4643FDD2415 /* Buffer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 368850F64FB98949E07A4A81FD783FB7 /* Buffer.swift */; }; - E5A0C5C5463BC7F1B5DE246E3365EDDD /* Zip.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7B73BBA754283CF3CBBB992D601DF78 /* Zip.swift */; }; - E6714663B47F86FFA2EEF715A8C410F5 /* UINavigationController+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = AC3B7425947BD3AB7D1E4A7C1B06F666 /* UINavigationController+Rx.swift */; }; - E689DB7EA05381FF36CD84E604189810 /* ObservableConvertibleType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 121A2CAFDF32DAE1D5FA8C564A2FDC0C /* ObservableConvertibleType.swift */; }; - E6B92A5D63D671686071E804C58AD5B5 /* UIApplication+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8AA146A7007145C969DE8262FE393279 /* UIApplication+Rx.swift */; }; - E7945E7D6CF59C48F68296A90A38BC7C /* Apollo-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CA80A4D14FE8E82372E3E96840F8E638 /* Apollo-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E94BB0B983D1064A50720A9B817D2689 /* JSONStandardTypeConversions.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA8F339004D5334B957E97ABB0C1CD69 /* JSONStandardTypeConversions.swift */; }; - E99C64DB37D7C4260FE38D2610620043 /* Bag.swift in Sources */ = {isa = PBXBuildFile; fileRef = CFA3C764DC9C4D7719CFE8B20740D39B /* Bag.swift */; }; - E9B7C67BC5A251ABB236C3445535A9D8 /* UIBarButtonItem+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9DA7F8EE5ABAF608C1612946CF809BCB /* UIBarButtonItem+Rx.swift */; }; - EB055513F2154C2FEBB9EA4184C3FC0E /* BehaviorRelay+Driver.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C67DE35E072A0CBBA1429F769CCB9F1 /* BehaviorRelay+Driver.swift */; }; - EC155C0944FF0361EDE3304B7AF54B29 /* BooleanDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 584DD3B8FBBFCE4FB00A411568E013B5 /* BooleanDisposable.swift */; }; - EE6E5AE08B0974B2D31240E9CD24138D /* NSTextField+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 55F4B21C6478E0E8B0A9D1130FB6C54A /* NSTextField+Rx.swift */; }; - F00E7C8DEF063D73FDA233F238D3DF0A /* UITabBar+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = BAA2123371E4567A6EF2A40989E18BF0 /* UITabBar+Rx.swift */; }; - F08CEC726E338A8C65D22D90D8C941E1 /* NSSlider+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C38464AEBE91F91270C2182BAD058E5 /* NSSlider+Rx.swift */; }; - F1AE0D85ECE502B1C8FD7E7F67A42680 /* Driver+Subscription.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A816B7359BA077E619CFAC8F67FE6B1 /* Driver+Subscription.swift */; }; - F29E46AE4777965304D9EC0F7FC38AE0 /* DelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = C82F710E4061D5A191568240173CE9F8 /* DelegateProxy.swift */; }; - F34D8D98C4B26D6F32461871F7A85D52 /* RecordSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = F60A947570067866E8A2507210DDDAE6 /* RecordSet.swift */; }; - F4B0AF20AD1F8251DCF8F16896ECD0B5 /* Bag.swift in Sources */ = {isa = PBXBuildFile; fileRef = D112A3ABEB90CA9FD5EF992FCFF8B0C6 /* Bag.swift */; }; - F5418606C4A1DC52E8862294578BFBED /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2E53363DAAFE44AD9B2DA7DCEE055AC0 /* Foundation.framework */; }; - F79199C550FBDD80A5FB455732DA0560 /* ShareReplayScope.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7F6BE4DEAFF5533A4FB279D7EF05179B /* ShareReplayScope.swift */; }; - F983E34D16AF1EDDB8EC00EEAF980625 /* WithLatestFrom.swift in Sources */ = {isa = PBXBuildFile; fileRef = 133B21F5ACA36D86774E28F1D8E9E545 /* WithLatestFrom.swift */; }; - F99E8730406859292C95FC30EE9E3650 /* Throttle.swift in Sources */ = {isa = PBXBuildFile; fileRef = F361190E8C2BB671D67201BB463A189D /* Throttle.swift */; }; - F9DE3395B8B368F9341E47D3A80B04C6 /* RxTableViewDataSourceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6C76CBF0A8759AEAA4EF4F53C938D3C4 /* RxTableViewDataSourceType.swift */; }; - FAC20A52109729FAA2DDC8256C714861 /* ObservableType.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7A9E8D9D2F491CCCCFB4CD3E9CFD94F /* ObservableType.swift */; }; - FC74A9E36DC16D814206BB48D74E6353 /* ObservableType+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = D7D8264F4199221A7B156B9291AF77A8 /* ObservableType+Extensions.swift */; }; - FC7E998F35F8896283904A0E5E18553C /* Utilities.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E9C397F9BCC6D34FBAF390F4DD70AE5 /* Utilities.swift */; }; - FCE81A90A9A18943F92D59EEB4356EDA /* URLSession+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 41EE1499082862A963DD1DBD0682DF0F /* URLSession+Rx.swift */; }; - FD615BD825914ABFBFCC5BCDFBB6B793 /* NSView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0FC6AF814AEDDFA69E62B1DEAA3BB45B /* NSView+Rx.swift */; }; - FD64140C4E3F6230B21E3E0C5EEA6AB2 /* Binder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 39FDB51673B20EC7B9C72C47CC829C50 /* Binder.swift */; }; - FEE654610692510CDCB9925E695B864E /* ResultOrPromise.swift in Sources */ = {isa = PBXBuildFile; fileRef = DFDEF13630B8D55C0DAD8DE5E65329C7 /* ResultOrPromise.swift */; }; - FFAC85AD8217D18134EB9CF4F3DBA07B /* ReplaySubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = 43E62E2840586F411857641C95709BB6 /* ReplaySubject.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 041D5562EDF301E5EE57BBF9C3512CCD /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = CB6D13B967F249BD8699B022F1994F41; - remoteInfo = RxOptional; - }; - 0E7AC355EFFDDC8D849697BFCC8C567D /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = A00BFB2941E9B50C054A2282B6F61E07; - remoteInfo = RxAtomic; - }; - 184F917C39416741FFC11EF82B60B649 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = EC97D51C1C0F8F7C4F3390A627ACA682; - remoteInfo = RxSwift; - }; - 28C27B75CB8B6961ED3DAF8189721370 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = A00BFB2941E9B50C054A2282B6F61E07; - remoteInfo = RxAtomic; - }; - 30E5F61F7023FFAF4CCE5F3DB5B4D8FB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = EC97D51C1C0F8F7C4F3390A627ACA682; - remoteInfo = RxSwift; - }; - 34CAD949655E04E5EF7A1E0744264CD8 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = C3199E762BE01EB88F64D69F37E9C5F0; - remoteInfo = RxApolloClient; - }; - 3D245045B31057FB69CD135CE3CC515E /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = BB41F1D5D54C7BE0A1CD9BBE69908566; - remoteInfo = RxCocoa; - }; - 3E88F737E042906C4867C1F44078088E /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = BB41F1D5D54C7BE0A1CD9BBE69908566; - remoteInfo = RxCocoa; - }; - 4B57E83E800EA05A9F6A80C594D344A1 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = EC97D51C1C0F8F7C4F3390A627ACA682; - remoteInfo = RxSwift; - }; - 51D2BF8B4DCCFC4211CFAF12717E621C /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = A00BFB2941E9B50C054A2282B6F61E07; - remoteInfo = RxAtomic; - }; - 5E1A63B1C57838C3E401D9CC650723DC /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = A00BFB2941E9B50C054A2282B6F61E07; - remoteInfo = RxAtomic; - }; - 81B47CF1E47892D72479795442F5C617 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 75DFC7B7A0E0F5FCEF1D11EAB25E2323; - remoteInfo = Apollo; - }; - 8CDD39531A9CAC404AECC06EFE27A86D /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = A00BFB2941E9B50C054A2282B6F61E07; - remoteInfo = RxAtomic; - }; - D7594C6BD4C39F3B34E7FA678253D867 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = EDE3153619DD008BBE404EBA70B451AC; - remoteInfo = "Pods-RxApolloClient_Example"; - }; - F7E930BC575AF7C4257820470FD26B90 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 75DFC7B7A0E0F5FCEF1D11EAB25E2323; - remoteInfo = Apollo; - }; - FD55A03E429D113E5369382E196E3982 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = EC97D51C1C0F8F7C4F3390A627ACA682; - remoteInfo = RxSwift; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 0044E32B7E855DE5BA63AD477F0372FE /* UITabBarController+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITabBarController+Rx.swift"; path = "RxCocoa/iOS/UITabBarController+Rx.swift"; sourceTree = ""; }; - 00942766BB3D67E2921697198985F4AF /* VirtualTimeConverterType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = VirtualTimeConverterType.swift; path = RxSwift/Schedulers/VirtualTimeConverterType.swift; sourceTree = ""; }; - 00F3C527001BF86C90F94232FC336D35 /* RxCocoa.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = RxCocoa.framework; path = RxCocoa.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 04C97D1CE72DC7C8E8A1255DD1518FE7 /* Apollo-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Apollo-dummy.m"; sourceTree = ""; }; - 0644E1FE5F28385602C6F34C25F1D996 /* RxApolloClient-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxApolloClient-prefix.pch"; sourceTree = ""; }; - 0685E07249884EB68066739CB7DB414F /* Observable+Occupiable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Observable+Occupiable.swift"; path = "Source/Observable+Occupiable.swift"; sourceTree = ""; }; - 06AA825F62AD23DD15DA004BC2883A2C /* Record.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Record.swift; path = Sources/Apollo/Record.swift; sourceTree = ""; }; - 06E673A88D8422C13947AE8F1CFA47EA /* RxApolloClient-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxApolloClient-dummy.m"; sourceTree = ""; }; - 071178FB3EA8CACC458C3100D8C62FCD /* Platform.Linux.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Platform.Linux.swift; path = Platform/Platform.Linux.swift; sourceTree = ""; }; - 087001F581E6130FAAB4349E8434C235 /* RefCountDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RefCountDisposable.swift; path = RxSwift/Disposables/RefCountDisposable.swift; sourceTree = ""; }; - 087887CFE0BCF8F3798C5B3C0CCC292E /* OperationQueueScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = OperationQueueScheduler.swift; path = RxSwift/Schedulers/OperationQueueScheduler.swift; sourceTree = ""; }; - 088F17EA7E5C1970C1CB18015968A3B1 /* Single.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Single.swift; path = RxSwift/Traits/Single.swift; sourceTree = ""; }; - 0894BDC2C327F2BF914FF21050D64CE0 /* KeyPathBinder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KeyPathBinder.swift; path = RxCocoa/Common/KeyPathBinder.swift; sourceTree = ""; }; - 092EB597500DAAFD1DBF9F7F9D25D9D7 /* RxCollectionViewDataSourcePrefetchingProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCollectionViewDataSourcePrefetchingProxy.swift; path = RxCocoa/iOS/Proxies/RxCollectionViewDataSourcePrefetchingProxy.swift; sourceTree = ""; }; - 0C323A013311D528147F3F6D141E6056 /* UIWebView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIWebView+Rx.swift"; path = "RxCocoa/iOS/UIWebView+Rx.swift"; sourceTree = ""; }; - 0DF62539640385839583B3C52223A771 /* Maybe.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Maybe.swift; path = RxSwift/Traits/Maybe.swift; sourceTree = ""; }; - 0E1B5112BE1DE22580428F8C587BAB3F /* RxCollectionViewDataSourceType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCollectionViewDataSourceType.swift; path = RxCocoa/iOS/Protocols/RxCollectionViewDataSourceType.swift; sourceTree = ""; }; - 0E8C524E417DE2B8A8390F3ECADDAB8E /* RxAtomic.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxAtomic.xcconfig; sourceTree = ""; }; - 0FB6AB39FEB8D14B6CCD34C33178697D /* Reduce.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Reduce.swift; path = RxSwift/Observables/Reduce.swift; sourceTree = ""; }; - 0FC6AF814AEDDFA69E62B1DEAA3BB45B /* NSView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSView+Rx.swift"; path = "RxCocoa/macOS/NSView+Rx.swift"; sourceTree = ""; }; - 110A8DC6A5C7575875B6667F5A397252 /* RxNavigationControllerDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxNavigationControllerDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxNavigationControllerDelegateProxy.swift; sourceTree = ""; }; - 121A2CAFDF32DAE1D5FA8C564A2FDC0C /* ObservableConvertibleType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObservableConvertibleType.swift; path = RxSwift/ObservableConvertibleType.swift; sourceTree = ""; }; - 1232B7DD0FC0ABE00B4B9DB415E33945 /* Collections.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Collections.swift; path = Sources/Apollo/Collections.swift; sourceTree = ""; }; - 1296D1B79825D14A5C3AC40C9D2A1B00 /* Completable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Completable.swift; path = RxSwift/Traits/Completable.swift; sourceTree = ""; }; - 132BDF33B0806947023380DB3BECA264 /* _RXDelegateProxy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = _RXDelegateProxy.m; path = RxCocoa/Runtime/_RXDelegateProxy.m; sourceTree = ""; }; - 133B21F5ACA36D86774E28F1D8E9E545 /* WithLatestFrom.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = WithLatestFrom.swift; path = RxSwift/Observables/WithLatestFrom.swift; sourceTree = ""; }; - 1358BBEC9AD7716D6053984E18A80FC9 /* Pods_RxApolloClient_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_RxApolloClient_Example.framework; path = "Pods-RxApolloClient_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 13BC8CC2D6C85566C3A6FEE9783DA044 /* Deferred.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Deferred.swift; path = RxSwift/Observables/Deferred.swift; sourceTree = ""; }; - 13D4C6B38010EDA882EC871920F0154C /* RxAtomic-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxAtomic-dummy.m"; sourceTree = ""; }; - 13DA94C96958F2C308172BE19649ACC0 /* Empty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Empty.swift; path = RxSwift/Observables/Empty.swift; sourceTree = ""; }; - 143B8BAB5D080DFC46343BD43F52CE2A /* TakeLast.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TakeLast.swift; path = RxSwift/Observables/TakeLast.swift; sourceTree = ""; }; - 148B20F2599CD4B7644256223DCF30F6 /* UITextView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITextView+Rx.swift"; path = "RxCocoa/iOS/UITextView+Rx.swift"; sourceTree = ""; }; - 14F14B4AAC35E2D895064A7F666B883D /* GraphQLResponseGenerator.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GraphQLResponseGenerator.swift; path = Sources/Apollo/GraphQLResponseGenerator.swift; sourceTree = ""; }; - 1525451BD0BCBAA119537F5B8463FE1E /* RxCocoaRuntime.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = RxCocoaRuntime.h; path = RxCocoa/Runtime/include/RxCocoaRuntime.h; sourceTree = ""; }; - 161127082E512B0F1DBBD44287BDEF95 /* RxCocoa-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxCocoa-umbrella.h"; sourceTree = ""; }; - 16589C871FA8A61C4F3FAA739181B0FA /* StartWith.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StartWith.swift; path = RxSwift/Observables/StartWith.swift; sourceTree = ""; }; - 16B10F81CC2E48D2B4DCF81C26830D1F /* RxSwift-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxSwift-prefix.pch"; sourceTree = ""; }; - 16F41EDF38DB76E482C63C033706398C /* RxOptional.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxOptional.xcconfig; sourceTree = ""; }; - 175E114C7EC74D8B2770A8025A50D61A /* ScheduledItemType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScheduledItemType.swift; path = RxSwift/Schedulers/Internal/ScheduledItemType.swift; sourceTree = ""; }; - 1BF3F5A019058D97B562F190735A0BD9 /* RxOptionalError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxOptionalError.swift; path = Source/RxOptionalError.swift; sourceTree = ""; }; - 1C67DE35E072A0CBBA1429F769CCB9F1 /* BehaviorRelay+Driver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "BehaviorRelay+Driver.swift"; path = "RxCocoa/Traits/Driver/BehaviorRelay+Driver.swift"; sourceTree = ""; }; - 1C8947F7BACEBC1D5F947EB275D6DADC /* RxApolloClient.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxApolloClient.xcconfig; sourceTree = ""; }; - 1D5B1C0E07A76829C3D0CCCE3BE773C0 /* RxTabBarControllerDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTabBarControllerDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxTabBarControllerDelegateProxy.swift; sourceTree = ""; }; - 1D7707C317A956C3D55B95898D912A24 /* UIImageView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIImageView+Rx.swift"; path = "RxCocoa/iOS/UIImageView+Rx.swift"; sourceTree = ""; }; - 1DCBB58D0EA26002AEB7861850865A80 /* JSONSerializationFormat.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = JSONSerializationFormat.swift; path = Sources/Apollo/JSONSerializationFormat.swift; sourceTree = ""; }; - 1E2E82D7BC187EB6A8DC28DB1627E9F1 /* Take.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Take.swift; path = RxSwift/Observables/Take.swift; sourceTree = ""; }; - 1E444B9B7A8316DF30776B14721CD523 /* RxCocoa-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxCocoa-prefix.pch"; sourceTree = ""; }; - 1E9C397F9BCC6D34FBAF390F4DD70AE5 /* Utilities.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Utilities.swift; path = Sources/Apollo/Utilities.swift; sourceTree = ""; }; - 1FE60F47CD4B41C3B3209F3BF6F202C9 /* Scan.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Scan.swift; path = RxSwift/Observables/Scan.swift; sourceTree = ""; }; - 20ABDA1C9827B410DE39D0698F24F74B /* AsyncLock.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsyncLock.swift; path = RxSwift/Concurrency/AsyncLock.swift; sourceTree = ""; }; - 2190947D6C43983D8EA5507082491C34 /* UIPickerView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIPickerView+Rx.swift"; path = "RxCocoa/iOS/UIPickerView+Rx.swift"; sourceTree = ""; }; - 22CCC77226E810B4F8B05DB0D3B6C89E /* RxApolloClient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = RxApolloClient.framework; path = RxApolloClient.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 2308B19C80C9687B2B4EBDA637614885 /* NSObject+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSObject+Rx.swift"; path = "RxCocoa/Foundation/NSObject+Rx.swift"; sourceTree = ""; }; - 23121EBBCDA3BBFC23B378CDB206987E /* Generate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Generate.swift; path = RxSwift/Observables/Generate.swift; sourceTree = ""; }; - 23673DE5AF3D0984721C5A6019DC1FAE /* Delay.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Delay.swift; path = RxSwift/Observables/Delay.swift; sourceTree = ""; }; - 24F4C29196350FE410D43688958BD801 /* ObservableConvertibleType+Signal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableConvertibleType+Signal.swift"; path = "RxCocoa/Traits/Signal/ObservableConvertibleType+Signal.swift"; sourceTree = ""; }; - 2598D75B9E5AD6867327980BE0F20E0E /* PublishSubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PublishSubject.swift; path = RxSwift/Subjects/PublishSubject.swift; sourceTree = ""; }; - 272C6CA39519B54B42D79B8C10EB55E5 /* AnonymousDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnonymousDisposable.swift; path = RxSwift/Disposables/AnonymousDisposable.swift; sourceTree = ""; }; - 27DF6EB498704209390A50BC5B143F3E /* RecursiveLock.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RecursiveLock.swift; path = Platform/RecursiveLock.swift; sourceTree = ""; }; - 27FF2DD85BEDB4B7805F70791E11EECE /* GraphQLOperation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GraphQLOperation.swift; path = Sources/Apollo/GraphQLOperation.swift; sourceTree = ""; }; - 28ED1D0F620697D350DF8B906354AD94 /* Signal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Signal.swift; path = RxCocoa/Traits/Signal/Signal.swift; sourceTree = ""; }; - 290706380E08FDF6CCFD41A77ED9DBA8 /* GraphQLQueryWatcher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GraphQLQueryWatcher.swift; path = Sources/Apollo/GraphQLQueryWatcher.swift; sourceTree = ""; }; - 292413AB35DF73BCEA70DA6373C505B7 /* SynchronizedUnsubscribeType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SynchronizedUnsubscribeType.swift; path = RxSwift/Concurrency/SynchronizedUnsubscribeType.swift; sourceTree = ""; }; - 2939E00F0D6DAAE88B66BBAA8232F784 /* Zip+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Zip+arity.swift"; path = "RxSwift/Observables/Zip+arity.swift"; sourceTree = ""; }; - 29DB638488AD4CC09FD68CF2F3B79EC8 /* UITabBarItem+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITabBarItem+Rx.swift"; path = "RxCocoa/iOS/UITabBarItem+Rx.swift"; sourceTree = ""; }; - 2BB118262B58525E0D18030D6947AF6F /* Window.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Window.swift; path = RxSwift/Observables/Window.swift; sourceTree = ""; }; - 2C1B8136FCCEEF9858DA39F7D2720C77 /* SwiftSupport.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SwiftSupport.swift; path = RxSwift/SwiftSupport/SwiftSupport.swift; sourceTree = ""; }; - 2C7CECBD84748B980E0714C41F915E2D /* UICollectionView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UICollectionView+Rx.swift"; path = "RxCocoa/iOS/UICollectionView+Rx.swift"; sourceTree = ""; }; - 2DD178096AA433380FA3F86C61F1CDEB /* InvocableType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InvocableType.swift; path = RxSwift/Schedulers/Internal/InvocableType.swift; sourceTree = ""; }; - 2E34CD4844F7977D1C1FD0027AB1B7BD /* InfiniteSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InfiniteSequence.swift; path = Platform/DataStructures/InfiniteSequence.swift; sourceTree = ""; }; - 2E53363DAAFE44AD9B2DA7DCEE055AC0 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - 302ADEDC5A088D73DAB1519310FC3F4B /* Platform.Darwin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Platform.Darwin.swift; path = Platform/Platform.Darwin.swift; sourceTree = ""; }; - 309D00BCE211313B34B7A3D1EEA5D159 /* ControlEvent.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ControlEvent.swift; path = RxCocoa/Traits/ControlEvent.swift; sourceTree = ""; }; - 30EE4FAB9E7F0C1D75C589DC2375C23A /* Sink.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Sink.swift; path = RxSwift/Observables/Sink.swift; sourceTree = ""; }; - 31212B8542A6A55BFC35B1AB8A5D66C9 /* Bag+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Bag+Rx.swift"; path = "RxSwift/Extensions/Bag+Rx.swift"; sourceTree = ""; }; - 31F5AB928BB8C23FE257D1B929C93ABE /* CombineLatest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CombineLatest.swift; path = RxSwift/Observables/CombineLatest.swift; sourceTree = ""; }; - 31FACB1D692B26A1FFDAE4A6ADA01FFF /* _RXKVOObserver.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = _RXKVOObserver.h; path = RxCocoa/Runtime/include/_RXKVOObserver.h; sourceTree = ""; }; - 323EB9DE28A18EFF775D10EE7DE9362A /* Observable+Optional.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Observable+Optional.swift"; path = "Source/Observable+Optional.swift"; sourceTree = ""; }; - 3275AA7EB19CA9BA57645F1AEA59342A /* Dematerialize.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Dematerialize.swift; path = RxSwift/Observables/Dematerialize.swift; sourceTree = ""; }; - 329F23BF310CA51962370A664C721950 /* CompositeDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CompositeDisposable.swift; path = RxSwift/Disposables/CompositeDisposable.swift; sourceTree = ""; }; - 32BAF943E7F63B0A04D305C11416609B /* Apollo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Apollo.framework; path = Apollo.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 346007C888164E2A0E6A13EC5B3BD157 /* Pods-RxApolloClient_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-RxApolloClient_Example-acknowledgements.plist"; sourceTree = ""; }; - 34BA07A33680C3196916D3386D964FA5 /* RxMutableBox.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxMutableBox.swift; path = RxSwift/RxMutableBox.swift; sourceTree = ""; }; - 34F65380D6EBB0C01AED37F1AA86AFC9 /* Pods-RxApolloClient_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-RxApolloClient_Example-dummy.m"; sourceTree = ""; }; - 35336B58E3D957121BD1669EEC24276B /* Occupiable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Occupiable.swift; path = Source/Occupiable.swift; sourceTree = ""; }; - 35ABAFE0B74BEC5CD59F387288E59A72 /* GraphQLError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GraphQLError.swift; path = Sources/Apollo/GraphQLError.swift; sourceTree = ""; }; - 368850F64FB98949E07A4A81FD783FB7 /* Buffer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Buffer.swift; path = RxSwift/Observables/Buffer.swift; sourceTree = ""; }; - 36A775A1A1C362997AC30E2A3661C9BD /* DispatchQueueConfiguration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DispatchQueueConfiguration.swift; path = RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift; sourceTree = ""; }; - 3715C1A3EF88BB4CCC039BE3615E7925 /* RxAtomic.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = RxAtomic.h; path = RxAtomic/include/RxAtomic.h; sourceTree = ""; }; - 374F68734EF5B8C4E24E91A3BC1CD540 /* ElementAt.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ElementAt.swift; path = RxSwift/Observables/ElementAt.swift; sourceTree = ""; }; - 37599E14563D32F38D9BE84B6688CAC8 /* RxSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = RxSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 38CC33F5C93126331BE3FE8E9EA56EF7 /* TakeUntil.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TakeUntil.swift; path = RxSwift/Observables/TakeUntil.swift; sourceTree = ""; }; - 38DBDB07E93FF9BB31DF9A3A59490916 /* SingleAsync.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SingleAsync.swift; path = RxSwift/Observables/SingleAsync.swift; sourceTree = ""; }; - 38E53B91F10C88F6DF7C50831592F87E /* RxPickerViewDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxPickerViewDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxPickerViewDelegateProxy.swift; sourceTree = ""; }; - 3924105DE689EE7AE5F624AB3E30E65D /* Pods-RxApolloClient_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-RxApolloClient_Tests-acknowledgements.plist"; sourceTree = ""; }; - 3949F912148EC995C15DCB0A8EB7BC64 /* Queue.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Queue.swift; path = Platform/DataStructures/Queue.swift; sourceTree = ""; }; - 39BD0B94BF9902C8F62521AA3CBFBB4A /* Switch.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Switch.swift; path = RxSwift/Observables/Switch.swift; sourceTree = ""; }; - 39BEAB7FB48616DB96E2D16B474F05F8 /* ScheduledItem.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScheduledItem.swift; path = RxSwift/Schedulers/Internal/ScheduledItem.swift; sourceTree = ""; }; - 39FDB51673B20EC7B9C72C47CC829C50 /* Binder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Binder.swift; path = RxCocoa/Common/Binder.swift; sourceTree = ""; }; - 3A10A3C4729FFD4BB12509785C23E4AC /* String+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "String+Rx.swift"; path = "RxSwift/Extensions/String+Rx.swift"; sourceTree = ""; }; - 3A11B53E2FF092010D6F359D4D3A23CD /* NSObject+Rx+RawRepresentable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSObject+Rx+RawRepresentable.swift"; path = "RxCocoa/Foundation/NSObject+Rx+RawRepresentable.swift"; sourceTree = ""; }; - 3A29990CA4A9C2D7CCFD72ABC000C6D7 /* SkipUntil.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SkipUntil.swift; path = RxSwift/Observables/SkipUntil.swift; sourceTree = ""; }; - 3A8D4C445C92ACF1979B23EC6B1AA127 /* ObserveOn.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObserveOn.swift; path = RxSwift/Observables/ObserveOn.swift; sourceTree = ""; }; - 3B0F27C1AA650EC15A929B3A5C84473C /* RxSwift-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxSwift-dummy.m"; sourceTree = ""; }; - 3BDD8A01CE1FA4F50F5A3B2824ED7955 /* PublishRelay+Signal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "PublishRelay+Signal.swift"; path = "RxCocoa/Traits/Signal/PublishRelay+Signal.swift"; sourceTree = ""; }; - 3C709089AB531989DE90EE8D88D66B35 /* SingleAssignmentDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SingleAssignmentDisposable.swift; path = RxSwift/Disposables/SingleAssignmentDisposable.swift; sourceTree = ""; }; - 3DBB976DACEAA92F32B065E17A3F9048 /* Apollo-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Apollo-prefix.pch"; sourceTree = ""; }; - 3FD35E4DEFFF743216D19AA409D61D1C /* RxCocoa-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxCocoa-dummy.m"; sourceTree = ""; }; - 41EE1499082862A963DD1DBD0682DF0F /* URLSession+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "URLSession+Rx.swift"; path = "RxCocoa/Foundation/URLSession+Rx.swift"; sourceTree = ""; }; - 428DDA4164461B5DC3CF4D81BF6572FC /* Do.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Do.swift; path = RxSwift/Observables/Do.swift; sourceTree = ""; }; - 4326CA151DA3B1EB5501EA4447194BDE /* SwitchIfEmpty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SwitchIfEmpty.swift; path = RxSwift/Observables/SwitchIfEmpty.swift; sourceTree = ""; }; - 435B6571EC0C499DA14BCFDAD5B7CB01 /* TakeWhile.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TakeWhile.swift; path = RxSwift/Observables/TakeWhile.swift; sourceTree = ""; }; - 43E62E2840586F411857641C95709BB6 /* ReplaySubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ReplaySubject.swift; path = RxSwift/Subjects/ReplaySubject.swift; sourceTree = ""; }; - 456FE9F87E1FAA7DE45D29439462238A /* Platform.Linux.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Platform.Linux.swift; path = Platform/Platform.Linux.swift; sourceTree = ""; }; - 4668F0AF07C445DE102476832F02E290 /* Deprecated.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Deprecated.swift; path = RxSwift/Deprecated.swift; sourceTree = ""; }; - 46DF99EDF5EF44ECE7246C3FE3BA1085 /* DisposeBag.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DisposeBag.swift; path = RxSwift/Disposables/DisposeBag.swift; sourceTree = ""; }; - 48D3CA9FA7D96A9B1A3054E57B6EB0F9 /* First.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = First.swift; path = RxSwift/Observables/First.swift; sourceTree = ""; }; - 49ABD9B891C1ADD1E152FF4AE05C1F67 /* BehaviorRelay.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BehaviorRelay.swift; path = RxCocoa/Traits/BehaviorRelay.swift; sourceTree = ""; }; - 4AE7FE1667EA892FA38F4920F4EEFB74 /* RxAtomic.c */ = {isa = PBXFileReference; includeInIndex = 1; name = RxAtomic.c; path = RxAtomic/RxAtomic.c; sourceTree = ""; }; - 4B18948AB84C4D2AC92124AA68818794 /* NSObject+Rx+KVORepresentable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSObject+Rx+KVORepresentable.swift"; path = "RxCocoa/Foundation/NSObject+Rx+KVORepresentable.swift"; sourceTree = ""; }; - 4C140AFC2AF930F0F2CF8B691C2E49FB /* ConcurrentMainScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConcurrentMainScheduler.swift; path = RxSwift/Schedulers/ConcurrentMainScheduler.swift; sourceTree = ""; }; - 4C916BA221FA97A6164459D2ED5F98DA /* check-and-run-apollo-codegen.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; name = "check-and-run-apollo-codegen.sh"; path = "scripts/check-and-run-apollo-codegen.sh"; sourceTree = ""; }; - 4CC60645D31515B3010CF727838AC9BE /* Timer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Timer.swift; path = RxSwift/Observables/Timer.swift; sourceTree = ""; }; - 4CC972E759D3C9F383EB386036841FF1 /* RxCocoa.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = RxCocoa.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 4CF50B930F927EF726B830CD9E5DE383 /* NSTextView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSTextView+Rx.swift"; path = "RxCocoa/macOS/NSTextView+Rx.swift"; sourceTree = ""; }; - 4ED6AC01F3AAF4FC8DD49712781F0DD8 /* BinaryDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BinaryDisposable.swift; path = RxSwift/Disposables/BinaryDisposable.swift; sourceTree = ""; }; - 4F9FE4308F5659670B4D475BE07EDDF8 /* Pods-RxApolloClient_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-RxApolloClient_Tests.modulemap"; sourceTree = ""; }; - 4FA444B8BBA259ACF71800811F558AC0 /* LockOwnerType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LockOwnerType.swift; path = RxSwift/Concurrency/LockOwnerType.swift; sourceTree = ""; }; - 4FE27E6AEF2AB7635A3389D888A1A5C9 /* Promise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Promise.swift; path = Sources/Apollo/Promise.swift; sourceTree = ""; }; - 50D5574EA7DF53CCBFBFC769EF87E126 /* RxCollectionViewDataSourceProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCollectionViewDataSourceProxy.swift; path = RxCocoa/iOS/Proxies/RxCollectionViewDataSourceProxy.swift; sourceTree = ""; }; - 510C3597D8EBC17AED759D4B16E2DF6F /* _RXObjCRuntime.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = _RXObjCRuntime.h; path = RxCocoa/Runtime/include/_RXObjCRuntime.h; sourceTree = ""; }; - 512831A8D9EA52DD475BC4303E96242C /* RxScrollViewDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxScrollViewDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxScrollViewDelegateProxy.swift; sourceTree = ""; }; - 51C0B722285F04962A1596626EBF934D /* _RXObjCRuntime.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = _RXObjCRuntime.m; path = RxCocoa/Runtime/_RXObjCRuntime.m; sourceTree = ""; }; - 52407E0B1B1098B9777D00326235A586 /* NormalizedCache.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NormalizedCache.swift; path = Sources/Apollo/NormalizedCache.swift; sourceTree = ""; }; - 5282B74478579BF3A123F031E30F9569 /* Range.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Range.swift; path = RxSwift/Observables/Range.swift; sourceTree = ""; }; - 5303752E1361267965F929A5FC02A91A /* RxSwift.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxSwift.xcconfig; sourceTree = ""; }; - 53479D70664CD19CA9E068EA416E8F24 /* AddRef.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AddRef.swift; path = RxSwift/Observables/AddRef.swift; sourceTree = ""; }; - 534D5EB79E213F150F95AB020341DC19 /* Reactive.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Reactive.swift; path = RxSwift/Reactive.swift; sourceTree = ""; }; - 53955DF606E34A2E1D885A4004DEDB7A /* NSControl+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSControl+Rx.swift"; path = "RxCocoa/macOS/NSControl+Rx.swift"; sourceTree = ""; }; - 54C204380BA710383162A4727CAC01CB /* UIPageControl+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIPageControl+Rx.swift"; path = "RxCocoa/iOS/UIPageControl+Rx.swift"; sourceTree = ""; }; - 54E0A6B3CD53477655105A161B9C8DD7 /* DispatchQueue+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DispatchQueue+Extensions.swift"; path = "Platform/DispatchQueue+Extensions.swift"; sourceTree = ""; }; - 557431E38F54F3B3CD57683D1C1744D2 /* NotificationCenter+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NotificationCenter+Rx.swift"; path = "RxCocoa/Foundation/NotificationCenter+Rx.swift"; sourceTree = ""; }; - 55A5218D8ACFE81C2C5AD22C74A9EBB5 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 55F4B21C6478E0E8B0A9D1130FB6C54A /* NSTextField+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSTextField+Rx.swift"; path = "RxCocoa/macOS/NSTextField+Rx.swift"; sourceTree = ""; }; - 56E5DD71F6331AE934EA2811A9301291 /* SharedSequence+Operators.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SharedSequence+Operators.swift"; path = "RxCocoa/Traits/SharedSequence/SharedSequence+Operators.swift"; sourceTree = ""; }; - 57234EFD31BAF69272133F932D552E02 /* UISearchController+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UISearchController+Rx.swift"; path = "RxCocoa/iOS/UISearchController+Rx.swift"; sourceTree = ""; }; - 57A55323FB4FA33A541311A7E59CDCFD /* Pods-RxApolloClient_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-RxApolloClient_Tests.release.xcconfig"; sourceTree = ""; }; - 584DD3B8FBBFCE4FB00A411568E013B5 /* BooleanDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BooleanDisposable.swift; path = RxSwift/Disposables/BooleanDisposable.swift; sourceTree = ""; }; - 592E7299F50FFBD8374EA402AB71B598 /* RxApolloClient.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; path = RxApolloClient.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 599F41751BB02CB9B9F367F50F952BBA /* GraphQLSelectionSet.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GraphQLSelectionSet.swift; path = Sources/Apollo/GraphQLSelectionSet.swift; sourceTree = ""; }; - 5A816B7359BA077E619CFAC8F67FE6B1 /* Driver+Subscription.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Driver+Subscription.swift"; path = "RxCocoa/Traits/Driver/Driver+Subscription.swift"; sourceTree = ""; }; - 5AFEC14FE9265FA007E2B43F7EE75FCA /* SharedSequence+Optional.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SharedSequence+Optional.swift"; path = "Source/SharedSequence+Optional.swift"; sourceTree = ""; }; - 5BEFCF39E96967176F8DAFDFF1BD2889 /* GraphQLResultAccumulator.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GraphQLResultAccumulator.swift; path = Sources/Apollo/GraphQLResultAccumulator.swift; sourceTree = ""; }; - 5C47F5376B79AE6C13723F9B3A04C95C /* Apollo.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = Apollo.modulemap; sourceTree = ""; }; - 5C4DBCC45868B92D70F867B18EE5F99B /* SerialDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SerialDisposable.swift; path = RxSwift/Disposables/SerialDisposable.swift; sourceTree = ""; }; - 5C96EB0C014693747E95498F5064F02F /* PublishRelay.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PublishRelay.swift; path = RxCocoa/Traits/PublishRelay.swift; sourceTree = ""; }; - 5E599E2B690CF4848EB5A1124D4F4535 /* RxTableViewReactiveArrayDataSource.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTableViewReactiveArrayDataSource.swift; path = RxCocoa/iOS/DataSources/RxTableViewReactiveArrayDataSource.swift; sourceTree = ""; }; - 5F3A7619553985426479C0678577F52A /* Debug.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Debug.swift; path = RxSwift/Observables/Debug.swift; sourceTree = ""; }; - 5F7EC3F6AD23E5B42B9DFF3F8A6533DC /* NSLayoutConstraint+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSLayoutConstraint+Rx.swift"; path = "RxCocoa/Common/NSLayoutConstraint+Rx.swift"; sourceTree = ""; }; - 614B1B914226551DC8855D828538C332 /* Pods_RxApolloClient_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_RxApolloClient_Tests.framework; path = "Pods-RxApolloClient_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 6246A57FDDFFE2DCD24AAA43C97D8FC7 /* TextInput.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TextInput.swift; path = RxCocoa/Common/TextInput.swift; sourceTree = ""; }; - 62F2A1B9CD11142D99A5945779FE88F8 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 6303512D895A977275545123DD1BC574 /* Optional.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Optional.swift; path = RxSwift/Observables/Optional.swift; sourceTree = ""; }; - 6557E4E9494A7BF71C186FD2F4FADBC0 /* TailRecursiveSink.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TailRecursiveSink.swift; path = RxSwift/Observers/TailRecursiveSink.swift; sourceTree = ""; }; - 65EC4020FD8C9074D59DAA1A1C60A0F4 /* UIStepper+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIStepper+Rx.swift"; path = "RxCocoa/iOS/UIStepper+Rx.swift"; sourceTree = ""; }; - 679356997C90E02DBCD60D480DA25E0D /* MainScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MainScheduler.swift; path = RxSwift/Schedulers/MainScheduler.swift; sourceTree = ""; }; - 67AFBB73359F1771A45E3FB32E2AB19D /* Disposables.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Disposables.swift; path = RxSwift/Disposables/Disposables.swift; sourceTree = ""; }; - 682B2464B8F4D1711BC072673F02301C /* AsMaybe.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsMaybe.swift; path = RxSwift/Observables/AsMaybe.swift; sourceTree = ""; }; - 6840A8219A1C2854F99DE22EE5220741 /* UISegmentedControl+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UISegmentedControl+Rx.swift"; path = "RxCocoa/iOS/UISegmentedControl+Rx.swift"; sourceTree = ""; }; - 684347C1443BEE408EE67EFF4A0AE43B /* Pods-RxApolloClient_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-RxApolloClient_Tests-umbrella.h"; sourceTree = ""; }; - 6865D915AA83C8D1DE54BF15945EC4D0 /* RxTabBarDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTabBarDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxTabBarDelegateProxy.swift; sourceTree = ""; }; - 69F6E30CE0503203730D790FF5DF10AA /* HistoricalSchedulerTimeConverter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HistoricalSchedulerTimeConverter.swift; path = RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift; sourceTree = ""; }; - 6A6F39C6871D520421A3F1E405140658 /* SubscribeOn.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SubscribeOn.swift; path = RxSwift/Observables/SubscribeOn.swift; sourceTree = ""; }; - 6B8A4D25A5380C9FE808CFCFAF600797 /* ControlTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ControlTarget.swift; path = RxCocoa/Common/ControlTarget.swift; sourceTree = ""; }; - 6BFC17927348ACCE50A295D4575B7AFE /* GroupedObservable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GroupedObservable.swift; path = RxSwift/GroupedObservable.swift; sourceTree = ""; }; - 6C76CBF0A8759AEAA4EF4F53C938D3C4 /* RxTableViewDataSourceType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTableViewDataSourceType.swift; path = RxCocoa/iOS/Protocols/RxTableViewDataSourceType.swift; sourceTree = ""; }; - 6CA225322250FCE3F5B22B7399EABB77 /* Queue.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Queue.swift; path = Platform/DataStructures/Queue.swift; sourceTree = ""; }; - 6CB2B395FE94843667CEECBD3AE58B6A /* UIDatePicker+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIDatePicker+Rx.swift"; path = "RxCocoa/iOS/UIDatePicker+Rx.swift"; sourceTree = ""; }; - 6D0B17828F1410C15A6B4DFD226AE057 /* Observable+Bind.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Observable+Bind.swift"; path = "RxCocoa/Common/Observable+Bind.swift"; sourceTree = ""; }; - 6D1BBC21EDB30E8D03B081BF886D9AFB /* GroupBy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GroupBy.swift; path = RxSwift/Observables/GroupBy.swift; sourceTree = ""; }; - 6D7F2D22896D6C097AC445CB5E1B1C3C /* _RXDelegateProxy.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = _RXDelegateProxy.h; path = RxCocoa/Runtime/include/_RXDelegateProxy.h; sourceTree = ""; }; - 6E172847D381719FEB41385D0CC49F96 /* Just.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Just.swift; path = RxSwift/Observables/Just.swift; sourceTree = ""; }; - 6E1DD64E56017757B9EA20EAA3F5472B /* SchedulerServices+Emulation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SchedulerServices+Emulation.swift"; path = "RxSwift/Schedulers/SchedulerServices+Emulation.swift"; sourceTree = ""; }; - 6E91FDD22CAE673BDE08E8479FD3B025 /* UISwitch+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UISwitch+Rx.swift"; path = "RxCocoa/iOS/UISwitch+Rx.swift"; sourceTree = ""; }; - 6EF8856B55C827167637C56535897800 /* ControlEvent+Driver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ControlEvent+Driver.swift"; path = "RxCocoa/Traits/Driver/ControlEvent+Driver.swift"; sourceTree = ""; }; - 7118719593C70B61C173EF9D0573DE9F /* RxApolloClient-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxApolloClient-umbrella.h"; sourceTree = ""; }; - 71A5EF1747D5793A55971016813AD56C /* Locking.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Locking.swift; path = Sources/Apollo/Locking.swift; sourceTree = ""; }; - 72035B46EF4C8F3986202B19F6EE68C3 /* PrimitiveSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PrimitiveSequence.swift; path = RxSwift/Traits/PrimitiveSequence.swift; sourceTree = ""; }; - 7284A8747936837B3F9FD7081C85C355 /* Sample.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Sample.swift; path = RxSwift/Observables/Sample.swift; sourceTree = ""; }; - 72A63533EED7A521093EB1418B1F91F9 /* ApolloClient.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ApolloClient.swift; path = Sources/Apollo/ApolloClient.swift; sourceTree = ""; }; - 73DFA02E15B1D31610B7584443A058AB /* RxWebViewDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxWebViewDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxWebViewDelegateProxy.swift; sourceTree = ""; }; - 7417EC1588B9E62392B0CA3E0B6E6FCB /* check-and-run-apollo-cli.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; name = "check-and-run-apollo-cli.sh"; path = "scripts/check-and-run-apollo-cli.sh"; sourceTree = ""; }; - 745C2D222472CE93634F6A2B5462EF1B /* Result.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Result.swift; path = Sources/Apollo/Result.swift; sourceTree = ""; }; - 74BE12607655F7401F634BD1D02936DE /* Apollo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Apollo.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 7552B2802CABD6CCD7289EAF07CEA90F /* GraphQLResultNormalizer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GraphQLResultNormalizer.swift; path = Sources/Apollo/GraphQLResultNormalizer.swift; sourceTree = ""; }; - 765742BAEA6EEEA48FDCE4CF0AE130A1 /* ObservableType+PrimitiveSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableType+PrimitiveSequence.swift"; path = "RxSwift/Traits/ObservableType+PrimitiveSequence.swift"; sourceTree = ""; }; - 76E38510FE216365E4222F08958B7707 /* _RX.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = _RX.h; path = RxCocoa/Runtime/include/_RX.h; sourceTree = ""; }; - 7756249912B3D145EC6F0F62A57B9CC8 /* Cancelable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Cancelable.swift; path = RxSwift/Cancelable.swift; sourceTree = ""; }; - 778764F54479FBEBAF2EC8FE606C9623 /* Disposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Disposable.swift; path = RxSwift/Disposable.swift; sourceTree = ""; }; - 77A5A3B919F511F7B9FDA2E6797F0043 /* RxTextViewDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTextViewDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxTextViewDelegateProxy.swift; sourceTree = ""; }; - 78D703BE7900DBDB740CFF38514926B1 /* SynchronizedDisposeType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SynchronizedDisposeType.swift; path = RxSwift/Concurrency/SynchronizedDisposeType.swift; sourceTree = ""; }; - 7A29580A03B3FF8779FB2DD77EFB055D /* RxTableViewDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTableViewDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxTableViewDelegateProxy.swift; sourceTree = ""; }; - 7AD237A977FD1FD80AD8705516E6179F /* RxSwift-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxSwift-umbrella.h"; sourceTree = ""; }; - 7B6D0654706E29F82628B2AFF00CD720 /* Pods-RxApolloClient_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-RxApolloClient_Example-umbrella.h"; sourceTree = ""; }; - 7C38464AEBE91F91270C2182BAD058E5 /* NSSlider+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSSlider+Rx.swift"; path = "RxCocoa/macOS/NSSlider+Rx.swift"; sourceTree = ""; }; - 7C957A71F3F2CFBD9A6C01830B546524 /* CurrentThreadScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CurrentThreadScheduler.swift; path = RxSwift/Schedulers/CurrentThreadScheduler.swift; sourceTree = ""; }; - 7CE48F2581229159B66A5BBCB3834B27 /* RxSwift.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxSwift.modulemap; sourceTree = ""; }; - 7CEB5DE923D983C70445CFC1EB73EFD8 /* RxCollectionViewReactiveArrayDataSource.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCollectionViewReactiveArrayDataSource.swift; path = RxCocoa/iOS/DataSources/RxCollectionViewReactiveArrayDataSource.swift; sourceTree = ""; }; - 7D117B94B96D093933D6346C5CF4F8D9 /* RxTextStorageDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTextStorageDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxTextStorageDelegateProxy.swift; sourceTree = ""; }; - 7F203D09AD9595C368CCF0A0062759E2 /* UIActivityIndicatorView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIActivityIndicatorView+Rx.swift"; path = "RxCocoa/iOS/UIActivityIndicatorView+Rx.swift"; sourceTree = ""; }; - 7F6BE4DEAFF5533A4FB279D7EF05179B /* ShareReplayScope.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ShareReplayScope.swift; path = RxSwift/Observables/ShareReplayScope.swift; sourceTree = ""; }; - 8007867B84728C6D1852D34E9C46E63F /* InfiniteSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InfiniteSequence.swift; path = Platform/DataStructures/InfiniteSequence.swift; sourceTree = ""; }; - 810831A4F091DC7CE90AE41BEDE27254 /* DelegateProxyType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DelegateProxyType.swift; path = RxCocoa/Common/DelegateProxyType.swift; sourceTree = ""; }; - 8150BE4084DB963FB6F4647545496FD0 /* CombineLatest+Collection.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CombineLatest+Collection.swift"; path = "RxSwift/Observables/CombineLatest+Collection.swift"; sourceTree = ""; }; - 8159664995FEC4A5C033C22C83D3C943 /* Platform.Darwin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Platform.Darwin.swift; path = Platform/Platform.Darwin.swift; sourceTree = ""; }; - 81779B1EFA6908EC5FE9A21F1A8AAD02 /* RxOptional-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxOptional-umbrella.h"; sourceTree = ""; }; - 8233D44F5012F549C6C42CA2789A55D2 /* InvocableScheduledItem.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InvocableScheduledItem.swift; path = RxSwift/Schedulers/Internal/InvocableScheduledItem.swift; sourceTree = ""; }; - 83B577F27C1E4EB8F05F4014C8E6A07B /* UINavigationItem+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UINavigationItem+Rx.swift"; path = "RxCocoa/iOS/UINavigationItem+Rx.swift"; sourceTree = ""; }; - 84198E66965EAF39971E830720C2548C /* RxSearchControllerDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxSearchControllerDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxSearchControllerDelegateProxy.swift; sourceTree = ""; }; - 84CF78B3C6E85D8A033F7E3C1D5DF38E /* SharedSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SharedSequence.swift; path = RxCocoa/Traits/SharedSequence/SharedSequence.swift; sourceTree = ""; }; - 857A37DCD449586E77F1E5D04EF09708 /* DeprecationWarner.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DeprecationWarner.swift; path = Platform/DeprecationWarner.swift; sourceTree = ""; }; - 8601C23F3204E8291A4E3B4E330A95E6 /* PriorityQueue.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PriorityQueue.swift; path = Platform/DataStructures/PriorityQueue.swift; sourceTree = ""; }; - 8632A8BF7C193BCDAEA2C090C1011616 /* Enumerated.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Enumerated.swift; path = RxSwift/Observables/Enumerated.swift; sourceTree = ""; }; - 874962109223DA52B5067BFE010ED063 /* Pods-RxApolloClient_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-RxApolloClient_Tests.debug.xcconfig"; sourceTree = ""; }; - 8849FC529FE6DB996CFCA6D3A93BA7A3 /* Sequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Sequence.swift; path = RxSwift/Observables/Sequence.swift; sourceTree = ""; }; - 88C6E206007802F0EB7EFA6C271D1EFB /* ObservableConvertibleType+SharedSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableConvertibleType+SharedSequence.swift"; path = "RxCocoa/Traits/SharedSequence/ObservableConvertibleType+SharedSequence.swift"; sourceTree = ""; }; - 892969BBEB976B28F69D08FDF9E1BD64 /* SubjectType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SubjectType.swift; path = RxSwift/Subjects/SubjectType.swift; sourceTree = ""; }; - 894138062A72A0CEFB2F528DB2FF9D13 /* RxAtomic-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxAtomic-prefix.pch"; sourceTree = ""; }; - 89E3EA730E52636322C8EE752C57D63D /* Pods-RxApolloClient_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-RxApolloClient_Example-acknowledgements.markdown"; sourceTree = ""; }; - 8AA146A7007145C969DE8262FE393279 /* UIApplication+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIApplication+Rx.swift"; path = "RxCocoa/iOS/UIApplication+Rx.swift"; sourceTree = ""; }; - 8ABD57AF143D7DA582E510ECE1B1A57D /* NopDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NopDisposable.swift; path = RxSwift/Disposables/NopDisposable.swift; sourceTree = ""; }; - 8C64F172655188FDD304E92AE09646CC /* Errors.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Errors.swift; path = RxSwift/Errors.swift; sourceTree = ""; }; - 8DAC18FA6B63D178982027F3927CB1FB /* PriorityQueue.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PriorityQueue.swift; path = Platform/DataStructures/PriorityQueue.swift; sourceTree = ""; }; - 8DDA4E8E74C50501892452BE48AEE338 /* RxAtomic.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = RxAtomic.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 8DE7D077CC9A244673E45815DF0E1FE6 /* SchedulerType+SharedSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SchedulerType+SharedSequence.swift"; path = "RxCocoa/Traits/SharedSequence/SchedulerType+SharedSequence.swift"; sourceTree = ""; }; - 8E3D032B25F2FFC18E9C3CF03916114E /* ConcurrentDispatchQueueScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConcurrentDispatchQueueScheduler.swift; path = RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift; sourceTree = ""; }; - 8E8AD240A67EAA7C76CFA43FC09BB57B /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; - 8ED3687C5EEA267A7B1966D126875599 /* RxAtomic-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxAtomic-umbrella.h"; sourceTree = ""; }; - 8EE0E30DE97FA1971A12036A210FF9EA /* Apollo.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Apollo.xcconfig; sourceTree = ""; }; - 8F8F0C49807B0F45E197C7CDF31E378A /* AsSingle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsSingle.swift; path = RxSwift/Observables/AsSingle.swift; sourceTree = ""; }; - 8FF4CC97DAD9A3B773869E85C4EE03F9 /* DataLoader.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DataLoader.swift; path = Sources/Apollo/DataLoader.swift; sourceTree = ""; }; - 90089D3CD16EE5206AC2F980ED5F6210 /* Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Rx.swift; path = RxSwift/Rx.swift; sourceTree = ""; }; - 90D8BB0D550C40691182477DE284106E /* RecursiveLock.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RecursiveLock.swift; path = Platform/RecursiveLock.swift; sourceTree = ""; }; - 91F84259F33839C7EB0604156DF7EB6C /* UIScrollView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIScrollView+Rx.swift"; path = "RxCocoa/iOS/UIScrollView+Rx.swift"; sourceTree = ""; }; - 9344DE6DEC6340BE8FE41F5FDD10DE3C /* ObservableConvertibleType+Driver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableConvertibleType+Driver.swift"; path = "RxCocoa/Traits/Driver/ObservableConvertibleType+Driver.swift"; sourceTree = ""; }; - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 9445D3DC4F6E620DAF868638B0822C2F /* AnonymousObserver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnonymousObserver.swift; path = RxSwift/Observers/AnonymousObserver.swift; sourceTree = ""; }; - 95232089AE0AFB4DB725775E9944B825 /* Map.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Map.swift; path = RxSwift/Observables/Map.swift; sourceTree = ""; }; - 95E704AADC1A42FE7E45F59D6BE9BA54 /* Zip+Collection.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Zip+Collection.swift"; path = "RxSwift/Observables/Zip+Collection.swift"; sourceTree = ""; }; - 95FAE17BBBEA60E345EA70953BD564E8 /* UIAlertAction+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIAlertAction+Rx.swift"; path = "RxCocoa/iOS/UIAlertAction+Rx.swift"; sourceTree = ""; }; - 96489C27B8D7BD9E009CD6F6A142791E /* DelaySubscription.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DelaySubscription.swift; path = RxSwift/Observables/DelaySubscription.swift; sourceTree = ""; }; - 96A2F62395889715DCB223ACD20D3931 /* ToArray.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ToArray.swift; path = RxSwift/Observables/ToArray.swift; sourceTree = ""; }; - 979080715DC9EFF8FFE31A58EAC306F9 /* JSON.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = JSON.swift; path = Sources/Apollo/JSON.swift; sourceTree = ""; }; - 97EDB1BB61278F86DE674D6AC7C796F4 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 99D9F15A622B2EA35BF35E0FBC3B65ED /* RxOptional-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxOptional-dummy.m"; sourceTree = ""; }; - 9AA974E7C2DC002A2AFB3EF5E5EE4E20 /* KVORepresentable+Swift.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "KVORepresentable+Swift.swift"; path = "RxCocoa/Foundation/KVORepresentable+Swift.swift"; sourceTree = ""; }; - 9AB73FE1A5634A3804A1B09CF327B1B0 /* Catch.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Catch.swift; path = RxSwift/Observables/Catch.swift; sourceTree = ""; }; - 9AE230A3342D22B9CA2D0F5D86A44736 /* Concat.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Concat.swift; path = RxSwift/Observables/Concat.swift; sourceTree = ""; }; - 9BFBBF065A7CD5E487C106E2DB59A4D7 /* RxCocoaObjCRuntimeError+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "RxCocoaObjCRuntimeError+Extensions.swift"; path = "RxCocoa/Common/RxCocoaObjCRuntimeError+Extensions.swift"; sourceTree = ""; }; - 9CDA2F48336694814CE3F26E270C3292 /* KVORepresentable+CoreGraphics.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "KVORepresentable+CoreGraphics.swift"; path = "RxCocoa/Foundation/KVORepresentable+CoreGraphics.swift"; sourceTree = ""; }; - 9CEC7D08F2BDECAD2F5D6A5C0D686C1A /* Pods-RxApolloClient_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-RxApolloClient_Example.modulemap"; sourceTree = ""; }; - 9D18625367F17D3456B7AC300382CB45 /* Logging.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Logging.swift; path = RxCocoa/Foundation/Logging.swift; sourceTree = ""; }; - 9DA7F8EE5ABAF608C1612946CF809BCB /* UIBarButtonItem+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIBarButtonItem+Rx.swift"; path = "RxCocoa/iOS/UIBarButtonItem+Rx.swift"; sourceTree = ""; }; - 9EE8596428FB81033A424FF21B43BA38 /* Repeat.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Repeat.swift; path = RxSwift/Observables/Repeat.swift; sourceTree = ""; }; - 9FBF37353303B6700B5DF17184EF5296 /* UIButton+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIButton+Rx.swift"; path = "RxCocoa/iOS/UIButton+Rx.swift"; sourceTree = ""; }; - 9FC9B90BB8B2F57C171D54855435E600 /* Skip.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Skip.swift; path = RxSwift/Observables/Skip.swift; sourceTree = ""; }; - A0476DDDD5F88A517A6B72C6009716EB /* SharedSequence+Occupiable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SharedSequence+Occupiable.swift"; path = "Source/SharedSequence+Occupiable.swift"; sourceTree = ""; }; - A076892DBC24B86AD51BE14B76825787 /* RetryWhen.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RetryWhen.swift; path = RxSwift/Observables/RetryWhen.swift; sourceTree = ""; }; - A0EFB493ACA0903E64FE79A5DDBEC76B /* Pods-RxApolloClient_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-RxApolloClient_Example-frameworks.sh"; sourceTree = ""; }; - A1FB1E70ABF7DD4CA2094C4611F7C81B /* RxOptional.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = RxOptional.framework; path = RxOptional.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - A227360EB2D2429109440723EC3655A9 /* RxTableViewDataSourceProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTableViewDataSourceProxy.swift; path = RxCocoa/iOS/Proxies/RxTableViewDataSourceProxy.swift; sourceTree = ""; }; - A2B5277677D929F905E682025A48323D /* GraphQLDependencyTracker.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GraphQLDependencyTracker.swift; path = Sources/Apollo/GraphQLDependencyTracker.swift; sourceTree = ""; }; - A2FCCA94055AC5A81E419269DF54742C /* ImmediateSchedulerType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImmediateSchedulerType.swift; path = RxSwift/ImmediateSchedulerType.swift; sourceTree = ""; }; - A629A2D0470F7D9498C0A562337C1267 /* RxAtomic.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxAtomic.modulemap; sourceTree = ""; }; - A6C25A0E8D59237634803A6E41084698 /* HistoricalScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HistoricalScheduler.swift; path = RxSwift/Schedulers/HistoricalScheduler.swift; sourceTree = ""; }; - A7C568497376836434FD2107A58BBE67 /* SchedulerType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SchedulerType.swift; path = RxSwift/SchedulerType.swift; sourceTree = ""; }; - A7E6240041F1E4B5BD971124E0D27C33 /* DispatchQueue+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DispatchQueue+Extensions.swift"; path = "Platform/DispatchQueue+Extensions.swift"; sourceTree = ""; }; - A874D590F4800065B9D01216445A4541 /* UIViewController+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIViewController+Rx.swift"; path = "RxCocoa/iOS/UIViewController+Rx.swift"; sourceTree = ""; }; - A8BC07A4D7CE713AF16B347E1CDD5CF1 /* Materialize.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Materialize.swift; path = RxSwift/Observables/Materialize.swift; sourceTree = ""; }; - A99304F0F432EA36C46A07272E271F6F /* RxPickerViewDataSourceType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxPickerViewDataSourceType.swift; path = RxCocoa/iOS/Protocols/RxPickerViewDataSourceType.swift; sourceTree = ""; }; - AA675918C09B6125CE50CC2D9DCBCE7B /* _RX.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = _RX.m; path = RxCocoa/Runtime/_RX.m; sourceTree = ""; }; - AA85129DC0684DD5DE0D9888041718E0 /* RxOptional-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxOptional-prefix.pch"; sourceTree = ""; }; - AADB7F159C80BD701AB79E6699B90980 /* Debounce.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Debounce.swift; path = RxSwift/Observables/Debounce.swift; sourceTree = ""; }; - AAF6ACF71BE4014EEEB10AC0D385ABE7 /* Never.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Never.swift; path = RxSwift/Observables/Never.swift; sourceTree = ""; }; - AB4F0DF49F419F6D7B197E890A676F5E /* Deprecated.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Deprecated.swift; path = RxCocoa/Deprecated.swift; sourceTree = ""; }; - AC3B7425947BD3AB7D1E4A7C1B06F666 /* UINavigationController+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UINavigationController+Rx.swift"; path = "RxCocoa/iOS/UINavigationController+Rx.swift"; sourceTree = ""; }; - AD6FBE7362849C86B05AF7CEB2556537 /* RecursiveScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RecursiveScheduler.swift; path = RxSwift/Schedulers/RecursiveScheduler.swift; sourceTree = ""; }; - ADCE2BD91D2C4EF83050345081AC9DE9 /* SharedSequence+Operators+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SharedSequence+Operators+arity.swift"; path = "RxCocoa/Traits/SharedSequence/SharedSequence+Operators+arity.swift"; sourceTree = ""; }; - AE23EC5C25434DB14F2F377CBD14ED9D /* ItemEvents.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ItemEvents.swift; path = RxCocoa/iOS/Events/ItemEvents.swift; sourceTree = ""; }; - AEB8FC33C9981316B3B7EE8AD4276CC5 /* UIView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIView+Rx.swift"; path = "RxCocoa/iOS/UIView+Rx.swift"; sourceTree = ""; }; - AFEEAAF7C1B4979B17CD0BA3AD846E94 /* DefaultIfEmpty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DefaultIfEmpty.swift; path = RxSwift/Observables/DefaultIfEmpty.swift; sourceTree = ""; }; - B043C08D9A585CFC891E35978E8095BA /* SubscriptionDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SubscriptionDisposable.swift; path = RxSwift/Disposables/SubscriptionDisposable.swift; sourceTree = ""; }; - B068B5B7E528147DE663B738EFF5CAF9 /* SerialDispatchQueueScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SerialDispatchQueueScheduler.swift; path = RxSwift/Schedulers/SerialDispatchQueueScheduler.swift; sourceTree = ""; }; - B077CFD303A2FB01A285F19EE7A10E22 /* _RXKVOObserver.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = _RXKVOObserver.m; path = RxCocoa/Runtime/_RXKVOObserver.m; sourceTree = ""; }; - B0AAC88DD983A01FB86C692E6F1BE2F0 /* RxApolloClient.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxApolloClient.modulemap; sourceTree = ""; }; - B0F9E565EFE325420B4F13DCB403F1E4 /* SkipWhile.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SkipWhile.swift; path = RxSwift/Observables/SkipWhile.swift; sourceTree = ""; }; - B20D96DA2F9ED4448E4E9218C777DA6E /* InMemoryNormalizedCache.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InMemoryNormalizedCache.swift; path = Sources/Apollo/InMemoryNormalizedCache.swift; sourceTree = ""; }; - B34AA80746A95303927C52E990632495 /* AsynchronousOperation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsynchronousOperation.swift; path = Sources/Apollo/AsynchronousOperation.swift; sourceTree = ""; }; - B4BDD6EC4D64D0E6D59D99D4FE0D8432 /* NSTextStorage+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSTextStorage+Rx.swift"; path = "RxCocoa/iOS/NSTextStorage+Rx.swift"; sourceTree = ""; }; - B567F960714E9C64BFD41E6BBE6F84E5 /* ApolloClient+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ApolloClient+Rx.swift"; path = "RxApolloClient/Classes/ApolloClient+Rx.swift"; sourceTree = ""; }; - B67DC2EEB64DE0EBEB287983E5B63C0A /* ConnectableObservableType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConnectableObservableType.swift; path = RxSwift/ConnectableObservableType.swift; sourceTree = ""; }; - B7362036A548AD3DB941D9332AF8DDC4 /* Merge.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Merge.swift; path = RxSwift/Observables/Merge.swift; sourceTree = ""; }; - B73EC43637142A341B26359E142E2568 /* UIControl+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIControl+Rx.swift"; path = "RxCocoa/iOS/UIControl+Rx.swift"; sourceTree = ""; }; - B7C0C0104A2BC82F9F4E1365568C40A5 /* RxCocoa.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxCocoa.modulemap; sourceTree = ""; }; - B7CA8239863C08395119E78D16E2147B /* Signal+Subscription.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Signal+Subscription.swift"; path = "RxCocoa/Traits/Signal/Signal+Subscription.swift"; sourceTree = ""; }; - B8A8756EF2B824281BFE2D9627E9ED46 /* RxOptional.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxOptional.modulemap; sourceTree = ""; }; - B988F5275EB2D20F6E11561E9828C458 /* NSButton+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSButton+Rx.swift"; path = "RxCocoa/macOS/NSButton+Rx.swift"; sourceTree = ""; }; - BAA2123371E4567A6EF2A40989E18BF0 /* UITabBar+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITabBar+Rx.swift"; path = "RxCocoa/iOS/UITabBar+Rx.swift"; sourceTree = ""; }; - BB85D74507FCA83F9D4C97E7520A9A7E /* SynchronizedOnType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SynchronizedOnType.swift; path = RxSwift/Concurrency/SynchronizedOnType.swift; sourceTree = ""; }; - BBC5312B10850BFC0DB5157D67A58818 /* RxPickerViewAdapter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxPickerViewAdapter.swift; path = RxCocoa/iOS/DataSources/RxPickerViewAdapter.swift; sourceTree = ""; }; - BC119975599CE3DF272C6A6DD33EECE2 /* RxTableViewDataSourcePrefetchingProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTableViewDataSourcePrefetchingProxy.swift; path = RxCocoa/iOS/Proxies/RxTableViewDataSourcePrefetchingProxy.swift; sourceTree = ""; }; - BD8ECF8D7D139EFE03A0D674A033B793 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - BDEA2CB44BD8C70D778FD9313E0BC4FD /* Event.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Event.swift; path = RxSwift/Event.swift; sourceTree = ""; }; - BE8DB1609EF1FC0D98A9F3CFAC35315D /* Observable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Observable.swift; path = RxSwift/Observable.swift; sourceTree = ""; }; - BEB37D0B78E7E378222D26734D137632 /* ObserverType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObserverType.swift; path = RxSwift/ObserverType.swift; sourceTree = ""; }; - C16ECFA456E7413C3C21C7ACF13EEF2A /* RxCocoa.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = RxCocoa.h; path = RxCocoa/RxCocoa.h; sourceTree = ""; }; - C20479F02C5C8AF0B00397C9CF35627E /* GraphQLExecutor.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GraphQLExecutor.swift; path = Sources/Apollo/GraphQLExecutor.swift; sourceTree = ""; }; - C284D06F131C802EBA11C3A855AEFD81 /* RxTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTarget.swift; path = RxCocoa/Common/RxTarget.swift; sourceTree = ""; }; - C2D875B27F37069203C623BF7E5E0393 /* Producer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Producer.swift; path = RxSwift/Observables/Producer.swift; sourceTree = ""; }; - C437E0E2EE08D1AEE1EA95726360C475 /* RxSearchBarDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxSearchBarDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxSearchBarDelegateProxy.swift; sourceTree = ""; }; - C5B2BA49146245D1E62258C36FBC2BD5 /* Pods-RxApolloClient_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-RxApolloClient_Tests-resources.sh"; sourceTree = ""; }; - C6035D4D2828FBE031CE8479F5578175 /* RxPickerViewDataSourceProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxPickerViewDataSourceProxy.swift; path = RxCocoa/iOS/Proxies/RxPickerViewDataSourceProxy.swift; sourceTree = ""; }; - C63F6B4ED7DD09D8C0FF8540D6589E80 /* Completable+AndThen.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Completable+AndThen.swift"; path = "RxSwift/Traits/Completable+AndThen.swift"; sourceTree = ""; }; - C6B73A21E6B4216AE772D1251B9D1090 /* UISlider+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UISlider+Rx.swift"; path = "RxCocoa/iOS/UISlider+Rx.swift"; sourceTree = ""; }; - C78458680A2A3BAAAB4CA3007B24CD79 /* ScheduledDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScheduledDisposable.swift; path = RxSwift/Disposables/ScheduledDisposable.swift; sourceTree = ""; }; - C7B73BBA754283CF3CBBB992D601DF78 /* Zip.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Zip.swift; path = RxSwift/Observables/Zip.swift; sourceTree = ""; }; - C7D4DF27C5A21DB6930B5F70B1162FA9 /* PrimitiveSequence+Zip+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "PrimitiveSequence+Zip+arity.swift"; path = "RxSwift/Traits/PrimitiveSequence+Zip+arity.swift"; sourceTree = ""; }; - C82F710E4061D5A191568240173CE9F8 /* DelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DelegateProxy.swift; path = RxCocoa/Common/DelegateProxy.swift; sourceTree = ""; }; - C835B097E5E95BE13AD2FE51A741F21D /* AtomicInt.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AtomicInt.swift; path = Platform/AtomicInt.swift; sourceTree = ""; }; - C93E2072769ACE3588F539697B6E2754 /* Filter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Filter.swift; path = RxSwift/Observables/Filter.swift; sourceTree = ""; }; - CA5B33F564757ACC72407767CF6B35B3 /* DistinctUntilChanged.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DistinctUntilChanged.swift; path = RxSwift/Observables/DistinctUntilChanged.swift; sourceTree = ""; }; - CA80A4D14FE8E82372E3E96840F8E638 /* Apollo-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Apollo-umbrella.h"; sourceTree = ""; }; - CC99BA70A421DA6880B551AA3678F111 /* RxCocoa.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCocoa.swift; path = RxCocoa/RxCocoa.swift; sourceTree = ""; }; - CE5A9C61540923415D8CCEC219773BE8 /* AsyncSubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsyncSubject.swift; path = RxSwift/Subjects/AsyncSubject.swift; sourceTree = ""; }; - CFA3C764DC9C4D7719CFE8B20740D39B /* Bag.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Bag.swift; path = Platform/DataStructures/Bag.swift; sourceTree = ""; }; - D112A3ABEB90CA9FD5EF992FCFF8B0C6 /* Bag.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Bag.swift; path = Platform/DataStructures/Bag.swift; sourceTree = ""; }; - D18C3022ECD6E0497DEF5EF3F3BEB908 /* RxSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = RxSwift.framework; path = RxSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - D2CE66E4082D3D9829EE5C343A82828E /* UIGestureRecognizer+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIGestureRecognizer+Rx.swift"; path = "RxCocoa/iOS/UIGestureRecognizer+Rx.swift"; sourceTree = ""; }; - D3251C9C8045682C061A71986946CB4C /* ControlEvent+Signal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ControlEvent+Signal.swift"; path = "RxCocoa/Traits/Signal/ControlEvent+Signal.swift"; sourceTree = ""; }; - D3F890908F6F69E4A567B4469F0A6E42 /* UILabel+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UILabel+Rx.swift"; path = "RxCocoa/iOS/UILabel+Rx.swift"; sourceTree = ""; }; - D458E896ECECFB9DFCF1CC7882B8225C /* Pods-RxApolloClient_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-RxApolloClient_Tests-dummy.m"; sourceTree = ""; }; - D4647BC805F01704E2CA60D50F4CCF60 /* CombineLatest+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CombineLatest+arity.swift"; path = "RxSwift/Observables/CombineLatest+arity.swift"; sourceTree = ""; }; - D5604D7DC35C1F6413320B2C959E4E03 /* UIRefreshControl+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIRefreshControl+Rx.swift"; path = "RxCocoa/iOS/UIRefreshControl+Rx.swift"; sourceTree = ""; }; - D5EEC008780519BE04ABC8DEBECDB6A6 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - D644FE54726B5059D23D8667F6490297 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; - D6C801BB898659DABD01BB64A5EE0795 /* UIProgressView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIProgressView+Rx.swift"; path = "RxCocoa/iOS/UIProgressView+Rx.swift"; sourceTree = ""; }; - D7D8264F4199221A7B156B9291AF77A8 /* ObservableType+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableType+Extensions.swift"; path = "RxSwift/ObservableType+Extensions.swift"; sourceTree = ""; }; - D84CFE84DA0B1570DF503755C49AB62B /* Pods-RxApolloClient_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-RxApolloClient_Example-resources.sh"; sourceTree = ""; }; - DAAD8F7F2641FB72EC1C3FFE15BD407E /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - DAD3AD905F6CD960E6AD9B32B5590F99 /* KVORepresentable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KVORepresentable.swift; path = RxCocoa/Foundation/KVORepresentable.swift; sourceTree = ""; }; - DC4A081F6BE23F765842C65A9F9E548E /* Pods-RxApolloClient_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-RxApolloClient_Example.debug.xcconfig"; sourceTree = ""; }; - DE1EF3A11B28CB9C76F140A21B7DE914 /* SectionedViewDataSourceType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SectionedViewDataSourceType.swift; path = RxCocoa/Common/SectionedViewDataSourceType.swift; sourceTree = ""; }; - DF163D969F16C8A03AF24B663B303800 /* Error.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Error.swift; path = RxSwift/Observables/Error.swift; sourceTree = ""; }; - DF229A09B3A9EEDF468A042AD1021750 /* HTTPNetworkTransport.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HTTPNetworkTransport.swift; path = Sources/Apollo/HTTPNetworkTransport.swift; sourceTree = ""; }; - DF2E5D29B98A752607689521275D3911 /* NSImageView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSImageView+Rx.swift"; path = "RxCocoa/macOS/NSImageView+Rx.swift"; sourceTree = ""; }; - DFDEF13630B8D55C0DAD8DE5E65329C7 /* ResultOrPromise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ResultOrPromise.swift; path = Sources/Apollo/ResultOrPromise.swift; sourceTree = ""; }; - E0FA4497F55CF78BB6C62A80D88CA330 /* OptionalType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = OptionalType.swift; path = Source/OptionalType.swift; sourceTree = ""; }; - E1E1A010EFC7B5F4BC29168343D76F49 /* Pods-RxApolloClient_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-RxApolloClient_Tests-frameworks.sh"; sourceTree = ""; }; - E29C18480D4798265532F3A64F27DF30 /* RxCocoa.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxCocoa.xcconfig; sourceTree = ""; }; - E4A80D6B06852F1DE83C72A44D0C2831 /* Amb.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Amb.swift; path = RxSwift/Observables/Amb.swift; sourceTree = ""; }; - E64C9A9C12A9709A6B2F39AFC917485A /* Pods-RxApolloClient_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-RxApolloClient_Example.release.xcconfig"; sourceTree = ""; }; - E6584A9DB611FEC9D5C8EB2B93CF8093 /* DeprecationWarner.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DeprecationWarner.swift; path = Platform/DeprecationWarner.swift; sourceTree = ""; }; - E65D6844E54D7BE49F4A0C2AF9CFECEC /* GraphQLResponse.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GraphQLResponse.swift; path = Sources/Apollo/GraphQLResponse.swift; sourceTree = ""; }; - E77FB881C4D8A7042CE95BE4A753A698 /* GraphQLResult.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GraphQLResult.swift; path = Sources/Apollo/GraphQLResult.swift; sourceTree = ""; }; - E8654412CBFE048402F27EAEDACE4A45 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - EA94311DD645EFB9F193BA43072AB154 /* AnyObserver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnyObserver.swift; path = RxSwift/AnyObserver.swift; sourceTree = ""; }; - EB130A0F8E8BF8AEB797B1D77AB7253D /* RxAtomic.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = RxAtomic.framework; path = RxAtomic.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - EB7CB3BF86C5BBD73EBB58BBCD651E84 /* NetworkTransport.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NetworkTransport.swift; path = Sources/Apollo/NetworkTransport.swift; sourceTree = ""; }; - EBE590EF8C9AF4BC3F7B653493DF0472 /* RxCollectionViewDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCollectionViewDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxCollectionViewDelegateProxy.swift; sourceTree = ""; }; - EC2A1E51F9861AAE01EF6BCEA939AF7E /* GraphQLInputValue.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GraphQLInputValue.swift; path = Sources/Apollo/GraphQLInputValue.swift; sourceTree = ""; }; - EC666757BFB7F2D78C130B4D321E3FA6 /* BehaviorSubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BehaviorSubject.swift; path = RxSwift/Subjects/BehaviorSubject.swift; sourceTree = ""; }; - EC84B1B28EC676DA76DC9810EADA5648 /* VirtualTimeScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = VirtualTimeScheduler.swift; path = RxSwift/Schedulers/VirtualTimeScheduler.swift; sourceTree = ""; }; - ED6143880FD6517F19B09C9714621FCD /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - EE06EA18106B77D6F06CC30ACB1B5182 /* Create.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Create.swift; path = RxSwift/Observables/Create.swift; sourceTree = ""; }; - EE5A79A217CF34A3F211A12B10168D34 /* UISearchBar+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UISearchBar+Rx.swift"; path = "RxCocoa/iOS/UISearchBar+Rx.swift"; sourceTree = ""; }; - F2A48E669338062C05727C3B3C5D813B /* ControlProperty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ControlProperty.swift; path = RxCocoa/Traits/ControlProperty.swift; sourceTree = ""; }; - F32046DE83C918B86F871ECF8ADF95C3 /* GraphQLSelectionSetMapper.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GraphQLSelectionSetMapper.swift; path = Sources/Apollo/GraphQLSelectionSetMapper.swift; sourceTree = ""; }; - F33C079443A84F00582E20AA4C5C2FFF /* Pods-RxApolloClient_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-RxApolloClient_Tests-acknowledgements.markdown"; sourceTree = ""; }; - F361190E8C2BB671D67201BB463A189D /* Throttle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Throttle.swift; path = RxSwift/Observables/Throttle.swift; sourceTree = ""; }; - F5B65F0960DCD65CE4B6BC4C5FDCF2EE /* ControlProperty+Driver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ControlProperty+Driver.swift"; path = "RxCocoa/Traits/Driver/ControlProperty+Driver.swift"; sourceTree = ""; }; - F5B78B80BD8B896A0BA5876A6AE062F2 /* DisposeBase.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DisposeBase.swift; path = RxSwift/Disposables/DisposeBase.swift; sourceTree = ""; }; - F5EC638657F0856389ACA58EB52D101F /* ObserverBase.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObserverBase.swift; path = RxSwift/Observers/ObserverBase.swift; sourceTree = ""; }; - F60A947570067866E8A2507210DDDAE6 /* RecordSet.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RecordSet.swift; path = Sources/Apollo/RecordSet.swift; sourceTree = ""; }; - F6A3D95F4036D376B1D8F6AD5168011F /* Multicast.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Multicast.swift; path = RxSwift/Observables/Multicast.swift; sourceTree = ""; }; - F6DB77D280BD96ECC32EFD2392C70DA1 /* UITableView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITableView+Rx.swift"; path = "RxCocoa/iOS/UITableView+Rx.swift"; sourceTree = ""; }; - F7A9E8D9D2F491CCCCFB4CD3E9CFD94F /* ObservableType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObservableType.swift; path = RxSwift/ObservableType.swift; sourceTree = ""; }; - F8793B8E1DCBB63DD1178A7C85F8C1BA /* Lock.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Lock.swift; path = RxSwift/Concurrency/Lock.swift; sourceTree = ""; }; - F8FE3D06FBED83696491039F133146BA /* Using.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Using.swift; path = RxSwift/Observables/Using.swift; sourceTree = ""; }; - F97217B26E14BDE1D2DD63063FD494A2 /* ApolloStore.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ApolloStore.swift; path = Sources/Apollo/ApolloStore.swift; sourceTree = ""; }; - FA8F339004D5334B957E97ABB0C1CD69 /* JSONStandardTypeConversions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = JSONStandardTypeConversions.swift; path = Sources/Apollo/JSONStandardTypeConversions.swift; sourceTree = ""; }; - FDA39B1C1C004DB798F8BD9F6D64C139 /* UITextField+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITextField+Rx.swift"; path = "RxCocoa/iOS/UITextField+Rx.swift"; sourceTree = ""; }; - FE6CF3F11CA4A9F2594C845967B3D1B5 /* Timeout.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Timeout.swift; path = RxSwift/Observables/Timeout.swift; sourceTree = ""; }; - FF9CFA4067939F08A0515B18F9CBFD7D /* Driver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Driver.swift; path = RxCocoa/Traits/Driver/Driver.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 4BB2520A646C71906E698E78713DE72F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 2C7442A10E4DAEF0F99A047E281C34E4 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 68164BA140DB75F90B91AD772E1E4859 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 5E6537F800FD32E725818E67135F5ABF /* Foundation.framework in Frameworks */, - 223762E7CBD19D3FD31DD4053894B044 /* RxAtomic.framework in Frameworks */, - 6E00E82EB95FD5EBA8E8112ED3A19CF1 /* RxSwift.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 70E824544E79685CA676909AE59DD592 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - D81ADD4A0FE2101A310C8F3DF7ABA055 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 8AD41B4734FE500E3E3D0933E9521019 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 13FF2F2D68DDE9BCB77DF40C161BA52D /* Foundation.framework in Frameworks */, - 704270B4BF04425D62763CEFABBDB566 /* RxAtomic.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 95927FA561014C798DE0ACB870856241 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 8E9DFBBC59CC40F1F5EB83C42AC93F28 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B21F02E088018BF202C141B2492AF5DE /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 753E648927789C7EA9DC80AF368007C1 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E485D32D6EAF619B0CEB6E4815B7EEF2 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 2461874706FC921D1B59FCBFFE523833 /* Apollo.framework in Frameworks */, - 52C9A191B1C712A20026958B4137A72F /* Foundation.framework in Frameworks */, - 75004EC10F6A8E8980953FF3815B85C9 /* RxAtomic.framework in Frameworks */, - AAC891EE725FB88D649DE20B53B2230D /* RxSwift.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - F292C5A15BCBDB49920FD40C8F97F8C9 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - F5418606C4A1DC52E8862294578BFBED /* Foundation.framework in Frameworks */, - 92A1A7B3AF9BDDF3A8A4C972B2B88E9B /* RxAtomic.framework in Frameworks */, - 3B52537444524E676955A5C22C52E872 /* RxCocoa.framework in Frameworks */, - 23FF66734E1B2DAEB6F79F816B71EB36 /* RxSwift.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 0729DEF5BE1471536BD0537F49CA96CA /* Products */ = { - isa = PBXGroup; - children = ( - 32BAF943E7F63B0A04D305C11416609B /* Apollo.framework */, - 1358BBEC9AD7716D6053984E18A80FC9 /* Pods_RxApolloClient_Example.framework */, - 614B1B914226551DC8855D828538C332 /* Pods_RxApolloClient_Tests.framework */, - 22CCC77226E810B4F8B05DB0D3B6C89E /* RxApolloClient.framework */, - EB130A0F8E8BF8AEB797B1D77AB7253D /* RxAtomic.framework */, - 00F3C527001BF86C90F94232FC336D35 /* RxCocoa.framework */, - A1FB1E70ABF7DD4CA2094C4611F7C81B /* RxOptional.framework */, - D18C3022ECD6E0497DEF5EF3F3BEB908 /* RxSwift.framework */, - ); - name = Products; - sourceTree = ""; - }; - 089BDBC392C2E5750C271D48AD82187D /* Frameworks */ = { - isa = PBXGroup; - children = ( - 74BE12607655F7401F634BD1D02936DE /* Apollo.framework */, - 8DDA4E8E74C50501892452BE48AEE338 /* RxAtomic.framework */, - 4CC972E759D3C9F383EB386036841FF1 /* RxCocoa.framework */, - 37599E14563D32F38D9BE84B6688CAC8 /* RxSwift.framework */, - AC24FF03D310BD50AE3AF4AE18A2DF53 /* iOS */, - ); - name = Frameworks; - sourceTree = ""; - }; - 08E17323646DF5D22B55AECDAAAE5F61 /* Resources */ = { - isa = PBXGroup; - children = ( - 7417EC1588B9E62392B0CA3E0B6E6FCB /* check-and-run-apollo-cli.sh */, - 4C916BA221FA97A6164459D2ED5F98DA /* check-and-run-apollo-codegen.sh */, - ); - name = Resources; - sourceTree = ""; - }; - 15D61BF1EBC9A41EEA3AF050A71EA6B1 /* Core */ = { - isa = PBXGroup; - children = ( - 72A63533EED7A521093EB1418B1F91F9 /* ApolloClient.swift */, - F97217B26E14BDE1D2DD63063FD494A2 /* ApolloStore.swift */, - B34AA80746A95303927C52E990632495 /* AsynchronousOperation.swift */, - 1232B7DD0FC0ABE00B4B9DB415E33945 /* Collections.swift */, - 8FF4CC97DAD9A3B773869E85C4EE03F9 /* DataLoader.swift */, - A2B5277677D929F905E682025A48323D /* GraphQLDependencyTracker.swift */, - 35ABAFE0B74BEC5CD59F387288E59A72 /* GraphQLError.swift */, - C20479F02C5C8AF0B00397C9CF35627E /* GraphQLExecutor.swift */, - EC2A1E51F9861AAE01EF6BCEA939AF7E /* GraphQLInputValue.swift */, - 27FF2DD85BEDB4B7805F70791E11EECE /* GraphQLOperation.swift */, - 290706380E08FDF6CCFD41A77ED9DBA8 /* GraphQLQueryWatcher.swift */, - E65D6844E54D7BE49F4A0C2AF9CFECEC /* GraphQLResponse.swift */, - 14F14B4AAC35E2D895064A7F666B883D /* GraphQLResponseGenerator.swift */, - E77FB881C4D8A7042CE95BE4A753A698 /* GraphQLResult.swift */, - 5BEFCF39E96967176F8DAFDFF1BD2889 /* GraphQLResultAccumulator.swift */, - 7552B2802CABD6CCD7289EAF07CEA90F /* GraphQLResultNormalizer.swift */, - 599F41751BB02CB9B9F367F50F952BBA /* GraphQLSelectionSet.swift */, - F32046DE83C918B86F871ECF8ADF95C3 /* GraphQLSelectionSetMapper.swift */, - DF229A09B3A9EEDF468A042AD1021750 /* HTTPNetworkTransport.swift */, - B20D96DA2F9ED4448E4E9218C777DA6E /* InMemoryNormalizedCache.swift */, - 979080715DC9EFF8FFE31A58EAC306F9 /* JSON.swift */, - 1DCBB58D0EA26002AEB7861850865A80 /* JSONSerializationFormat.swift */, - FA8F339004D5334B957E97ABB0C1CD69 /* JSONStandardTypeConversions.swift */, - 71A5EF1747D5793A55971016813AD56C /* Locking.swift */, - EB7CB3BF86C5BBD73EBB58BBCD651E84 /* NetworkTransport.swift */, - 52407E0B1B1098B9777D00326235A586 /* NormalizedCache.swift */, - 4FE27E6AEF2AB7635A3389D888A1A5C9 /* Promise.swift */, - 06AA825F62AD23DD15DA004BC2883A2C /* Record.swift */, - F60A947570067866E8A2507210DDDAE6 /* RecordSet.swift */, - 745C2D222472CE93634F6A2B5462EF1B /* Result.swift */, - DFDEF13630B8D55C0DAD8DE5E65329C7 /* ResultOrPromise.swift */, - 1E9C397F9BCC6D34FBAF390F4DD70AE5 /* Utilities.swift */, - 08E17323646DF5D22B55AECDAAAE5F61 /* Resources */, - ); - name = Core; - sourceTree = ""; - }; - 1A05927116A343A7A5AD558099E848EA /* Support Files */ = { - isa = PBXGroup; - children = ( - 62F2A1B9CD11142D99A5945779FE88F8 /* Info.plist */, - B0AAC88DD983A01FB86C692E6F1BE2F0 /* RxApolloClient.modulemap */, - 1C8947F7BACEBC1D5F947EB275D6DADC /* RxApolloClient.xcconfig */, - 06E673A88D8422C13947AE8F1CFA47EA /* RxApolloClient-dummy.m */, - 0644E1FE5F28385602C6F34C25F1D996 /* RxApolloClient-prefix.pch */, - 7118719593C70B61C173EF9D0573DE9F /* RxApolloClient-umbrella.h */, - ); - name = "Support Files"; - path = "Example/Pods/Target Support Files/RxApolloClient"; - sourceTree = ""; - }; - 23560A6FDD1CD9430474E35F317BC723 /* Pods-RxApolloClient_Example */ = { - isa = PBXGroup; - children = ( - ED6143880FD6517F19B09C9714621FCD /* Info.plist */, - 9CEC7D08F2BDECAD2F5D6A5C0D686C1A /* Pods-RxApolloClient_Example.modulemap */, - 89E3EA730E52636322C8EE752C57D63D /* Pods-RxApolloClient_Example-acknowledgements.markdown */, - 346007C888164E2A0E6A13EC5B3BD157 /* Pods-RxApolloClient_Example-acknowledgements.plist */, - 34F65380D6EBB0C01AED37F1AA86AFC9 /* Pods-RxApolloClient_Example-dummy.m */, - A0EFB493ACA0903E64FE79A5DDBEC76B /* Pods-RxApolloClient_Example-frameworks.sh */, - D84CFE84DA0B1570DF503755C49AB62B /* Pods-RxApolloClient_Example-resources.sh */, - 7B6D0654706E29F82628B2AFF00CD720 /* Pods-RxApolloClient_Example-umbrella.h */, - DC4A081F6BE23F765842C65A9F9E548E /* Pods-RxApolloClient_Example.debug.xcconfig */, - E64C9A9C12A9709A6B2F39AFC917485A /* Pods-RxApolloClient_Example.release.xcconfig */, - ); - name = "Pods-RxApolloClient_Example"; - path = "Target Support Files/Pods-RxApolloClient_Example"; - sourceTree = ""; - }; - 34D1C31BA383D665CD102CA2CE51A953 /* RxOptional */ = { - isa = PBXGroup; - children = ( - 0685E07249884EB68066739CB7DB414F /* Observable+Occupiable.swift */, - 323EB9DE28A18EFF775D10EE7DE9362A /* Observable+Optional.swift */, - 35336B58E3D957121BD1669EEC24276B /* Occupiable.swift */, - E0FA4497F55CF78BB6C62A80D88CA330 /* OptionalType.swift */, - 1BF3F5A019058D97B562F190735A0BD9 /* RxOptionalError.swift */, - A0476DDDD5F88A517A6B72C6009716EB /* SharedSequence+Occupiable.swift */, - 5AFEC14FE9265FA007E2B43F7EE75FCA /* SharedSequence+Optional.swift */, - 8AB4A7641DBEA74B330F8071A301E956 /* Support Files */, - ); - name = RxOptional; - path = RxOptional; - sourceTree = ""; - }; - 483C189316912FE9BACC33F904231BF7 /* RxAtomic */ = { - isa = PBXGroup; - children = ( - 4AE7FE1667EA892FA38F4920F4EEFB74 /* RxAtomic.c */, - 3715C1A3EF88BB4CCC039BE3615E7925 /* RxAtomic.h */, - AC31312E93D3021928DCB8027FE19302 /* Support Files */, - ); - name = RxAtomic; - path = RxAtomic; - sourceTree = ""; - }; - 640EDD6DBD8B8657922C4DBB951942D5 /* Pods-RxApolloClient_Tests */ = { - isa = PBXGroup; - children = ( - D5EEC008780519BE04ABC8DEBECDB6A6 /* Info.plist */, - 4F9FE4308F5659670B4D475BE07EDDF8 /* Pods-RxApolloClient_Tests.modulemap */, - F33C079443A84F00582E20AA4C5C2FFF /* Pods-RxApolloClient_Tests-acknowledgements.markdown */, - 3924105DE689EE7AE5F624AB3E30E65D /* Pods-RxApolloClient_Tests-acknowledgements.plist */, - D458E896ECECFB9DFCF1CC7882B8225C /* Pods-RxApolloClient_Tests-dummy.m */, - E1E1A010EFC7B5F4BC29168343D76F49 /* Pods-RxApolloClient_Tests-frameworks.sh */, - C5B2BA49146245D1E62258C36FBC2BD5 /* Pods-RxApolloClient_Tests-resources.sh */, - 684347C1443BEE408EE67EFF4A0AE43B /* Pods-RxApolloClient_Tests-umbrella.h */, - 874962109223DA52B5067BFE010ED063 /* Pods-RxApolloClient_Tests.debug.xcconfig */, - 57A55323FB4FA33A541311A7E59CDCFD /* Pods-RxApolloClient_Tests.release.xcconfig */, - ); - name = "Pods-RxApolloClient_Tests"; - path = "Target Support Files/Pods-RxApolloClient_Tests"; - sourceTree = ""; - }; - 6B4AEB42CB067237B9549819896814C1 /* Support Files */ = { - isa = PBXGroup; - children = ( - E8654412CBFE048402F27EAEDACE4A45 /* Info.plist */, - 7CE48F2581229159B66A5BBCB3834B27 /* RxSwift.modulemap */, - 5303752E1361267965F929A5FC02A91A /* RxSwift.xcconfig */, - 3B0F27C1AA650EC15A929B3A5C84473C /* RxSwift-dummy.m */, - 16B10F81CC2E48D2B4DCF81C26830D1F /* RxSwift-prefix.pch */, - 7AD237A977FD1FD80AD8705516E6179F /* RxSwift-umbrella.h */, - ); - name = "Support Files"; - path = "../Target Support Files/RxSwift"; - sourceTree = ""; - }; - 762BB9FCAEE9615ABEDD37363575E214 /* Support Files */ = { - isa = PBXGroup; - children = ( - 97EDB1BB61278F86DE674D6AC7C796F4 /* Info.plist */, - B7C0C0104A2BC82F9F4E1365568C40A5 /* RxCocoa.modulemap */, - E29C18480D4798265532F3A64F27DF30 /* RxCocoa.xcconfig */, - 3FD35E4DEFFF743216D19AA409D61D1C /* RxCocoa-dummy.m */, - 1E444B9B7A8316DF30776B14721CD523 /* RxCocoa-prefix.pch */, - 161127082E512B0F1DBBD44287BDEF95 /* RxCocoa-umbrella.h */, - ); - name = "Support Files"; - path = "../Target Support Files/RxCocoa"; - sourceTree = ""; - }; - 771ABBE6A9F0EADE89BC4782F1212033 /* RxCocoa */ = { - isa = PBXGroup; - children = ( - 76E38510FE216365E4222F08958B7707 /* _RX.h */, - AA675918C09B6125CE50CC2D9DCBCE7B /* _RX.m */, - 6D7F2D22896D6C097AC445CB5E1B1C3C /* _RXDelegateProxy.h */, - 132BDF33B0806947023380DB3BECA264 /* _RXDelegateProxy.m */, - 31FACB1D692B26A1FFDAE4A6ADA01FFF /* _RXKVOObserver.h */, - B077CFD303A2FB01A285F19EE7A10E22 /* _RXKVOObserver.m */, - 510C3597D8EBC17AED759D4B16E2DF6F /* _RXObjCRuntime.h */, - 51C0B722285F04962A1596626EBF934D /* _RXObjCRuntime.m */, - CFA3C764DC9C4D7719CFE8B20740D39B /* Bag.swift */, - 49ABD9B891C1ADD1E152FF4AE05C1F67 /* BehaviorRelay.swift */, - 1C67DE35E072A0CBBA1429F769CCB9F1 /* BehaviorRelay+Driver.swift */, - 39FDB51673B20EC7B9C72C47CC829C50 /* Binder.swift */, - 309D00BCE211313B34B7A3D1EEA5D159 /* ControlEvent.swift */, - 6EF8856B55C827167637C56535897800 /* ControlEvent+Driver.swift */, - D3251C9C8045682C061A71986946CB4C /* ControlEvent+Signal.swift */, - F2A48E669338062C05727C3B3C5D813B /* ControlProperty.swift */, - F5B65F0960DCD65CE4B6BC4C5FDCF2EE /* ControlProperty+Driver.swift */, - 6B8A4D25A5380C9FE808CFCFAF600797 /* ControlTarget.swift */, - C82F710E4061D5A191568240173CE9F8 /* DelegateProxy.swift */, - 810831A4F091DC7CE90AE41BEDE27254 /* DelegateProxyType.swift */, - AB4F0DF49F419F6D7B197E890A676F5E /* Deprecated.swift */, - E6584A9DB611FEC9D5C8EB2B93CF8093 /* DeprecationWarner.swift */, - 54E0A6B3CD53477655105A161B9C8DD7 /* DispatchQueue+Extensions.swift */, - FF9CFA4067939F08A0515B18F9CBFD7D /* Driver.swift */, - 5A816B7359BA077E619CFAC8F67FE6B1 /* Driver+Subscription.swift */, - 8007867B84728C6D1852D34E9C46E63F /* InfiniteSequence.swift */, - AE23EC5C25434DB14F2F377CBD14ED9D /* ItemEvents.swift */, - 0894BDC2C327F2BF914FF21050D64CE0 /* KeyPathBinder.swift */, - DAD3AD905F6CD960E6AD9B32B5590F99 /* KVORepresentable.swift */, - 9CDA2F48336694814CE3F26E270C3292 /* KVORepresentable+CoreGraphics.swift */, - 9AA974E7C2DC002A2AFB3EF5E5EE4E20 /* KVORepresentable+Swift.swift */, - 9D18625367F17D3456B7AC300382CB45 /* Logging.swift */, - 557431E38F54F3B3CD57683D1C1744D2 /* NotificationCenter+Rx.swift */, - B988F5275EB2D20F6E11561E9828C458 /* NSButton+Rx.swift */, - 53955DF606E34A2E1D885A4004DEDB7A /* NSControl+Rx.swift */, - DF2E5D29B98A752607689521275D3911 /* NSImageView+Rx.swift */, - 5F7EC3F6AD23E5B42B9DFF3F8A6533DC /* NSLayoutConstraint+Rx.swift */, - 2308B19C80C9687B2B4EBDA637614885 /* NSObject+Rx.swift */, - 4B18948AB84C4D2AC92124AA68818794 /* NSObject+Rx+KVORepresentable.swift */, - 3A11B53E2FF092010D6F359D4D3A23CD /* NSObject+Rx+RawRepresentable.swift */, - 7C38464AEBE91F91270C2182BAD058E5 /* NSSlider+Rx.swift */, - 55F4B21C6478E0E8B0A9D1130FB6C54A /* NSTextField+Rx.swift */, - B4BDD6EC4D64D0E6D59D99D4FE0D8432 /* NSTextStorage+Rx.swift */, - 4CF50B930F927EF726B830CD9E5DE383 /* NSTextView+Rx.swift */, - 0FC6AF814AEDDFA69E62B1DEAA3BB45B /* NSView+Rx.swift */, - 6D0B17828F1410C15A6B4DFD226AE057 /* Observable+Bind.swift */, - 9344DE6DEC6340BE8FE41F5FDD10DE3C /* ObservableConvertibleType+Driver.swift */, - 88C6E206007802F0EB7EFA6C271D1EFB /* ObservableConvertibleType+SharedSequence.swift */, - 24F4C29196350FE410D43688958BD801 /* ObservableConvertibleType+Signal.swift */, - 302ADEDC5A088D73DAB1519310FC3F4B /* Platform.Darwin.swift */, - 456FE9F87E1FAA7DE45D29439462238A /* Platform.Linux.swift */, - 8601C23F3204E8291A4E3B4E330A95E6 /* PriorityQueue.swift */, - 5C96EB0C014693747E95498F5064F02F /* PublishRelay.swift */, - 3BDD8A01CE1FA4F50F5A3B2824ED7955 /* PublishRelay+Signal.swift */, - 6CA225322250FCE3F5B22B7399EABB77 /* Queue.swift */, - 90D8BB0D550C40691182477DE284106E /* RecursiveLock.swift */, - C16ECFA456E7413C3C21C7ACF13EEF2A /* RxCocoa.h */, - CC99BA70A421DA6880B551AA3678F111 /* RxCocoa.swift */, - 9BFBBF065A7CD5E487C106E2DB59A4D7 /* RxCocoaObjCRuntimeError+Extensions.swift */, - 1525451BD0BCBAA119537F5B8463FE1E /* RxCocoaRuntime.h */, - 092EB597500DAAFD1DBF9F7F9D25D9D7 /* RxCollectionViewDataSourcePrefetchingProxy.swift */, - 50D5574EA7DF53CCBFBFC769EF87E126 /* RxCollectionViewDataSourceProxy.swift */, - 0E1B5112BE1DE22580428F8C587BAB3F /* RxCollectionViewDataSourceType.swift */, - EBE590EF8C9AF4BC3F7B653493DF0472 /* RxCollectionViewDelegateProxy.swift */, - 7CEB5DE923D983C70445CFC1EB73EFD8 /* RxCollectionViewReactiveArrayDataSource.swift */, - 110A8DC6A5C7575875B6667F5A397252 /* RxNavigationControllerDelegateProxy.swift */, - BBC5312B10850BFC0DB5157D67A58818 /* RxPickerViewAdapter.swift */, - C6035D4D2828FBE031CE8479F5578175 /* RxPickerViewDataSourceProxy.swift */, - A99304F0F432EA36C46A07272E271F6F /* RxPickerViewDataSourceType.swift */, - 38E53B91F10C88F6DF7C50831592F87E /* RxPickerViewDelegateProxy.swift */, - 512831A8D9EA52DD475BC4303E96242C /* RxScrollViewDelegateProxy.swift */, - C437E0E2EE08D1AEE1EA95726360C475 /* RxSearchBarDelegateProxy.swift */, - 84198E66965EAF39971E830720C2548C /* RxSearchControllerDelegateProxy.swift */, - 1D5B1C0E07A76829C3D0CCCE3BE773C0 /* RxTabBarControllerDelegateProxy.swift */, - 6865D915AA83C8D1DE54BF15945EC4D0 /* RxTabBarDelegateProxy.swift */, - BC119975599CE3DF272C6A6DD33EECE2 /* RxTableViewDataSourcePrefetchingProxy.swift */, - A227360EB2D2429109440723EC3655A9 /* RxTableViewDataSourceProxy.swift */, - 6C76CBF0A8759AEAA4EF4F53C938D3C4 /* RxTableViewDataSourceType.swift */, - 7A29580A03B3FF8779FB2DD77EFB055D /* RxTableViewDelegateProxy.swift */, - 5E599E2B690CF4848EB5A1124D4F4535 /* RxTableViewReactiveArrayDataSource.swift */, - C284D06F131C802EBA11C3A855AEFD81 /* RxTarget.swift */, - 7D117B94B96D093933D6346C5CF4F8D9 /* RxTextStorageDelegateProxy.swift */, - 77A5A3B919F511F7B9FDA2E6797F0043 /* RxTextViewDelegateProxy.swift */, - 73DFA02E15B1D31610B7584443A058AB /* RxWebViewDelegateProxy.swift */, - 8DE7D077CC9A244673E45815DF0E1FE6 /* SchedulerType+SharedSequence.swift */, - DE1EF3A11B28CB9C76F140A21B7DE914 /* SectionedViewDataSourceType.swift */, - 84CF78B3C6E85D8A033F7E3C1D5DF38E /* SharedSequence.swift */, - 56E5DD71F6331AE934EA2811A9301291 /* SharedSequence+Operators.swift */, - ADCE2BD91D2C4EF83050345081AC9DE9 /* SharedSequence+Operators+arity.swift */, - 28ED1D0F620697D350DF8B906354AD94 /* Signal.swift */, - B7CA8239863C08395119E78D16E2147B /* Signal+Subscription.swift */, - 6246A57FDDFFE2DCD24AAA43C97D8FC7 /* TextInput.swift */, - 7F203D09AD9595C368CCF0A0062759E2 /* UIActivityIndicatorView+Rx.swift */, - 95FAE17BBBEA60E345EA70953BD564E8 /* UIAlertAction+Rx.swift */, - 8AA146A7007145C969DE8262FE393279 /* UIApplication+Rx.swift */, - 9DA7F8EE5ABAF608C1612946CF809BCB /* UIBarButtonItem+Rx.swift */, - 9FBF37353303B6700B5DF17184EF5296 /* UIButton+Rx.swift */, - 2C7CECBD84748B980E0714C41F915E2D /* UICollectionView+Rx.swift */, - B73EC43637142A341B26359E142E2568 /* UIControl+Rx.swift */, - 6CB2B395FE94843667CEECBD3AE58B6A /* UIDatePicker+Rx.swift */, - D2CE66E4082D3D9829EE5C343A82828E /* UIGestureRecognizer+Rx.swift */, - 1D7707C317A956C3D55B95898D912A24 /* UIImageView+Rx.swift */, - D3F890908F6F69E4A567B4469F0A6E42 /* UILabel+Rx.swift */, - AC3B7425947BD3AB7D1E4A7C1B06F666 /* UINavigationController+Rx.swift */, - 83B577F27C1E4EB8F05F4014C8E6A07B /* UINavigationItem+Rx.swift */, - 54C204380BA710383162A4727CAC01CB /* UIPageControl+Rx.swift */, - 2190947D6C43983D8EA5507082491C34 /* UIPickerView+Rx.swift */, - D6C801BB898659DABD01BB64A5EE0795 /* UIProgressView+Rx.swift */, - D5604D7DC35C1F6413320B2C959E4E03 /* UIRefreshControl+Rx.swift */, - 91F84259F33839C7EB0604156DF7EB6C /* UIScrollView+Rx.swift */, - EE5A79A217CF34A3F211A12B10168D34 /* UISearchBar+Rx.swift */, - 57234EFD31BAF69272133F932D552E02 /* UISearchController+Rx.swift */, - 6840A8219A1C2854F99DE22EE5220741 /* UISegmentedControl+Rx.swift */, - C6B73A21E6B4216AE772D1251B9D1090 /* UISlider+Rx.swift */, - 65EC4020FD8C9074D59DAA1A1C60A0F4 /* UIStepper+Rx.swift */, - 6E91FDD22CAE673BDE08E8479FD3B025 /* UISwitch+Rx.swift */, - BAA2123371E4567A6EF2A40989E18BF0 /* UITabBar+Rx.swift */, - 0044E32B7E855DE5BA63AD477F0372FE /* UITabBarController+Rx.swift */, - 29DB638488AD4CC09FD68CF2F3B79EC8 /* UITabBarItem+Rx.swift */, - F6DB77D280BD96ECC32EFD2392C70DA1 /* UITableView+Rx.swift */, - FDA39B1C1C004DB798F8BD9F6D64C139 /* UITextField+Rx.swift */, - 148B20F2599CD4B7644256223DCF30F6 /* UITextView+Rx.swift */, - AEB8FC33C9981316B3B7EE8AD4276CC5 /* UIView+Rx.swift */, - A874D590F4800065B9D01216445A4541 /* UIViewController+Rx.swift */, - 0C323A013311D528147F3F6D141E6056 /* UIWebView+Rx.swift */, - 41EE1499082862A963DD1DBD0682DF0F /* URLSession+Rx.swift */, - 762BB9FCAEE9615ABEDD37363575E214 /* Support Files */, - ); - name = RxCocoa; - path = RxCocoa; - sourceTree = ""; - }; - 7D1D102B1A394B96F349DCE0D77F4BB2 /* Support Files */ = { - isa = PBXGroup; - children = ( - 5C47F5376B79AE6C13723F9B3A04C95C /* Apollo.modulemap */, - 8EE0E30DE97FA1971A12036A210FF9EA /* Apollo.xcconfig */, - 04C97D1CE72DC7C8E8A1255DD1518FE7 /* Apollo-dummy.m */, - 3DBB976DACEAA92F32B065E17A3F9048 /* Apollo-prefix.pch */, - CA80A4D14FE8E82372E3E96840F8E638 /* Apollo-umbrella.h */, - BD8ECF8D7D139EFE03A0D674A033B793 /* Info.plist */, - ); - name = "Support Files"; - path = "../Target Support Files/Apollo"; - sourceTree = ""; - }; - 7DB346D0F39D3F0E887471402A8071AB = { - isa = PBXGroup; - children = ( - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, - E20217051071B7DE1CBDAEE778F9F63F /* Development Pods */, - 089BDBC392C2E5750C271D48AD82187D /* Frameworks */, - A479A628BFC640DDA47086A86EFD1D88 /* Pods */, - 0729DEF5BE1471536BD0537F49CA96CA /* Products */, - D9C63306F638821C8906E0C3AD01D1C7 /* Targets Support Files */, - ); - sourceTree = ""; - }; - 8AB4A7641DBEA74B330F8071A301E956 /* Support Files */ = { - isa = PBXGroup; - children = ( - DAAD8F7F2641FB72EC1C3FFE15BD407E /* Info.plist */, - B8A8756EF2B824281BFE2D9627E9ED46 /* RxOptional.modulemap */, - 16F41EDF38DB76E482C63C033706398C /* RxOptional.xcconfig */, - 99D9F15A622B2EA35BF35E0FBC3B65ED /* RxOptional-dummy.m */, - AA85129DC0684DD5DE0D9888041718E0 /* RxOptional-prefix.pch */, - 81779B1EFA6908EC5FE9A21F1A8AAD02 /* RxOptional-umbrella.h */, - ); - name = "Support Files"; - path = "../Target Support Files/RxOptional"; - sourceTree = ""; - }; - A479A628BFC640DDA47086A86EFD1D88 /* Pods */ = { - isa = PBXGroup; - children = ( - E1C2DF873EAB3E90D5B5BB257DAE7F1E /* Apollo */, - 483C189316912FE9BACC33F904231BF7 /* RxAtomic */, - 771ABBE6A9F0EADE89BC4782F1212033 /* RxCocoa */, - 34D1C31BA383D665CD102CA2CE51A953 /* RxOptional */, - CAA9C87B4505DE7D7B02A1951BFF8142 /* RxSwift */, - ); - name = Pods; - sourceTree = ""; - }; - A8CDD72569CE9AE05BA2FAD08A73D2E7 /* Pod */ = { - isa = PBXGroup; - children = ( - D644FE54726B5059D23D8667F6490297 /* LICENSE */, - 8E8AD240A67EAA7C76CFA43FC09BB57B /* README.md */, - 592E7299F50FFBD8374EA402AB71B598 /* RxApolloClient.podspec */, - ); - name = Pod; - sourceTree = ""; - }; - AC24FF03D310BD50AE3AF4AE18A2DF53 /* iOS */ = { - isa = PBXGroup; - children = ( - 2E53363DAAFE44AD9B2DA7DCEE055AC0 /* Foundation.framework */, - ); - name = iOS; - sourceTree = ""; - }; - AC31312E93D3021928DCB8027FE19302 /* Support Files */ = { - isa = PBXGroup; - children = ( - 55A5218D8ACFE81C2C5AD22C74A9EBB5 /* Info.plist */, - A629A2D0470F7D9498C0A562337C1267 /* RxAtomic.modulemap */, - 0E8C524E417DE2B8A8390F3ECADDAB8E /* RxAtomic.xcconfig */, - 13D4C6B38010EDA882EC871920F0154C /* RxAtomic-dummy.m */, - 894138062A72A0CEFB2F528DB2FF9D13 /* RxAtomic-prefix.pch */, - 8ED3687C5EEA267A7B1966D126875599 /* RxAtomic-umbrella.h */, - ); - name = "Support Files"; - path = "../Target Support Files/RxAtomic"; - sourceTree = ""; - }; - CAA9C87B4505DE7D7B02A1951BFF8142 /* RxSwift */ = { - isa = PBXGroup; - children = ( - 53479D70664CD19CA9E068EA416E8F24 /* AddRef.swift */, - E4A80D6B06852F1DE83C72A44D0C2831 /* Amb.swift */, - 272C6CA39519B54B42D79B8C10EB55E5 /* AnonymousDisposable.swift */, - 9445D3DC4F6E620DAF868638B0822C2F /* AnonymousObserver.swift */, - EA94311DD645EFB9F193BA43072AB154 /* AnyObserver.swift */, - 682B2464B8F4D1711BC072673F02301C /* AsMaybe.swift */, - 8F8F0C49807B0F45E197C7CDF31E378A /* AsSingle.swift */, - 20ABDA1C9827B410DE39D0698F24F74B /* AsyncLock.swift */, - CE5A9C61540923415D8CCEC219773BE8 /* AsyncSubject.swift */, - C835B097E5E95BE13AD2FE51A741F21D /* AtomicInt.swift */, - D112A3ABEB90CA9FD5EF992FCFF8B0C6 /* Bag.swift */, - 31212B8542A6A55BFC35B1AB8A5D66C9 /* Bag+Rx.swift */, - EC666757BFB7F2D78C130B4D321E3FA6 /* BehaviorSubject.swift */, - 4ED6AC01F3AAF4FC8DD49712781F0DD8 /* BinaryDisposable.swift */, - 584DD3B8FBBFCE4FB00A411568E013B5 /* BooleanDisposable.swift */, - 368850F64FB98949E07A4A81FD783FB7 /* Buffer.swift */, - 7756249912B3D145EC6F0F62A57B9CC8 /* Cancelable.swift */, - 9AB73FE1A5634A3804A1B09CF327B1B0 /* Catch.swift */, - 31F5AB928BB8C23FE257D1B929C93ABE /* CombineLatest.swift */, - D4647BC805F01704E2CA60D50F4CCF60 /* CombineLatest+arity.swift */, - 8150BE4084DB963FB6F4647545496FD0 /* CombineLatest+Collection.swift */, - 1296D1B79825D14A5C3AC40C9D2A1B00 /* Completable.swift */, - C63F6B4ED7DD09D8C0FF8540D6589E80 /* Completable+AndThen.swift */, - 329F23BF310CA51962370A664C721950 /* CompositeDisposable.swift */, - 9AE230A3342D22B9CA2D0F5D86A44736 /* Concat.swift */, - 8E3D032B25F2FFC18E9C3CF03916114E /* ConcurrentDispatchQueueScheduler.swift */, - 4C140AFC2AF930F0F2CF8B691C2E49FB /* ConcurrentMainScheduler.swift */, - B67DC2EEB64DE0EBEB287983E5B63C0A /* ConnectableObservableType.swift */, - EE06EA18106B77D6F06CC30ACB1B5182 /* Create.swift */, - 7C957A71F3F2CFBD9A6C01830B546524 /* CurrentThreadScheduler.swift */, - AADB7F159C80BD701AB79E6699B90980 /* Debounce.swift */, - 5F3A7619553985426479C0678577F52A /* Debug.swift */, - AFEEAAF7C1B4979B17CD0BA3AD846E94 /* DefaultIfEmpty.swift */, - 13BC8CC2D6C85566C3A6FEE9783DA044 /* Deferred.swift */, - 23673DE5AF3D0984721C5A6019DC1FAE /* Delay.swift */, - 96489C27B8D7BD9E009CD6F6A142791E /* DelaySubscription.swift */, - 3275AA7EB19CA9BA57645F1AEA59342A /* Dematerialize.swift */, - 4668F0AF07C445DE102476832F02E290 /* Deprecated.swift */, - 857A37DCD449586E77F1E5D04EF09708 /* DeprecationWarner.swift */, - A7E6240041F1E4B5BD971124E0D27C33 /* DispatchQueue+Extensions.swift */, - 36A775A1A1C362997AC30E2A3661C9BD /* DispatchQueueConfiguration.swift */, - 778764F54479FBEBAF2EC8FE606C9623 /* Disposable.swift */, - 67AFBB73359F1771A45E3FB32E2AB19D /* Disposables.swift */, - 46DF99EDF5EF44ECE7246C3FE3BA1085 /* DisposeBag.swift */, - F5B78B80BD8B896A0BA5876A6AE062F2 /* DisposeBase.swift */, - CA5B33F564757ACC72407767CF6B35B3 /* DistinctUntilChanged.swift */, - 428DDA4164461B5DC3CF4D81BF6572FC /* Do.swift */, - 374F68734EF5B8C4E24E91A3BC1CD540 /* ElementAt.swift */, - 13DA94C96958F2C308172BE19649ACC0 /* Empty.swift */, - 8632A8BF7C193BCDAEA2C090C1011616 /* Enumerated.swift */, - DF163D969F16C8A03AF24B663B303800 /* Error.swift */, - 8C64F172655188FDD304E92AE09646CC /* Errors.swift */, - BDEA2CB44BD8C70D778FD9313E0BC4FD /* Event.swift */, - C93E2072769ACE3588F539697B6E2754 /* Filter.swift */, - 48D3CA9FA7D96A9B1A3054E57B6EB0F9 /* First.swift */, - 23121EBBCDA3BBFC23B378CDB206987E /* Generate.swift */, - 6D1BBC21EDB30E8D03B081BF886D9AFB /* GroupBy.swift */, - 6BFC17927348ACCE50A295D4575B7AFE /* GroupedObservable.swift */, - A6C25A0E8D59237634803A6E41084698 /* HistoricalScheduler.swift */, - 69F6E30CE0503203730D790FF5DF10AA /* HistoricalSchedulerTimeConverter.swift */, - A2FCCA94055AC5A81E419269DF54742C /* ImmediateSchedulerType.swift */, - 2E34CD4844F7977D1C1FD0027AB1B7BD /* InfiniteSequence.swift */, - 8233D44F5012F549C6C42CA2789A55D2 /* InvocableScheduledItem.swift */, - 2DD178096AA433380FA3F86C61F1CDEB /* InvocableType.swift */, - 6E172847D381719FEB41385D0CC49F96 /* Just.swift */, - F8793B8E1DCBB63DD1178A7C85F8C1BA /* Lock.swift */, - 4FA444B8BBA259ACF71800811F558AC0 /* LockOwnerType.swift */, - 679356997C90E02DBCD60D480DA25E0D /* MainScheduler.swift */, - 95232089AE0AFB4DB725775E9944B825 /* Map.swift */, - A8BC07A4D7CE713AF16B347E1CDD5CF1 /* Materialize.swift */, - 0DF62539640385839583B3C52223A771 /* Maybe.swift */, - B7362036A548AD3DB941D9332AF8DDC4 /* Merge.swift */, - F6A3D95F4036D376B1D8F6AD5168011F /* Multicast.swift */, - AAF6ACF71BE4014EEEB10AC0D385ABE7 /* Never.swift */, - 8ABD57AF143D7DA582E510ECE1B1A57D /* NopDisposable.swift */, - BE8DB1609EF1FC0D98A9F3CFAC35315D /* Observable.swift */, - 121A2CAFDF32DAE1D5FA8C564A2FDC0C /* ObservableConvertibleType.swift */, - F7A9E8D9D2F491CCCCFB4CD3E9CFD94F /* ObservableType.swift */, - D7D8264F4199221A7B156B9291AF77A8 /* ObservableType+Extensions.swift */, - 765742BAEA6EEEA48FDCE4CF0AE130A1 /* ObservableType+PrimitiveSequence.swift */, - 3A8D4C445C92ACF1979B23EC6B1AA127 /* ObserveOn.swift */, - F5EC638657F0856389ACA58EB52D101F /* ObserverBase.swift */, - BEB37D0B78E7E378222D26734D137632 /* ObserverType.swift */, - 087887CFE0BCF8F3798C5B3C0CCC292E /* OperationQueueScheduler.swift */, - 6303512D895A977275545123DD1BC574 /* Optional.swift */, - 8159664995FEC4A5C033C22C83D3C943 /* Platform.Darwin.swift */, - 071178FB3EA8CACC458C3100D8C62FCD /* Platform.Linux.swift */, - 72035B46EF4C8F3986202B19F6EE68C3 /* PrimitiveSequence.swift */, - C7D4DF27C5A21DB6930B5F70B1162FA9 /* PrimitiveSequence+Zip+arity.swift */, - 8DAC18FA6B63D178982027F3927CB1FB /* PriorityQueue.swift */, - C2D875B27F37069203C623BF7E5E0393 /* Producer.swift */, - 2598D75B9E5AD6867327980BE0F20E0E /* PublishSubject.swift */, - 3949F912148EC995C15DCB0A8EB7BC64 /* Queue.swift */, - 5282B74478579BF3A123F031E30F9569 /* Range.swift */, - 534D5EB79E213F150F95AB020341DC19 /* Reactive.swift */, - 27DF6EB498704209390A50BC5B143F3E /* RecursiveLock.swift */, - AD6FBE7362849C86B05AF7CEB2556537 /* RecursiveScheduler.swift */, - 0FB6AB39FEB8D14B6CCD34C33178697D /* Reduce.swift */, - 087001F581E6130FAAB4349E8434C235 /* RefCountDisposable.swift */, - 9EE8596428FB81033A424FF21B43BA38 /* Repeat.swift */, - 43E62E2840586F411857641C95709BB6 /* ReplaySubject.swift */, - A076892DBC24B86AD51BE14B76825787 /* RetryWhen.swift */, - 90089D3CD16EE5206AC2F980ED5F6210 /* Rx.swift */, - 34BA07A33680C3196916D3386D964FA5 /* RxMutableBox.swift */, - 7284A8747936837B3F9FD7081C85C355 /* Sample.swift */, - 1FE60F47CD4B41C3B3209F3BF6F202C9 /* Scan.swift */, - C78458680A2A3BAAAB4CA3007B24CD79 /* ScheduledDisposable.swift */, - 39BEAB7FB48616DB96E2D16B474F05F8 /* ScheduledItem.swift */, - 175E114C7EC74D8B2770A8025A50D61A /* ScheduledItemType.swift */, - 6E1DD64E56017757B9EA20EAA3F5472B /* SchedulerServices+Emulation.swift */, - A7C568497376836434FD2107A58BBE67 /* SchedulerType.swift */, - 8849FC529FE6DB996CFCA6D3A93BA7A3 /* Sequence.swift */, - B068B5B7E528147DE663B738EFF5CAF9 /* SerialDispatchQueueScheduler.swift */, - 5C4DBCC45868B92D70F867B18EE5F99B /* SerialDisposable.swift */, - 7F6BE4DEAFF5533A4FB279D7EF05179B /* ShareReplayScope.swift */, - 088F17EA7E5C1970C1CB18015968A3B1 /* Single.swift */, - 3C709089AB531989DE90EE8D88D66B35 /* SingleAssignmentDisposable.swift */, - 38DBDB07E93FF9BB31DF9A3A59490916 /* SingleAsync.swift */, - 30EE4FAB9E7F0C1D75C589DC2375C23A /* Sink.swift */, - 9FC9B90BB8B2F57C171D54855435E600 /* Skip.swift */, - 3A29990CA4A9C2D7CCFD72ABC000C6D7 /* SkipUntil.swift */, - B0F9E565EFE325420B4F13DCB403F1E4 /* SkipWhile.swift */, - 16589C871FA8A61C4F3FAA739181B0FA /* StartWith.swift */, - 3A10A3C4729FFD4BB12509785C23E4AC /* String+Rx.swift */, - 892969BBEB976B28F69D08FDF9E1BD64 /* SubjectType.swift */, - 6A6F39C6871D520421A3F1E405140658 /* SubscribeOn.swift */, - B043C08D9A585CFC891E35978E8095BA /* SubscriptionDisposable.swift */, - 2C1B8136FCCEEF9858DA39F7D2720C77 /* SwiftSupport.swift */, - 39BD0B94BF9902C8F62521AA3CBFBB4A /* Switch.swift */, - 4326CA151DA3B1EB5501EA4447194BDE /* SwitchIfEmpty.swift */, - 78D703BE7900DBDB740CFF38514926B1 /* SynchronizedDisposeType.swift */, - BB85D74507FCA83F9D4C97E7520A9A7E /* SynchronizedOnType.swift */, - 292413AB35DF73BCEA70DA6373C505B7 /* SynchronizedUnsubscribeType.swift */, - 6557E4E9494A7BF71C186FD2F4FADBC0 /* TailRecursiveSink.swift */, - 1E2E82D7BC187EB6A8DC28DB1627E9F1 /* Take.swift */, - 143B8BAB5D080DFC46343BD43F52CE2A /* TakeLast.swift */, - 38CC33F5C93126331BE3FE8E9EA56EF7 /* TakeUntil.swift */, - 435B6571EC0C499DA14BCFDAD5B7CB01 /* TakeWhile.swift */, - F361190E8C2BB671D67201BB463A189D /* Throttle.swift */, - FE6CF3F11CA4A9F2594C845967B3D1B5 /* Timeout.swift */, - 4CC60645D31515B3010CF727838AC9BE /* Timer.swift */, - 96A2F62395889715DCB223ACD20D3931 /* ToArray.swift */, - F8FE3D06FBED83696491039F133146BA /* Using.swift */, - 00942766BB3D67E2921697198985F4AF /* VirtualTimeConverterType.swift */, - EC84B1B28EC676DA76DC9810EADA5648 /* VirtualTimeScheduler.swift */, - 2BB118262B58525E0D18030D6947AF6F /* Window.swift */, - 133B21F5ACA36D86774E28F1D8E9E545 /* WithLatestFrom.swift */, - C7B73BBA754283CF3CBBB992D601DF78 /* Zip.swift */, - 2939E00F0D6DAAE88B66BBAA8232F784 /* Zip+arity.swift */, - 95E704AADC1A42FE7E45F59D6BE9BA54 /* Zip+Collection.swift */, - 6B4AEB42CB067237B9549819896814C1 /* Support Files */, - ); - name = RxSwift; - path = RxSwift; - sourceTree = ""; - }; - CB15C233C1F6479F0C5E40F12101A4DC /* RxApolloClient */ = { - isa = PBXGroup; - children = ( - B567F960714E9C64BFD41E6BBE6F84E5 /* ApolloClient+Rx.swift */, - A8CDD72569CE9AE05BA2FAD08A73D2E7 /* Pod */, - 1A05927116A343A7A5AD558099E848EA /* Support Files */, - ); - name = RxApolloClient; - path = ../..; - sourceTree = ""; - }; - D9C63306F638821C8906E0C3AD01D1C7 /* Targets Support Files */ = { - isa = PBXGroup; - children = ( - 23560A6FDD1CD9430474E35F317BC723 /* Pods-RxApolloClient_Example */, - 640EDD6DBD8B8657922C4DBB951942D5 /* Pods-RxApolloClient_Tests */, - ); - name = "Targets Support Files"; - sourceTree = ""; - }; - E1C2DF873EAB3E90D5B5BB257DAE7F1E /* Apollo */ = { - isa = PBXGroup; - children = ( - 15D61BF1EBC9A41EEA3AF050A71EA6B1 /* Core */, - 7D1D102B1A394B96F349DCE0D77F4BB2 /* Support Files */, - ); - name = Apollo; - path = Apollo; - sourceTree = ""; - }; - E20217051071B7DE1CBDAEE778F9F63F /* Development Pods */ = { - isa = PBXGroup; - children = ( - CB15C233C1F6479F0C5E40F12101A4DC /* RxApolloClient */, - ); - name = "Development Pods"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 5BF3CCDDE40A0B5E1A7B1E822462D86F /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - D7F61D710DB80957CF4590A7DF3C3C5B /* RxSwift-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 6A356C366B9BFA243C867FB7E02DBE25 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - E7945E7D6CF59C48F68296A90A38BC7C /* Apollo-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7039F34C2C3CCDD8327223F5A2850BF7 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 616C3C2608E5B4E2248CF90CFB70D2CB /* RxAtomic-umbrella.h in Headers */, - 320F87A5758584A4AA690ADED47D654A /* RxAtomic.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7401B2F1A7976E457146E7E970DE6BB7 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - D7EF9A717C34142FDAC0878A61CEE748 /* Pods-RxApolloClient_Tests-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - A5C82B01501D24101016DD40B6770C84 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 949FD3C6E4D44B28402ED6472968908E /* _RX.h in Headers */, - A19592593FF8F12C9CE18B5491D7BCF2 /* _RXDelegateProxy.h in Headers */, - 325F3AD6578F206600EE13117179B8FE /* _RXKVOObserver.h in Headers */, - C888AC391E454C92296EC18A08E93707 /* _RXObjCRuntime.h in Headers */, - 6A6E0D053FAD74B4AC1A94D0E3027D1B /* RxCocoa-umbrella.h in Headers */, - 5E8632FC436BEB2D525F0198E824E5DB /* RxCocoa.h in Headers */, - 48939AB8C27473DA50D5B441E306D7FD /* RxCocoaRuntime.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - CB763CA181F19B92105185AEFFDD39D8 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 2577F73B5FDC1DD881925CBE7545F560 /* Pods-RxApolloClient_Example-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DDDBA75E382994CC895F269096C932EF /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 4844BDA62B376ACA8AFCD83D36B9595F /* RxOptional-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - F843F35470244DE7BF6BC2B3B660EEAB /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 35A5B65DE5F07F19BEFE8C50FE7B1780 /* RxApolloClient-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 5C495561522632456B22A9F32B5B6799 /* Pods-RxApolloClient_Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 2EAEB6397F0B3B7B6D7EAF71095A95C7 /* Build configuration list for PBXNativeTarget "Pods-RxApolloClient_Tests" */; - buildPhases = ( - 7401B2F1A7976E457146E7E970DE6BB7 /* Headers */, - E57A292D1A7698297391DAF51605F9CC /* Sources */, - 70E824544E79685CA676909AE59DD592 /* Frameworks */, - 204F2DC12DB748974990D758DC445B4F /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 33DA4D736C86771AE7BAC0070667F3EA /* PBXTargetDependency */, - ); - name = "Pods-RxApolloClient_Tests"; - productName = "Pods-RxApolloClient_Tests"; - productReference = 614B1B914226551DC8855D828538C332 /* Pods_RxApolloClient_Tests.framework */; - productType = "com.apple.product-type.framework"; - }; - 75DFC7B7A0E0F5FCEF1D11EAB25E2323 /* Apollo */ = { - isa = PBXNativeTarget; - buildConfigurationList = AE8536FBD41BA7CE0447A6770A39088B /* Build configuration list for PBXNativeTarget "Apollo" */; - buildPhases = ( - 6A356C366B9BFA243C867FB7E02DBE25 /* Headers */, - D9C28694235BEF8FBE6024A1EF932346 /* Sources */, - 4BB2520A646C71906E698E78713DE72F /* Frameworks */, - AF0E94D130663DDB5D7B762891C812D8 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Apollo; - productName = Apollo; - productReference = 32BAF943E7F63B0A04D305C11416609B /* Apollo.framework */; - productType = "com.apple.product-type.framework"; - }; - A00BFB2941E9B50C054A2282B6F61E07 /* RxAtomic */ = { - isa = PBXNativeTarget; - buildConfigurationList = 3A505F6B250492746AE5128584C900D3 /* Build configuration list for PBXNativeTarget "RxAtomic" */; - buildPhases = ( - 7039F34C2C3CCDD8327223F5A2850BF7 /* Headers */, - 6E56169282B992C1F7F068FC980F0D7E /* Sources */, - 95927FA561014C798DE0ACB870856241 /* Frameworks */, - AD3E5F561005C78B64ECD143C5C39B36 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = RxAtomic; - productName = RxAtomic; - productReference = EB130A0F8E8BF8AEB797B1D77AB7253D /* RxAtomic.framework */; - productType = "com.apple.product-type.framework"; - }; - BB41F1D5D54C7BE0A1CD9BBE69908566 /* RxCocoa */ = { - isa = PBXNativeTarget; - buildConfigurationList = F9CACBE4DD20A1BD8191165291DBB9A4 /* Build configuration list for PBXNativeTarget "RxCocoa" */; - buildPhases = ( - A5C82B01501D24101016DD40B6770C84 /* Headers */, - 190021BC77BA59E45556C6B46E847D00 /* Sources */, - 68164BA140DB75F90B91AD772E1E4859 /* Frameworks */, - 7630FFF37D8053AF465519833BAC1CC3 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 24B0F818E3C0A986F19E19DD3C9F20D2 /* PBXTargetDependency */, - 4389383091809B00C3DC226D28834924 /* PBXTargetDependency */, - ); - name = RxCocoa; - productName = RxCocoa; - productReference = 00F3C527001BF86C90F94232FC336D35 /* RxCocoa.framework */; - productType = "com.apple.product-type.framework"; - }; - C3199E762BE01EB88F64D69F37E9C5F0 /* RxApolloClient */ = { - isa = PBXNativeTarget; - buildConfigurationList = EC841CE359BB9097C67660133550EBE0 /* Build configuration list for PBXNativeTarget "RxApolloClient" */; - buildPhases = ( - F843F35470244DE7BF6BC2B3B660EEAB /* Headers */, - EDFF62D5C74F2BDD8D6C9DD54367D3E3 /* Sources */, - E485D32D6EAF619B0CEB6E4815B7EEF2 /* Frameworks */, - 1F0A714880A7A04DBCAD4B2483074358 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 7D6ABE410B8A8F89F4884793F4A2DF56 /* PBXTargetDependency */, - BA14211B21FB84AAD3EB19E28D568CF0 /* PBXTargetDependency */, - 7155A3409E6EE71F598E7311B88D63FC /* PBXTargetDependency */, - ); - name = RxApolloClient; - productName = RxApolloClient; - productReference = 22CCC77226E810B4F8B05DB0D3B6C89E /* RxApolloClient.framework */; - productType = "com.apple.product-type.framework"; - }; - CB6D13B967F249BD8699B022F1994F41 /* RxOptional */ = { - isa = PBXNativeTarget; - buildConfigurationList = 8F3EDDFC7A3763622A8EE5086C09AFCF /* Build configuration list for PBXNativeTarget "RxOptional" */; - buildPhases = ( - DDDBA75E382994CC895F269096C932EF /* Headers */, - B6D47E88EE0979D941B1DF79B9CAC05F /* Sources */, - F292C5A15BCBDB49920FD40C8F97F8C9 /* Frameworks */, - 589A06C0FACACEE0E1B8B07A53459F78 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 8B42D179F4110F1AF8167D89D735C6A4 /* PBXTargetDependency */, - A379D37A9BCEC3795ED77516E7B8F20B /* PBXTargetDependency */, - CE32439E0A6887E0E23F2EAFDFC3DF2E /* PBXTargetDependency */, - ); - name = RxOptional; - productName = RxOptional; - productReference = A1FB1E70ABF7DD4CA2094C4611F7C81B /* RxOptional.framework */; - productType = "com.apple.product-type.framework"; - }; - EC97D51C1C0F8F7C4F3390A627ACA682 /* RxSwift */ = { - isa = PBXNativeTarget; - buildConfigurationList = 9A9B196BA9EDF091BE8BFF5E4B93E542 /* Build configuration list for PBXNativeTarget "RxSwift" */; - buildPhases = ( - 5BF3CCDDE40A0B5E1A7B1E822462D86F /* Headers */, - CD77D3FA742ABC26A0744117DC52DA38 /* Sources */, - 8AD41B4734FE500E3E3D0933E9521019 /* Frameworks */, - 3AD24D939A116F74A061ADAFAE399A32 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 728BC8BBCE9E5C7EA3E9FEBE7D6A6C21 /* PBXTargetDependency */, - ); - name = RxSwift; - productName = RxSwift; - productReference = D18C3022ECD6E0497DEF5EF3F3BEB908 /* RxSwift.framework */; - productType = "com.apple.product-type.framework"; - }; - EDE3153619DD008BBE404EBA70B451AC /* Pods-RxApolloClient_Example */ = { - isa = PBXNativeTarget; - buildConfigurationList = 68CCC064B11C0E20622AF8B0BBA13E26 /* Build configuration list for PBXNativeTarget "Pods-RxApolloClient_Example" */; - buildPhases = ( - CB763CA181F19B92105185AEFFDD39D8 /* Headers */, - 32CC6F7225B308B3DEE294B9C2D379F5 /* Sources */, - B21F02E088018BF202C141B2492AF5DE /* Frameworks */, - 05512BA23BBDF8EA1B79589DE98C8482 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - E06A0BF81EAE9C9C6E127C66011ACC0B /* PBXTargetDependency */, - 4118F1E165DC532F0C5CB8248ED57CCE /* PBXTargetDependency */, - 61E117008D7235B3F9DC07E883AF1755 /* PBXTargetDependency */, - ED7018BEA291B7DE4D490CD567E0110E /* PBXTargetDependency */, - 854E4FB848AE07A4971242C9163E548C /* PBXTargetDependency */, - F662F72CC63C202DB350406082C9AC4F /* PBXTargetDependency */, - ); - name = "Pods-RxApolloClient_Example"; - productName = "Pods-RxApolloClient_Example"; - productReference = 1358BBEC9AD7716D6053984E18A80FC9 /* Pods_RxApolloClient_Example.framework */; - productType = "com.apple.product-type.framework"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0930; - LastUpgradeCheck = 0930; - }; - buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 7DB346D0F39D3F0E887471402A8071AB; - productRefGroup = 0729DEF5BE1471536BD0537F49CA96CA /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 75DFC7B7A0E0F5FCEF1D11EAB25E2323 /* Apollo */, - EDE3153619DD008BBE404EBA70B451AC /* Pods-RxApolloClient_Example */, - 5C495561522632456B22A9F32B5B6799 /* Pods-RxApolloClient_Tests */, - C3199E762BE01EB88F64D69F37E9C5F0 /* RxApolloClient */, - A00BFB2941E9B50C054A2282B6F61E07 /* RxAtomic */, - BB41F1D5D54C7BE0A1CD9BBE69908566 /* RxCocoa */, - CB6D13B967F249BD8699B022F1994F41 /* RxOptional */, - EC97D51C1C0F8F7C4F3390A627ACA682 /* RxSwift */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 05512BA23BBDF8EA1B79589DE98C8482 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 1F0A714880A7A04DBCAD4B2483074358 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 204F2DC12DB748974990D758DC445B4F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3AD24D939A116F74A061ADAFAE399A32 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 589A06C0FACACEE0E1B8B07A53459F78 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7630FFF37D8053AF465519833BAC1CC3 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - AD3E5F561005C78B64ECD143C5C39B36 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - AF0E94D130663DDB5D7B762891C812D8 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - DE6A8DA2837AD31BE1722182B243A164 /* check-and-run-apollo-cli.sh in Resources */, - 647CE2B9260E1FCC521B2F7A40E63606 /* check-and-run-apollo-codegen.sh in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 190021BC77BA59E45556C6B46E847D00 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 201B42229228A4C0EB986A78A638E5E5 /* _RX.m in Sources */, - 74A8D44F2D0CB49C0C972B0311936B08 /* _RXDelegateProxy.m in Sources */, - AFF5F1FEBEDBD76A849D6705DB8AC4E7 /* _RXKVOObserver.m in Sources */, - DDF37F1943852F67E740E5E388997E8B /* _RXObjCRuntime.m in Sources */, - E99C64DB37D7C4260FE38D2610620043 /* Bag.swift in Sources */, - EB055513F2154C2FEBB9EA4184C3FC0E /* BehaviorRelay+Driver.swift in Sources */, - 5C2D223E872FC5CF016117FEE6690C0D /* BehaviorRelay.swift in Sources */, - FD64140C4E3F6230B21E3E0C5EEA6AB2 /* Binder.swift in Sources */, - C750708096427572E0A797756CB85F46 /* ControlEvent+Driver.swift in Sources */, - 2C1CC571D0145A523A21476061293E2C /* ControlEvent+Signal.swift in Sources */, - DD0F14AEFB5395A8AA1FB27E84822B4B /* ControlEvent.swift in Sources */, - 2261B6F85B6788D4A060F97318234DBE /* ControlProperty+Driver.swift in Sources */, - 12E9DECA6C11B2826C916363307EA00C /* ControlProperty.swift in Sources */, - 0362BE82E8D691BF146943B5AD88D297 /* ControlTarget.swift in Sources */, - F29E46AE4777965304D9EC0F7FC38AE0 /* DelegateProxy.swift in Sources */, - 37655CE1CBFEE3EB5E6C82E3C444F35A /* DelegateProxyType.swift in Sources */, - C67BB41785A7AD6173A8F767962713FB /* Deprecated.swift in Sources */, - 639378B27414BC16AC274A66400E7F60 /* DeprecationWarner.swift in Sources */, - 7C31135BB550F8467B079A220C394EA6 /* DispatchQueue+Extensions.swift in Sources */, - F1AE0D85ECE502B1C8FD7E7F67A42680 /* Driver+Subscription.swift in Sources */, - C4A569A4311E67F74B6BFA62A063B7FD /* Driver.swift in Sources */, - 40469EEBCF4EDDE00C39FA3E1AD68C6C /* InfiniteSequence.swift in Sources */, - A8B9D941393251A0AC92298E52A02252 /* ItemEvents.swift in Sources */, - 31C7BA2BD70246A8308AC0D58DB04DBE /* KeyPathBinder.swift in Sources */, - 79D87D1135268190BFB9EA2DA5BFC674 /* KVORepresentable+CoreGraphics.swift in Sources */, - CA6DB414DCEC14F1D2F7C69301723D8C /* KVORepresentable+Swift.swift in Sources */, - 5BAD06E442B47DABE5F502CAF8DD5E97 /* KVORepresentable.swift in Sources */, - 7A99A10FEA96CE293226E5507E001EAB /* Logging.swift in Sources */, - 48C12D3C5CA4D8B6FE2218284817F2A9 /* NotificationCenter+Rx.swift in Sources */, - 8D9FA1AFE503AE8759BA0086FAEDBED2 /* NSButton+Rx.swift in Sources */, - 82B3BF5577D1AD52500D869712EE2293 /* NSControl+Rx.swift in Sources */, - 358F4B46A1B6EF4A2B5D026D85D8C4F6 /* NSImageView+Rx.swift in Sources */, - 373FD1B75C0D8C70F281DEF6F80E85ED /* NSLayoutConstraint+Rx.swift in Sources */, - 7F64D3747F0F67DDDD9E4D38FEB7C63F /* NSObject+Rx+KVORepresentable.swift in Sources */, - 0D3725C76696848EF7E82120E44331D8 /* NSObject+Rx+RawRepresentable.swift in Sources */, - B131030FA4D7B75737B9611269910783 /* NSObject+Rx.swift in Sources */, - F08CEC726E338A8C65D22D90D8C941E1 /* NSSlider+Rx.swift in Sources */, - EE6E5AE08B0974B2D31240E9CD24138D /* NSTextField+Rx.swift in Sources */, - 6C96554E43A64FD35698BAEFE0B93ADE /* NSTextStorage+Rx.swift in Sources */, - 1F2EC5F890EBEB03E4816F2B1A060A2E /* NSTextView+Rx.swift in Sources */, - FD615BD825914ABFBFCC5BCDFBB6B793 /* NSView+Rx.swift in Sources */, - D0C92E88C073E9CB572D59787AD40615 /* Observable+Bind.swift in Sources */, - 80136C08E56030952960DE6235367A05 /* ObservableConvertibleType+Driver.swift in Sources */, - A41413B3CF09219181D1A13CFF384AA9 /* ObservableConvertibleType+SharedSequence.swift in Sources */, - 3EFADF19C5B062ACA4BD6BF46C9390EB /* ObservableConvertibleType+Signal.swift in Sources */, - 1C32181A0A7B7FB7EE88DF71CBE47E8C /* Platform.Darwin.swift in Sources */, - 5548ACDF60443F9ADCEAED555ACD832C /* Platform.Linux.swift in Sources */, - B6BFEE8B0FD04A64B6C1E328F4BB58A1 /* PriorityQueue.swift in Sources */, - 1BB975A6432EE6A34442E511E396313E /* PublishRelay+Signal.swift in Sources */, - 3E3A8A54E434D2D12E26DCF2787324D0 /* PublishRelay.swift in Sources */, - DA4FD6A3187B545F3C1365CF651F60B9 /* Queue.swift in Sources */, - 1628C11E009837BDBD287B515981C696 /* RecursiveLock.swift in Sources */, - 30D60C968746E6197CE08C1C0B5BBCBC /* RxCocoa-dummy.m in Sources */, - B35829110E3BCFBA8FABCD9B34EC8504 /* RxCocoa.swift in Sources */, - 3D3D91F59D8E75AECBC9CF50E9364EE4 /* RxCocoaObjCRuntimeError+Extensions.swift in Sources */, - 5382E42C1BD096B496C1D5C3749152E1 /* RxCollectionViewDataSourcePrefetchingProxy.swift in Sources */, - C6EBD6B727D3E7A0E1A5297E93D6403A /* RxCollectionViewDataSourceProxy.swift in Sources */, - 10ECC065B46904D479B7F612CE0F74D5 /* RxCollectionViewDataSourceType.swift in Sources */, - B0E720D7A39507E4C6042CA3A88BE06B /* RxCollectionViewDelegateProxy.swift in Sources */, - 2BC57AE4772AA61500FB7FE16DF95087 /* RxCollectionViewReactiveArrayDataSource.swift in Sources */, - E4906530522286CD6B9940A54EE6F4C9 /* RxNavigationControllerDelegateProxy.swift in Sources */, - 33DCB8CFE4506B7CDBE713ECADD2CC12 /* RxPickerViewAdapter.swift in Sources */, - 7F16AEBC38012A4371B93C233F9E843F /* RxPickerViewDataSourceProxy.swift in Sources */, - 918489065750EF94F1D77C3B28C5B973 /* RxPickerViewDataSourceType.swift in Sources */, - 88FBE70C0BA4385EF4C961F44CA82859 /* RxPickerViewDelegateProxy.swift in Sources */, - 33688E041A95BBCB885131390BE492E9 /* RxScrollViewDelegateProxy.swift in Sources */, - 3614C2203481AC82E1105F87D14AE806 /* RxSearchBarDelegateProxy.swift in Sources */, - A91F2A47A4BF0CBA8C7480FBF91E4BE9 /* RxSearchControllerDelegateProxy.swift in Sources */, - 5A6A1E4E2AAC90039A2DB166320BB13D /* RxTabBarControllerDelegateProxy.swift in Sources */, - 95350DB325755934AF3D76B0F06C6E2C /* RxTabBarDelegateProxy.swift in Sources */, - 485C6E1511007DF5EE6A388898B06E8B /* RxTableViewDataSourcePrefetchingProxy.swift in Sources */, - 7B45AB1E7AF7C1D91188148BE940811B /* RxTableViewDataSourceProxy.swift in Sources */, - F9DE3395B8B368F9341E47D3A80B04C6 /* RxTableViewDataSourceType.swift in Sources */, - 6BFF597CFE80AD5083DAB44D2E74E948 /* RxTableViewDelegateProxy.swift in Sources */, - 5ECCFFECEBD1AE9510C476DC08E2AFE2 /* RxTableViewReactiveArrayDataSource.swift in Sources */, - 930E9E96A4DCB31601BB04C9E7D598F4 /* RxTarget.swift in Sources */, - D6F7739AFFC189CB6C561786FFC11849 /* RxTextStorageDelegateProxy.swift in Sources */, - 2363B9FCAB388ABF3DB8A37F031B8C0A /* RxTextViewDelegateProxy.swift in Sources */, - 04558A854F94CE3D97BEE4240E5D858C /* RxWebViewDelegateProxy.swift in Sources */, - 8B7F9D9AB9D8C6F8DD0F82D80690A27B /* SchedulerType+SharedSequence.swift in Sources */, - B647C748F60AF6C2685238E982D449BF /* SectionedViewDataSourceType.swift in Sources */, - B7FE327A6461F4BF859BD38F2EDD6393 /* SharedSequence+Operators+arity.swift in Sources */, - C9AC69DD52AC5DBA630058F3ACD04D52 /* SharedSequence+Operators.swift in Sources */, - 893C1C1D5B94A309C9AA504D8586A2C8 /* SharedSequence.swift in Sources */, - 825FBA8F13CF67E61FBC4AE92E0A0245 /* Signal+Subscription.swift in Sources */, - 1FCD0308B1C72A6B53A1EC975620EDE8 /* Signal.swift in Sources */, - 4BFD76E55EED4F5C4A23381BCF7AD21B /* TextInput.swift in Sources */, - 3245246FA1D660C7016C356AFBB8AFE5 /* UIActivityIndicatorView+Rx.swift in Sources */, - 3FAEB01C003F8B9F04441762D7237A24 /* UIAlertAction+Rx.swift in Sources */, - E6B92A5D63D671686071E804C58AD5B5 /* UIApplication+Rx.swift in Sources */, - E9B7C67BC5A251ABB236C3445535A9D8 /* UIBarButtonItem+Rx.swift in Sources */, - 2800D132DDCF99DDF58A9012F1318F8C /* UIButton+Rx.swift in Sources */, - 6816761D7E0EEF47994CF1D043D51CFC /* UICollectionView+Rx.swift in Sources */, - 538182AC127158A28667CC0696AEF612 /* UIControl+Rx.swift in Sources */, - DBB985A748F9B83CA155BF1ADD595B48 /* UIDatePicker+Rx.swift in Sources */, - BE6CDC9B84ACFBA3C7B942D17EFBF1F8 /* UIGestureRecognizer+Rx.swift in Sources */, - E05B11CA610601735D52BFCE95015567 /* UIImageView+Rx.swift in Sources */, - 65C11D00C16F375C3AD8C660AD53075B /* UILabel+Rx.swift in Sources */, - E6714663B47F86FFA2EEF715A8C410F5 /* UINavigationController+Rx.swift in Sources */, - 51F0E67BF86602FA5D5768B18F442BA9 /* UINavigationItem+Rx.swift in Sources */, - ADC6CDCC25C2482B4BD911594FFA54D1 /* UIPageControl+Rx.swift in Sources */, - 377392F5D5762707928890BC6F7B6E3F /* UIPickerView+Rx.swift in Sources */, - DAA2C67040B1D47DB6608D86C82593D6 /* UIProgressView+Rx.swift in Sources */, - 0BAFC49BDA5236E546E04D241814DA5C /* UIRefreshControl+Rx.swift in Sources */, - 532225BD3ABD8A8F3F46273E547A243C /* UIScrollView+Rx.swift in Sources */, - 20C728E76601160FA636A434B8FA79DE /* UISearchBar+Rx.swift in Sources */, - 9C9B97D79B25A135338B01A872212288 /* UISearchController+Rx.swift in Sources */, - 770D76B3F21E0395E6721F47EE271FD0 /* UISegmentedControl+Rx.swift in Sources */, - 86D8E2AA97877043296E208D4EA95D3C /* UISlider+Rx.swift in Sources */, - 020664537ED18C4E71E85F6A55F14A5D /* UIStepper+Rx.swift in Sources */, - 4717BF6E9FE95E0F96F61B084CB71CC5 /* UISwitch+Rx.swift in Sources */, - F00E7C8DEF063D73FDA233F238D3DF0A /* UITabBar+Rx.swift in Sources */, - 48C11D24F9ED73009A1D172460FC32FA /* UITabBarController+Rx.swift in Sources */, - A5C71BBC8B356ED96984BCC55F4A4C02 /* UITabBarItem+Rx.swift in Sources */, - 7A811255305BE137C0D1CE4569891045 /* UITableView+Rx.swift in Sources */, - AD82B523D16CACD6648B7FB9825B766C /* UITextField+Rx.swift in Sources */, - A1F6A97658D28A3B2C8F1FD080085525 /* UITextView+Rx.swift in Sources */, - 5BB48D63F47E2028BECF579AC954EFA6 /* UIView+Rx.swift in Sources */, - 6254288A344CA0A03F37B35E418844AF /* UIViewController+Rx.swift in Sources */, - 81BB0CC5CD0FB2DBD0A84C308F1AA7EF /* UIWebView+Rx.swift in Sources */, - FCE81A90A9A18943F92D59EEB4356EDA /* URLSession+Rx.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 32CC6F7225B308B3DEE294B9C2D379F5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 85DCDBBAC09F4355AD47D2BC008746FD /* Pods-RxApolloClient_Example-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 6E56169282B992C1F7F068FC980F0D7E /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 4E7A237EB71396DA7B710721F7990620 /* RxAtomic-dummy.m in Sources */, - 67475AB0774C1ED72A0BECD255A8A950 /* RxAtomic.c in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B6D47E88EE0979D941B1DF79B9CAC05F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 01C7B67A784113F3B5BFA3F0018798C8 /* Observable+Occupiable.swift in Sources */, - 77D7F69E05B00A1BAF45548A50CED4CA /* Observable+Optional.swift in Sources */, - CAB4541770807AA08C998519002FEA98 /* Occupiable.swift in Sources */, - BA7EEB23CB4F72195F4759C4D7BBB2AF /* OptionalType.swift in Sources */, - 16FED6BBDA9994C5EF7DEF1FEAB64DB6 /* RxOptional-dummy.m in Sources */, - CB65EB4B0963F27703D3EDD9BCDCF528 /* RxOptionalError.swift in Sources */, - 1EF29310CB16BAA89F2BD782A9DDA42B /* SharedSequence+Occupiable.swift in Sources */, - 6866CD03FB2583797A4C9381BFFF47DE /* SharedSequence+Optional.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - CD77D3FA742ABC26A0744117DC52DA38 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 26E6C447059233D4227EA9299C2C66C8 /* AddRef.swift in Sources */, - 539A8DE33DAD298F291DBA6CDB8F3FF3 /* Amb.swift in Sources */, - 6E80EE8391BC9E0F39D1AE6FA8772D48 /* AnonymousDisposable.swift in Sources */, - 78E33FE862A5ADF8FFD338A73DF71DF1 /* AnonymousObserver.swift in Sources */, - 130730AEBCD370E221D5109D70A542ED /* AnyObserver.swift in Sources */, - 9BA183B04A8DD7120E077C72F37B68ED /* AsMaybe.swift in Sources */, - AAEDEB6D51FE449C15ABCDF7BEAFBAF6 /* AsSingle.swift in Sources */, - CFD5108E870F4367C6311D07AC81E504 /* AsyncLock.swift in Sources */, - 219472DCC35F29108594784D78706E52 /* AsyncSubject.swift in Sources */, - 358FBE371AF4EBDFE80498B1063C53C0 /* AtomicInt.swift in Sources */, - 2A159C91A2A768402F5732513229D5BE /* Bag+Rx.swift in Sources */, - F4B0AF20AD1F8251DCF8F16896ECD0B5 /* Bag.swift in Sources */, - 6CCBA437277A10C0C48B8D38B6E648F0 /* BehaviorSubject.swift in Sources */, - 72911D4F988C96905220FD964AB37601 /* BinaryDisposable.swift in Sources */, - EC155C0944FF0361EDE3304B7AF54B29 /* BooleanDisposable.swift in Sources */, - E55E1E156796F797AA4AA4643FDD2415 /* Buffer.swift in Sources */, - 536D9B16CA036FB0AEB3B1CB8AE0E52E /* Cancelable.swift in Sources */, - 04092410C8AD35317CACC904D7506693 /* Catch.swift in Sources */, - AE3F9FC2C205BD451D53D87203D3C8A0 /* CombineLatest+arity.swift in Sources */, - 44DF33E4830A0EA61B086D6DF11E76B3 /* CombineLatest+Collection.swift in Sources */, - 9A378F5B0C74A8755514DBE76BDE6CA4 /* CombineLatest.swift in Sources */, - 4BDAC201039A616B6E84879399F2433D /* Completable+AndThen.swift in Sources */, - D9B0CB578B74108F2384B80F8BA5488E /* Completable.swift in Sources */, - 1F811B852666A870E07297075B8AC124 /* CompositeDisposable.swift in Sources */, - 0579D020C2178D938CE0C504F13D4019 /* Concat.swift in Sources */, - 2D95E31F4419719688D18DEDD68E3232 /* ConcurrentDispatchQueueScheduler.swift in Sources */, - C455F99380E669CF6F15B0C24685085C /* ConcurrentMainScheduler.swift in Sources */, - 71ABF2F67B57921A100D41CEEE0B6674 /* ConnectableObservableType.swift in Sources */, - 25BE0A7CC702660FE29DDE4BEA12E1A7 /* Create.swift in Sources */, - 3CBD2A43B9E5064348B49EB8D4251A31 /* CurrentThreadScheduler.swift in Sources */, - AFEF3878497D6B14FCDD5F4EED73450C /* Debounce.swift in Sources */, - 776C97FE4D33FB90F327B6E50F9BD583 /* Debug.swift in Sources */, - AE3FA6ACCE05E80F28FBB94ED2DF3049 /* DefaultIfEmpty.swift in Sources */, - 804F5D66B187F44C67BB9487FD925803 /* Deferred.swift in Sources */, - E3FDE6B2D61572852B05865075F26563 /* Delay.swift in Sources */, - BE2B1542B5E97F3F2809455D5D37D343 /* DelaySubscription.swift in Sources */, - 1018D23074710F0214E6F48F72081D5B /* Dematerialize.swift in Sources */, - A2E23790ABC5EE3DEEFC6CB08E29B78B /* Deprecated.swift in Sources */, - 3577CE6436441C390F96B62FABC36061 /* DeprecationWarner.swift in Sources */, - 9322FD97802530DB706B4E3F3B35749F /* DispatchQueue+Extensions.swift in Sources */, - 69523E8FDB65CED8D3C0633B8E05CEDC /* DispatchQueueConfiguration.swift in Sources */, - 9A61EBB6EAED08FA9BD0E0E4588811F6 /* Disposable.swift in Sources */, - 5F85FE86522F5938845E4D89BB514DC3 /* Disposables.swift in Sources */, - 2C0A846477116540A373E199322C7039 /* DisposeBag.swift in Sources */, - D7475ABE17267A073D3631B185DE18F5 /* DisposeBase.swift in Sources */, - D5900E6984E2DB886D40F6F76B185394 /* DistinctUntilChanged.swift in Sources */, - 4923CF7FCCAE05381FC4E6DDCA6AF292 /* Do.swift in Sources */, - 6384E1037D9322A6909E7472364D8464 /* ElementAt.swift in Sources */, - 79EA682AFFEC61D989616694084ACE3C /* Empty.swift in Sources */, - 948B419126EB90A527C84B1EFE536146 /* Enumerated.swift in Sources */, - 880E87C3FCD8BA08AA898CB30B37E203 /* Error.swift in Sources */, - A5688F448C7577267F1B05E1DB8D8502 /* Errors.swift in Sources */, - E4EF6DE38FD26B79DF1106E466150460 /* Event.swift in Sources */, - 03FA1908385D7B4A027171BF8AD9520F /* Filter.swift in Sources */, - 2D301D9DDC5D4706EB96F2DB89493BC3 /* First.swift in Sources */, - 60AF994B07CD2ABB5C56270A80269D8A /* Generate.swift in Sources */, - E39E5C9D2D906D825778EE515E6A410F /* GroupBy.swift in Sources */, - 4138E58F46AC24243AA3D72AE0916E95 /* GroupedObservable.swift in Sources */, - 484006FEF3E6ED9F0D8DCF688A0AD0ED /* HistoricalScheduler.swift in Sources */, - 9778E16834187694B019B8082E7A9678 /* HistoricalSchedulerTimeConverter.swift in Sources */, - A18C96E03DA3BAF9CC45AC1E4755E0E4 /* ImmediateSchedulerType.swift in Sources */, - 3EFE6AAEA67A8DFC27526F7CE3BA496F /* InfiniteSequence.swift in Sources */, - 6A35242090D934F88F91C9D7E9988777 /* InvocableScheduledItem.swift in Sources */, - 74F3B1D253FC1677E405B6ADA256DFD9 /* InvocableType.swift in Sources */, - E502410B914CB3C008FACE364CDC7CEF /* Just.swift in Sources */, - 8B9C1D4CE546B513A3141AFA935DD7E2 /* Lock.swift in Sources */, - E1A41AC769B6C9773970BAF56B58D2B6 /* LockOwnerType.swift in Sources */, - 5134989316AC7A02C47286AA9BF5A6C2 /* MainScheduler.swift in Sources */, - 7EC5589C343D47320BCABBF8D78132DD /* Map.swift in Sources */, - D4DACC30135C424D0820A6F203D6247E /* Materialize.swift in Sources */, - 4DEC30DF27FA947E73CECA04781B6FE1 /* Maybe.swift in Sources */, - D333236723071DDD1E5BC43726BE78C0 /* Merge.swift in Sources */, - 8EE60C8C0521E7EC3316AF45FE254DF8 /* Multicast.swift in Sources */, - 8F6DBFC236468884287F709CBE903376 /* Never.swift in Sources */, - 9FBFC062C6AE15052E312014DE658F6B /* NopDisposable.swift in Sources */, - 8056030201AB55865DDD9A93D4B0C185 /* Observable.swift in Sources */, - E689DB7EA05381FF36CD84E604189810 /* ObservableConvertibleType.swift in Sources */, - FC74A9E36DC16D814206BB48D74E6353 /* ObservableType+Extensions.swift in Sources */, - BB34B9C153C59FEDC2C0BAB1B8D26CE3 /* ObservableType+PrimitiveSequence.swift in Sources */, - FAC20A52109729FAA2DDC8256C714861 /* ObservableType.swift in Sources */, - 8D537A6006DA8BB7AF47505592D00679 /* ObserveOn.swift in Sources */, - 7F4928176C4A57CFA8861A16B2C199E0 /* ObserverBase.swift in Sources */, - B9B29507F60F8D5CDFBAD6E69D751230 /* ObserverType.swift in Sources */, - 065D2DB682562AB2178F274DD92343C1 /* OperationQueueScheduler.swift in Sources */, - DAC9BD5D0FD305F541921D242FB1BC8C /* Optional.swift in Sources */, - 53EAC48AD09C4C9F2F3C61F0D3D2C56E /* Platform.Darwin.swift in Sources */, - 28138726562AC1E65F0F0B4024BA2F82 /* Platform.Linux.swift in Sources */, - B102DA87C1DCE0F96CA93048932A01D0 /* PrimitiveSequence+Zip+arity.swift in Sources */, - 1D30722DD21ED81BE6BC43B60DA71930 /* PrimitiveSequence.swift in Sources */, - 941ED51576BC84DA5F178D4C1C071B12 /* PriorityQueue.swift in Sources */, - 06E7953E52D11C5C9B583453E8169220 /* Producer.swift in Sources */, - 85E165E24457CDC8DF5AFDF78CE5257F /* PublishSubject.swift in Sources */, - 88CDD5E8BD1FD85CA33AAE8E248E2824 /* Queue.swift in Sources */, - 414F5EA74D0F2800C5E188FA11E2349D /* Range.swift in Sources */, - D744C14074B099EFBD2B7BA47709311D /* Reactive.swift in Sources */, - B0AF1729D3C9B7E23DD754FD31C642C9 /* RecursiveLock.swift in Sources */, - BE9385E3E7C8EA29A611C412ED51A976 /* RecursiveScheduler.swift in Sources */, - 966F01050C17A08C8D319837A0DDCD7E /* Reduce.swift in Sources */, - 31CE93AFDA8C8A7EDE952CDEE8938343 /* RefCountDisposable.swift in Sources */, - 563E965B6949E4AAC229E9D48B46D489 /* Repeat.swift in Sources */, - FFAC85AD8217D18134EB9CF4F3DBA07B /* ReplaySubject.swift in Sources */, - A4CABDF170AF2090C016F8584674C23F /* RetryWhen.swift in Sources */, - AECBE0CE9911E8543B8E0FCF33A074A1 /* Rx.swift in Sources */, - 891C148001EE3D6BB6F198FAA8AA5797 /* RxMutableBox.swift in Sources */, - AB022555194D2AB7E68564DC7C851355 /* RxSwift-dummy.m in Sources */, - 59AD3A0CE9178916FAA44BE694165662 /* Sample.swift in Sources */, - A6B1A6C14C743C85597251441436E820 /* Scan.swift in Sources */, - 092026B1AF64AC6917453188AED41321 /* ScheduledDisposable.swift in Sources */, - CE12365AD59994BA3AC8B2424BAEEFBA /* ScheduledItem.swift in Sources */, - 7C5A79C773C53B846EF213AC7EE55CDF /* ScheduledItemType.swift in Sources */, - 599CE8244495BF32F68E61B7BBD7E40A /* SchedulerServices+Emulation.swift in Sources */, - B80685B6A59EDE34C7E7F74C3207526F /* SchedulerType.swift in Sources */, - 182AEDFC4BD2EEB610879F6186721EA0 /* Sequence.swift in Sources */, - C5CBB1F7D2BC260FD5CA72804966FAE9 /* SerialDispatchQueueScheduler.swift in Sources */, - 92E815A685E1AAE8E7BA12BE927302C9 /* SerialDisposable.swift in Sources */, - F79199C550FBDD80A5FB455732DA0560 /* ShareReplayScope.swift in Sources */, - 8475EE15E9F8B623CC6886B63B876576 /* Single.swift in Sources */, - E0996BEFB088E20821D71078136AF2BD /* SingleAssignmentDisposable.swift in Sources */, - 4F8426858245AC5F020E9D1AB5068CB5 /* SingleAsync.swift in Sources */, - 283BE0115229DAF06019E5D64942183D /* Sink.swift in Sources */, - B0C59EB7757B648A60D5A2D5D08D96D6 /* Skip.swift in Sources */, - 937C5013835758C4202EB8C479E881CF /* SkipUntil.swift in Sources */, - AE81C2C464F602FDB52990E6712CD8B8 /* SkipWhile.swift in Sources */, - 46854E06885B8DB5F8F86F2D809BE6A5 /* StartWith.swift in Sources */, - AB77D385EFB107DEEB603C0343BDB417 /* String+Rx.swift in Sources */, - 5CD16E92AF26C7E755BF8D0F044509D3 /* SubjectType.swift in Sources */, - 8F4607ECA8B77F35BF72E087C159BAB6 /* SubscribeOn.swift in Sources */, - 72268E748F770E600AD2ECC764EFF455 /* SubscriptionDisposable.swift in Sources */, - 3893ABE90CABCED7A4565BEA2208C982 /* SwiftSupport.swift in Sources */, - C54842840E202103E0A4FED59C3A5D02 /* Switch.swift in Sources */, - 539E6EEADB6297447B816441A77AFE84 /* SwitchIfEmpty.swift in Sources */, - B928FE2D8E3FAEB0EC0160CB4246B1B5 /* SynchronizedDisposeType.swift in Sources */, - 6986C44DB9C500A0462292FD744D292F /* SynchronizedOnType.swift in Sources */, - D510E19693BFECBB080D381CEA55A26A /* SynchronizedUnsubscribeType.swift in Sources */, - 08A1D6502A1120D1C0ED07295C5D9132 /* TailRecursiveSink.swift in Sources */, - CD61299FB63B3257A2CD51C8D0187912 /* Take.swift in Sources */, - BA4E4617201A226400783D3FBD654BE7 /* TakeLast.swift in Sources */, - 4F8E9C2531A3D7492A09759680491869 /* TakeUntil.swift in Sources */, - 383EE5646175D04CDAAA4900784137BB /* TakeWhile.swift in Sources */, - F99E8730406859292C95FC30EE9E3650 /* Throttle.swift in Sources */, - 4D7D8F9122B35219D33B6C29F9EB5F66 /* Timeout.swift in Sources */, - 8A69D918090C0ECBFF62970C69C75913 /* Timer.swift in Sources */, - 00DF9EAB9107821C9F752C680D033811 /* ToArray.swift in Sources */, - 5F40824A18271165DEF5979E27181CB1 /* Using.swift in Sources */, - A1D7F3C09316F230660D080EB0A36243 /* VirtualTimeConverterType.swift in Sources */, - 314C201268E41E76D440E7F3BD99D3FE /* VirtualTimeScheduler.swift in Sources */, - 66F3755CC95B431AE846D80D0DAEF9D2 /* Window.swift in Sources */, - F983E34D16AF1EDDB8EC00EEAF980625 /* WithLatestFrom.swift in Sources */, - A00283BF515E790A01391BCF4DD20563 /* Zip+arity.swift in Sources */, - 4E22915EBC767A1D495EC19352BFBB85 /* Zip+Collection.swift in Sources */, - E5A0C5C5463BC7F1B5DE246E3365EDDD /* Zip.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D9C28694235BEF8FBE6024A1EF932346 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 2015497EAB96615527E13752D95CB57C /* Apollo-dummy.m in Sources */, - 6C47C898CB335BC1892F76DE81F0C714 /* ApolloClient.swift in Sources */, - 99C6F1A3C2C396A6DA3793B520BEDD2E /* ApolloStore.swift in Sources */, - 7F98AE7AC8C2C580BE10AE6381A99FF0 /* AsynchronousOperation.swift in Sources */, - 0DCE228D66ECA279212465E7511E9431 /* Collections.swift in Sources */, - 5518314ACDE877C5B4279297A6DB87DC /* DataLoader.swift in Sources */, - 7087DEAAF16C46C156762A5E7B4E990E /* GraphQLDependencyTracker.swift in Sources */, - 76F169CDD7C5048CF901C6894091FD83 /* GraphQLError.swift in Sources */, - 57CE96F18127DECE004EE0E540C9564C /* GraphQLExecutor.swift in Sources */, - BABAE4DFC8CF4724086B7315BCDF2D7D /* GraphQLInputValue.swift in Sources */, - CA78F0A1BE2CB88B2E1AF10A5D8526D9 /* GraphQLOperation.swift in Sources */, - BD7737D70EE16A0169251F84B6C7F491 /* GraphQLQueryWatcher.swift in Sources */, - 6E20F6C0E19A17F4201104D4B1DF20FA /* GraphQLResponse.swift in Sources */, - AF46CB36B27EABF6E8B6480799F20346 /* GraphQLResponseGenerator.swift in Sources */, - 83945EFF960DD7F3F4C175C12B5D087F /* GraphQLResult.swift in Sources */, - ACC87673AEECFDBBADE4D074D178E68B /* GraphQLResultAccumulator.swift in Sources */, - D79B88FA15AC9F21295E67E3AEB5BC3B /* GraphQLResultNormalizer.swift in Sources */, - 20263783BC313615A55C4C70B42C90D8 /* GraphQLSelectionSet.swift in Sources */, - 17AA985FDEE1C5CA7FDFD531A0750E2B /* GraphQLSelectionSetMapper.swift in Sources */, - 1B2AC3FEBB2421EF31C30FD48CF5AF9D /* HTTPNetworkTransport.swift in Sources */, - 5942A9A2695D26A2AE44031D089D7AC0 /* InMemoryNormalizedCache.swift in Sources */, - B7380A90C01A9BC18A2BF90F39EE0457 /* JSON.swift in Sources */, - 1B4BA5EB745DAE064A4ED02B91B69A02 /* JSONSerializationFormat.swift in Sources */, - E94BB0B983D1064A50720A9B817D2689 /* JSONStandardTypeConversions.swift in Sources */, - 842B7BA4DDBC42ACAF98873DDFA89704 /* Locking.swift in Sources */, - 102A91FAAADC6F29DA40FC6C99E59693 /* NetworkTransport.swift in Sources */, - 8789F54BEDB989D49F5933BA8FBAF1ED /* NormalizedCache.swift in Sources */, - AC66F689BBA684C0929D9D02079E53A4 /* Promise.swift in Sources */, - 30F691F253927A030206F80149F23525 /* Record.swift in Sources */, - F34D8D98C4B26D6F32461871F7A85D52 /* RecordSet.swift in Sources */, - D564C7401DD18D31DE6D66035CEC2260 /* Result.swift in Sources */, - FEE654610692510CDCB9925E695B864E /* ResultOrPromise.swift in Sources */, - FC7E998F35F8896283904A0E5E18553C /* Utilities.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E57A292D1A7698297391DAF51605F9CC /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 93B1E54244A3D4DA68B1AA8C408D276F /* Pods-RxApolloClient_Tests-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - EDFF62D5C74F2BDD8D6C9DD54367D3E3 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 150015A3E6A890D834DD3CEB5DC6E25D /* ApolloClient+Rx.swift in Sources */, - 3AE9F374F681D93FDE72727AEBBC7900 /* RxApolloClient-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 24B0F818E3C0A986F19E19DD3C9F20D2 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = RxAtomic; - target = A00BFB2941E9B50C054A2282B6F61E07 /* RxAtomic */; - targetProxy = 5E1A63B1C57838C3E401D9CC650723DC /* PBXContainerItemProxy */; - }; - 33DA4D736C86771AE7BAC0070667F3EA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Pods-RxApolloClient_Example"; - target = EDE3153619DD008BBE404EBA70B451AC /* Pods-RxApolloClient_Example */; - targetProxy = D7594C6BD4C39F3B34E7FA678253D867 /* PBXContainerItemProxy */; - }; - 4118F1E165DC532F0C5CB8248ED57CCE /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = RxApolloClient; - target = C3199E762BE01EB88F64D69F37E9C5F0 /* RxApolloClient */; - targetProxy = 34CAD949655E04E5EF7A1E0744264CD8 /* PBXContainerItemProxy */; - }; - 4389383091809B00C3DC226D28834924 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = RxSwift; - target = EC97D51C1C0F8F7C4F3390A627ACA682 /* RxSwift */; - targetProxy = FD55A03E429D113E5369382E196E3982 /* PBXContainerItemProxy */; - }; - 61E117008D7235B3F9DC07E883AF1755 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = RxAtomic; - target = A00BFB2941E9B50C054A2282B6F61E07 /* RxAtomic */; - targetProxy = 51D2BF8B4DCCFC4211CFAF12717E621C /* PBXContainerItemProxy */; - }; - 7155A3409E6EE71F598E7311B88D63FC /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = RxSwift; - target = EC97D51C1C0F8F7C4F3390A627ACA682 /* RxSwift */; - targetProxy = 184F917C39416741FFC11EF82B60B649 /* PBXContainerItemProxy */; - }; - 728BC8BBCE9E5C7EA3E9FEBE7D6A6C21 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = RxAtomic; - target = A00BFB2941E9B50C054A2282B6F61E07 /* RxAtomic */; - targetProxy = 28C27B75CB8B6961ED3DAF8189721370 /* PBXContainerItemProxy */; - }; - 7D6ABE410B8A8F89F4884793F4A2DF56 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = Apollo; - target = 75DFC7B7A0E0F5FCEF1D11EAB25E2323 /* Apollo */; - targetProxy = 81B47CF1E47892D72479795442F5C617 /* PBXContainerItemProxy */; - }; - 854E4FB848AE07A4971242C9163E548C /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = RxOptional; - target = CB6D13B967F249BD8699B022F1994F41 /* RxOptional */; - targetProxy = 041D5562EDF301E5EE57BBF9C3512CCD /* PBXContainerItemProxy */; - }; - 8B42D179F4110F1AF8167D89D735C6A4 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = RxAtomic; - target = A00BFB2941E9B50C054A2282B6F61E07 /* RxAtomic */; - targetProxy = 0E7AC355EFFDDC8D849697BFCC8C567D /* PBXContainerItemProxy */; - }; - A379D37A9BCEC3795ED77516E7B8F20B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = RxCocoa; - target = BB41F1D5D54C7BE0A1CD9BBE69908566 /* RxCocoa */; - targetProxy = 3D245045B31057FB69CD135CE3CC515E /* PBXContainerItemProxy */; - }; - BA14211B21FB84AAD3EB19E28D568CF0 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = RxAtomic; - target = A00BFB2941E9B50C054A2282B6F61E07 /* RxAtomic */; - targetProxy = 8CDD39531A9CAC404AECC06EFE27A86D /* PBXContainerItemProxy */; - }; - CE32439E0A6887E0E23F2EAFDFC3DF2E /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = RxSwift; - target = EC97D51C1C0F8F7C4F3390A627ACA682 /* RxSwift */; - targetProxy = 4B57E83E800EA05A9F6A80C594D344A1 /* PBXContainerItemProxy */; - }; - E06A0BF81EAE9C9C6E127C66011ACC0B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = Apollo; - target = 75DFC7B7A0E0F5FCEF1D11EAB25E2323 /* Apollo */; - targetProxy = F7E930BC575AF7C4257820470FD26B90 /* PBXContainerItemProxy */; - }; - ED7018BEA291B7DE4D490CD567E0110E /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = RxCocoa; - target = BB41F1D5D54C7BE0A1CD9BBE69908566 /* RxCocoa */; - targetProxy = 3E88F737E042906C4867C1F44078088E /* PBXContainerItemProxy */; - }; - F662F72CC63C202DB350406082C9AC4F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = RxSwift; - target = EC97D51C1C0F8F7C4F3390A627ACA682 /* RxSwift */; - targetProxy = 30E5F61F7023FFAF4CCE5F3DB5B4D8FB /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 0D9FA80624EB4A8AD0F48203224C3223 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 57A55323FB4FA33A541311A7E59CDCFD /* Pods-RxApolloClient_Tests.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-RxApolloClient_Tests/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-RxApolloClient_Tests/Pods-RxApolloClient_Tests.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 116FA8239F12B39DAC1AEFC8F7339975 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 1C8947F7BACEBC1D5F947EB275D6DADC /* RxApolloClient.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/RxApolloClient/RxApolloClient-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/RxApolloClient/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/RxApolloClient/RxApolloClient.modulemap"; - PRODUCT_MODULE_NAME = RxApolloClient; - PRODUCT_NAME = RxApolloClient; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 1E3D4B0D570919EA273D90CCEDE97DD4 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8EE0E30DE97FA1971A12036A210FF9EA /* Apollo.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/Apollo/Apollo-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Apollo/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/Apollo/Apollo.modulemap"; - PRODUCT_MODULE_NAME = Apollo; - PRODUCT_NAME = Apollo; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 2955A032FDB7F21AF5D7A1952BE308BE /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8EE0E30DE97FA1971A12036A210FF9EA /* Apollo.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/Apollo/Apollo-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Apollo/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/Apollo/Apollo.modulemap"; - PRODUCT_MODULE_NAME = Apollo; - PRODUCT_NAME = Apollo; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 324157DF42461B90C6B0187766FD41EA /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = E64C9A9C12A9709A6B2F39AFC917485A /* Pods-RxApolloClient_Example.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-RxApolloClient_Example/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-RxApolloClient_Example/Pods-RxApolloClient_Example.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 3D567A6A7F8CC8D07F9A5F515502559E /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 16F41EDF38DB76E482C63C033706398C /* RxOptional.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/RxOptional/RxOptional-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/RxOptional/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/RxOptional/RxOptional.modulemap"; - PRODUCT_MODULE_NAME = RxOptional; - PRODUCT_NAME = RxOptional; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 50646285DD9FD95AF390BDA3FB1948EA /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGNING_ALLOWED = NO; - CODE_SIGNING_REQUIRED = NO; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_DEBUG=1", - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_NAME = "$(TARGET_NAME)"; - STRIP_INSTALLED_PRODUCT = NO; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.2; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Debug; - }; - 58DCB2BA7C34E84C00C38CEF18A96D11 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGNING_ALLOWED = NO; - CODE_SIGNING_REQUIRED = NO; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_RELEASE=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_NAME = "$(TARGET_NAME)"; - STRIP_INSTALLED_PRODUCT = NO; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - SWIFT_VERSION = 4.2; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Release; - }; - 677D45CAABDD53F4701BA794CEB29E1A /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 5303752E1361267965F929A5FC02A91A /* RxSwift.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/RxSwift/RxSwift-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/RxSwift/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/RxSwift/RxSwift.modulemap"; - PRODUCT_MODULE_NAME = RxSwift; - PRODUCT_NAME = RxSwift; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 7055380BBDA1E0AAB644793A99488E59 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 16F41EDF38DB76E482C63C033706398C /* RxOptional.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/RxOptional/RxOptional-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/RxOptional/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/RxOptional/RxOptional.modulemap"; - PRODUCT_MODULE_NAME = RxOptional; - PRODUCT_NAME = RxOptional; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 70AB1E6A5DA49181569C78A5F0C77F52 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = DC4A081F6BE23F765842C65A9F9E548E /* Pods-RxApolloClient_Example.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-RxApolloClient_Example/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-RxApolloClient_Example/Pods-RxApolloClient_Example.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 7E174158FCBF8891F1F13FBD145772D1 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 1C8947F7BACEBC1D5F947EB275D6DADC /* RxApolloClient.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/RxApolloClient/RxApolloClient-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/RxApolloClient/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/RxApolloClient/RxApolloClient.modulemap"; - PRODUCT_MODULE_NAME = RxApolloClient; - PRODUCT_NAME = RxApolloClient; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - B26871CBD0DCDEB0D80988C1CE1A3F05 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 0E8C524E417DE2B8A8390F3ECADDAB8E /* RxAtomic.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/RxAtomic/RxAtomic-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/RxAtomic/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/RxAtomic/RxAtomic.modulemap"; - PRODUCT_MODULE_NAME = RxAtomic; - PRODUCT_NAME = RxAtomic; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - B5B4F25E80582EA2D55E51398C453F74 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = E29C18480D4798265532F3A64F27DF30 /* RxCocoa.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/RxCocoa/RxCocoa-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/RxCocoa/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/RxCocoa/RxCocoa.modulemap"; - PRODUCT_MODULE_NAME = RxCocoa; - PRODUCT_NAME = RxCocoa; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - D15A29AD28AA47FF1887839D52B449A7 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = E29C18480D4798265532F3A64F27DF30 /* RxCocoa.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/RxCocoa/RxCocoa-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/RxCocoa/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/RxCocoa/RxCocoa.modulemap"; - PRODUCT_MODULE_NAME = RxCocoa; - PRODUCT_NAME = RxCocoa; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - F5BA3B9E61A273250ECBABD7706CF885 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 0E8C524E417DE2B8A8390F3ECADDAB8E /* RxAtomic.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/RxAtomic/RxAtomic-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/RxAtomic/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/RxAtomic/RxAtomic.modulemap"; - PRODUCT_MODULE_NAME = RxAtomic; - PRODUCT_NAME = RxAtomic; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - FAC1CE20F0FF594FA017719E49686C4C /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 874962109223DA52B5067BFE010ED063 /* Pods-RxApolloClient_Tests.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-RxApolloClient_Tests/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-RxApolloClient_Tests/Pods-RxApolloClient_Tests.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - FC4A38D2D1A4AC19E0FAD7ABB9063E06 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 5303752E1361267965F929A5FC02A91A /* RxSwift.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/RxSwift/RxSwift-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/RxSwift/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/RxSwift/RxSwift.modulemap"; - PRODUCT_MODULE_NAME = RxSwift; - PRODUCT_NAME = RxSwift; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 50646285DD9FD95AF390BDA3FB1948EA /* Debug */, - 58DCB2BA7C34E84C00C38CEF18A96D11 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 2EAEB6397F0B3B7B6D7EAF71095A95C7 /* Build configuration list for PBXNativeTarget "Pods-RxApolloClient_Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - FAC1CE20F0FF594FA017719E49686C4C /* Debug */, - 0D9FA80624EB4A8AD0F48203224C3223 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 3A505F6B250492746AE5128584C900D3 /* Build configuration list for PBXNativeTarget "RxAtomic" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B26871CBD0DCDEB0D80988C1CE1A3F05 /* Debug */, - F5BA3B9E61A273250ECBABD7706CF885 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 68CCC064B11C0E20622AF8B0BBA13E26 /* Build configuration list for PBXNativeTarget "Pods-RxApolloClient_Example" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 70AB1E6A5DA49181569C78A5F0C77F52 /* Debug */, - 324157DF42461B90C6B0187766FD41EA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 8F3EDDFC7A3763622A8EE5086C09AFCF /* Build configuration list for PBXNativeTarget "RxOptional" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 7055380BBDA1E0AAB644793A99488E59 /* Debug */, - 3D567A6A7F8CC8D07F9A5F515502559E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 9A9B196BA9EDF091BE8BFF5E4B93E542 /* Build configuration list for PBXNativeTarget "RxSwift" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 677D45CAABDD53F4701BA794CEB29E1A /* Debug */, - FC4A38D2D1A4AC19E0FAD7ABB9063E06 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - AE8536FBD41BA7CE0447A6770A39088B /* Build configuration list for PBXNativeTarget "Apollo" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 1E3D4B0D570919EA273D90CCEDE97DD4 /* Debug */, - 2955A032FDB7F21AF5D7A1952BE308BE /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - EC841CE359BB9097C67660133550EBE0 /* Build configuration list for PBXNativeTarget "RxApolloClient" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 116FA8239F12B39DAC1AEFC8F7339975 /* Debug */, - 7E174158FCBF8891F1F13FBD145772D1 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - F9CACBE4DD20A1BD8191165291DBB9A4 /* Build configuration list for PBXNativeTarget "RxCocoa" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B5B4F25E80582EA2D55E51398C453F74 /* Debug */, - D15A29AD28AA47FF1887839D52B449A7 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; -} diff --git a/Example/Pods/RxAtomic/LICENSE.md b/Example/Pods/RxAtomic/LICENSE.md deleted file mode 100644 index d6765d9..0000000 --- a/Example/Pods/RxAtomic/LICENSE.md +++ /dev/null @@ -1,9 +0,0 @@ -**The MIT License** -**Copyright © 2015 Krunoslav Zaher** -**All rights reserved.** - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/Example/Pods/RxAtomic/README.md b/Example/Pods/RxAtomic/README.md deleted file mode 100644 index 03270a0..0000000 --- a/Example/Pods/RxAtomic/README.md +++ /dev/null @@ -1,217 +0,0 @@ -Miss Electric Eel 2016 RxSwift: ReactiveX for Swift -====================================== - -[![Travis CI](https://travis-ci.org/ReactiveX/RxSwift.svg?branch=master)](https://travis-ci.org/ReactiveX/RxSwift) ![platforms](https://img.shields.io/badge/platforms-iOS%20%7C%20macOS%20%7C%20tvOS%20%7C%20watchOS%20%7C%20Linux-333333.svg) ![pod](https://img.shields.io/cocoapods/v/RxSwift.svg) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![Swift Package Manager compatible](https://img.shields.io/badge/Swift%20Package%20Manager-compatible-brightgreen.svg)](https://github.com/apple/swift-package-manager) - -* RxSwift 3.x / Swift 3.x can be found in [**rxswift-3.0** branch](https://github.com/ReactiveX/RxSwift/tree/rxswift-3.0). - -Rx is a [generic abstraction of computation](https://youtu.be/looJcaeboBY) expressed through `Observable` interface. - -This is a Swift version of [Rx](https://github.com/Reactive-Extensions/Rx.NET). - -It tries to port as many concepts from the original version as possible, but some concepts were adapted for more pleasant and performant integration with iOS/macOS environment. - -Cross platform documentation can be found on [ReactiveX.io](http://reactivex.io/). - -Like the original Rx, its intention is to enable easy composition of asynchronous operations and event/data streams. - -KVO observing, async operations and streams are all unified under [abstraction of sequence](Documentation/GettingStarted.md#observables-aka-sequences). This is the reason why Rx is so simple, elegant and powerful. - -## I came here because I want to ... - -###### ... understand - -* [why use rx?](Documentation/Why.md) -* [the basics, getting started with RxSwift](Documentation/GettingStarted.md) -* [traits](Documentation/Traits.md) - what are `Single`, `Completable`, `Maybe`, `Driver`, `ControlProperty`, and `Variable` ... and why do they exist? -* [testing](Documentation/UnitTests.md) -* [tips and common errors](Documentation/Tips.md) -* [debugging](Documentation/GettingStarted.md#debugging) -* [the math behind Rx](Documentation/MathBehindRx.md) -* [what are hot and cold observable sequences?](Documentation/HotAndColdObservables.md) - -###### ... install - -* Integrate RxSwift/RxCocoa with my app. [Installation Guide](#installation) - -###### ... hack around - -* with the example app. [Running Example App](Documentation/ExampleApp.md) -* with operators in playgrounds. [Playgrounds](Documentation/Playgrounds.md) - -###### ... interact - -* All of this is great, but it would be nice to talk with other people using RxSwift and exchange experiences.
[![Slack channel](http://rxswift-slack.herokuapp.com/badge.svg)](http://slack.rxswift.org) [Join Slack Channel](http://slack.rxswift.org) -* Report a problem using the library. [Open an Issue With Bug Template](.github/ISSUE_TEMPLATE.md) -* Request a new feature. [Open an Issue With Feature Request Template](Documentation/NewFeatureRequestTemplate.md) -* Help out [Check out contribution guide](CONTRIBUTING.md) - -###### ... compare - -* [with other libraries](Documentation/ComparisonWithOtherLibraries.md). - - -###### ... find compatible - -* libraries from [RxSwiftCommunity](https://github.com/RxSwiftCommunity). -* [Pods using RxSwift](https://cocoapods.org/?q=uses%3Arxswift). - -###### ... see the broader vision - -* Does this exist for Android? [RxJava](https://github.com/ReactiveX/RxJava) -* Where is all of this going, what is the future, what about reactive architectures, how do you design entire apps this way? [Cycle.js](https://github.com/cyclejs/cycle-core) - this is javascript, but [RxJS](https://github.com/Reactive-Extensions/RxJS) is javascript version of Rx. - -## Usage - - - - - - - - - - - - - - - - - - - -
Here's an exampleIn Action
Define search for GitHub repositories ...
-let searchResults = searchBar.rx.text.orEmpty
-    .throttle(0.3, scheduler: MainScheduler.instance)
-    .distinctUntilChanged()
-    .flatMapLatest { query -> Observable<[Repository]> in
-        if query.isEmpty {
-            return .just([])
-        }
-        return searchGitHub(query)
-            .catchErrorJustReturn([])
-    }
-    .observeOn(MainScheduler.instance)
... then bind the results to your tableview
-searchResults
-    .bind(to: tableView.rx.items(cellIdentifier: "Cell")) {
-        (index, repository: Repository, cell) in
-        cell.textLabel?.text = repository.name
-        cell.detailTextLabel?.text = repository.url
-    }
-    .disposed(by: disposeBag)
- - -## Requirements - -* Xcode 9.0 -* Swift 4.0 -* Swift 3.x ([use `rxswift-3.0` branch](https://github.com/ReactiveX/RxSwift/tree/rxswift-3.0) instead) -* Swift 2.3 ([use `rxswift-2.0` branch](https://github.com/ReactiveX/RxSwift/tree/rxswift-2.0) instead) - -## Installation - -Rx doesn't contain any external dependencies. - -These are currently the supported options: - -### Manual - -Open Rx.xcworkspace, choose `RxExample` and hit run. This method will build everything and run the sample app - -### [CocoaPods](https://guides.cocoapods.org/using/using-cocoapods.html) - -**Tested with `pod --version`: `1.3.1`** - -```ruby -# Podfile -use_frameworks! - -target 'YOUR_TARGET_NAME' do - pod 'RxSwift', '~> 4.0' - pod 'RxCocoa', '~> 4.0' -end - -# RxTest and RxBlocking make the most sense in the context of unit/integration tests -target 'YOUR_TESTING_TARGET' do - pod 'RxBlocking', '~> 4.0' - pod 'RxTest', '~> 4.0' -end -``` - -Replace `YOUR_TARGET_NAME` and then, in the `Podfile` directory, type: - -```bash -$ pod install -``` - -### [Carthage](https://github.com/Carthage/Carthage) - -**Tested with `carthage version`: `0.26.2`** - -Add this to `Cartfile` - -``` -github "ReactiveX/RxSwift" ~> 4.0 -``` - -```bash -$ carthage update -``` - -### [Swift Package Manager](https://github.com/apple/swift-package-manager) - -**Tested with `swift build --version`: `Swift 4.0.0-dev (swiftpm-13126)`** - -Create a `Package.swift` file. - -```swift -// swift-tools-version:4.0 - -import PackageDescription - -let package = Package( - name: "RxTestProject", - dependencies: [ - .package(url: "https://github.com/ReactiveX/RxSwift.git", "4.0.0" ..< "5.0.0") - ], - targets: [ - .target(name: "RxTestProject", dependencies: ["RxSwift", "RxCocoa"]) - ] -) -``` - -```bash -$ swift build -``` - -To build or test a module with RxTest dependency, set `TEST=1`. ([RxSwift >= 3.4.2](https://github.com/ReactiveX/RxSwift/releases/tag/3.4.2)) - -```bash -$ TEST=1 swift test -``` - -### Manually using git submodules - -* Add RxSwift as a submodule - -```bash -$ git submodule add git@github.com:ReactiveX/RxSwift.git -``` - -* Drag `Rx.xcodeproj` into Project Navigator -* Go to `Project > Targets > Build Phases > Link Binary With Libraries`, click `+` and select `RxSwift-[Platform]` and `RxCocoa-[Platform]` targets - - -## References - -* [http://reactivex.io/](http://reactivex.io/) -* [Reactive Extensions GitHub (GitHub)](https://github.com/Reactive-Extensions) -* [RxSwift RayWenderlich.com Book](https://store.raywenderlich.com/products/rxswift-reactive-programming-with-swift) -* [Boxue.io RxSwift Online Course](https://boxueio.com/series/rxswift-101) (Chinese 🇨🇳) -* [Erik Meijer (Wikipedia)](http://en.wikipedia.org/wiki/Erik_Meijer_%28computer_scientist%29) -* [Expert to Expert: Brian Beckman and Erik Meijer - Inside the .NET Reactive Framework (Rx) (video)](https://youtu.be/looJcaeboBY) -* [Reactive Programming Overview (Jafar Husain from Netflix)](https://www.youtube.com/watch?v=dwP1TNXE6fc) -* [Subject/Observer is Dual to Iterator (paper)](http://csl.stanford.edu/~christos/pldi2010.fit/meijer.duality.pdf) -* [Rx standard sequence operators visualized (visualization tool)](http://rxmarbles.com/) -* [Haskell](https://www.haskell.org/) diff --git a/Example/Pods/RxAtomic/RxAtomic/RxAtomic.c b/Example/Pods/RxAtomic/RxAtomic/RxAtomic.c deleted file mode 100644 index 5ec86f5..0000000 --- a/Example/Pods/RxAtomic/RxAtomic/RxAtomic.c +++ /dev/null @@ -1,7 +0,0 @@ -// -// RxAtomic.c -// RxAtomic -// -// Created by Krunoslav Zaher on 10/28/18. -// Copyright © 2018 Krunoslav Zaher. All rights reserved. -// diff --git a/Example/Pods/RxAtomic/RxAtomic/include/RxAtomic.h b/Example/Pods/RxAtomic/RxAtomic/include/RxAtomic.h deleted file mode 100644 index cd182ce..0000000 --- a/Example/Pods/RxAtomic/RxAtomic/include/RxAtomic.h +++ /dev/null @@ -1,48 +0,0 @@ -// -// RxAtomic.h -// RxAtomic -// -// Created by Krunoslav Zaher on 10/28/18. -// Copyright © 2018 Krunoslav Zaher. All rights reserved. -// - -#ifndef RxAtomic_h -#define RxAtomic_h - -#include - -#define SWIFT_NAME(_name) __attribute__((swift_name(#_name))) - -#define Atomic(swift_type, llvm_type) \ - typedef struct { volatile atomic_##llvm_type atom; } Atomic##swift_type;\ - static __inline__ __attribute__((__always_inline__)) SWIFT_NAME(Atomic##swift_type.initialize(self:_:)) \ - void Atomic##swift_type##_Initialize(Atomic##swift_type * _Nonnull self, llvm_type value) { \ - atomic_init(&self->atom, value);\ - }\ - \ - static __inline__ __attribute__((__always_inline__)) SWIFT_NAME(Atomic##swift_type.load(self:)) \ - llvm_type Atomic##swift_type##_Load(Atomic##swift_type * _Nonnull self) { \ - return atomic_load(&self->atom);\ - }\ - \ - static __inline__ __attribute__((__always_inline__)) SWIFT_NAME(Atomic##swift_type.fetchOr(self:_:)) \ - llvm_type Atomic##swift_type##_FetchOr(Atomic##swift_type * _Nonnull self, llvm_type mask) { \ - return atomic_fetch_or(&self->atom, mask);\ - }\ - \ - static __inline__ __attribute__((__always_inline__)) SWIFT_NAME(Atomic##swift_type.add(self:_:)) \ - llvm_type Atomic##swift_type##_Add(Atomic##swift_type * _Nonnull self, llvm_type value) { \ - return atomic_fetch_add(&self->atom, value);\ - }\ - \ - static __inline__ __attribute__((__always_inline__)) SWIFT_NAME(Atomic##swift_type.sub(self:_:)) \ - llvm_type Atomic##swift_type##_Sub(Atomic##swift_type * _Nonnull self, llvm_type value) { \ - return atomic_fetch_sub(&self->atom, value);\ - }\ - \ - -Atomic(Int, int) - -#undef SWIFT_NAME - -#endif /* RxAtomic_h */ diff --git a/Example/Pods/RxSwift/LICENSE.md b/Example/Pods/RxSwift/LICENSE.md deleted file mode 100644 index d6765d9..0000000 --- a/Example/Pods/RxSwift/LICENSE.md +++ /dev/null @@ -1,9 +0,0 @@ -**The MIT License** -**Copyright © 2015 Krunoslav Zaher** -**All rights reserved.** - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/Example/Pods/RxSwift/Platform/AtomicInt.swift b/Example/Pods/RxSwift/Platform/AtomicInt.swift deleted file mode 100644 index 28ed4ad..0000000 --- a/Example/Pods/RxSwift/Platform/AtomicInt.swift +++ /dev/null @@ -1,33 +0,0 @@ -// -// AtomicInt.swift -// Platform -// -// Created by Krunoslav Zaher on 10/28/18. -// Copyright © 2018 Krunoslav Zaher. All rights reserved. -// - -import RxAtomic - -typealias AtomicInt = RxAtomic.AtomicInt - -extension AtomicInt { - init(_ initialValue: Int32) { - self.init() - self.initialize(initialValue) - } - - @discardableResult - mutating func increment() -> Int32 { - return self.add(1) - } - - @discardableResult - mutating func decrement() -> Int32 { - return self.sub(1) - } - - mutating func isFlagSet(_ mask: Int32) -> Bool { - return (self.load() & mask) != 0 - } -} - diff --git a/Example/Pods/RxSwift/Platform/DataStructures/Bag.swift b/Example/Pods/RxSwift/Platform/DataStructures/Bag.swift deleted file mode 100644 index 22d82d5..0000000 --- a/Example/Pods/RxSwift/Platform/DataStructures/Bag.swift +++ /dev/null @@ -1,183 +0,0 @@ -// -// Bag.swift -// Platform -// -// Created by Krunoslav Zaher on 2/28/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -import Swift - -let arrayDictionaryMaxSize = 30 - -struct BagKey { - /** - Unique identifier for object added to `Bag`. - - It's underlying type is UInt64. If we assume there in an idealized CPU that works at 4GHz, - it would take ~150 years of continuous running time for it to overflow. - */ - fileprivate let rawValue: UInt64 -} - -/** -Data structure that represents a bag of elements typed `T`. - -Single element can be stored multiple times. - -Time and space complexity of insertion and deletion is O(n). - -It is suitable for storing small number of elements. -*/ -struct Bag : CustomDebugStringConvertible { - /// Type of identifier for inserted elements. - typealias KeyType = BagKey - - typealias Entry = (key: BagKey, value: T) - - fileprivate var _nextKey: BagKey = BagKey(rawValue: 0) - - // data - - // first fill inline variables - var _key0: BagKey? = nil - var _value0: T? = nil - - // then fill "array dictionary" - var _pairs = ContiguousArray() - - // last is sparse dictionary - var _dictionary: [BagKey : T]? = nil - - var _onlyFastPath = true - - /// Creates new empty `Bag`. - init() { - } - - /** - Inserts `value` into bag. - - - parameter element: Element to insert. - - returns: Key that can be used to remove element from bag. - */ - mutating func insert(_ element: T) -> BagKey { - let key = _nextKey - - _nextKey = BagKey(rawValue: _nextKey.rawValue &+ 1) - - if _key0 == nil { - _key0 = key - _value0 = element - return key - } - - _onlyFastPath = false - - if _dictionary != nil { - _dictionary![key] = element - return key - } - - if _pairs.count < arrayDictionaryMaxSize { - _pairs.append((key: key, value: element)) - return key - } - - _dictionary = [key: element] - - return key - } - - /// - returns: Number of elements in bag. - var count: Int { - let dictionaryCount: Int = _dictionary?.count ?? 0 - return (_value0 != nil ? 1 : 0) + _pairs.count + dictionaryCount - } - - /// Removes all elements from bag and clears capacity. - mutating func removeAll() { - _key0 = nil - _value0 = nil - - _pairs.removeAll(keepingCapacity: false) - _dictionary?.removeAll(keepingCapacity: false) - } - - /** - Removes element with a specific `key` from bag. - - - parameter key: Key that identifies element to remove from bag. - - returns: Element that bag contained, or nil in case element was already removed. - */ - mutating func removeKey(_ key: BagKey) -> T? { - if _key0 == key { - _key0 = nil - let value = _value0! - _value0 = nil - return value - } - - if let existingObject = _dictionary?.removeValue(forKey: key) { - return existingObject - } - - for i in 0 ..< _pairs.count { - if _pairs[i].key == key { - let value = _pairs[i].value - _pairs.remove(at: i) - return value - } - } - - return nil - } -} - -extension Bag { - /// A textual representation of `self`, suitable for debugging. - var debugDescription : String { - return "\(self.count) elements in Bag" - } -} - -extension Bag { - /// Enumerates elements inside the bag. - /// - /// - parameter action: Enumeration closure. - func forEach(_ action: (T) -> Void) { - if _onlyFastPath { - if let value0 = _value0 { - action(value0) - } - return - } - - let value0 = _value0 - let dictionary = _dictionary - - if let value0 = value0 { - action(value0) - } - - for i in 0 ..< _pairs.count { - action(_pairs[i].value) - } - - if dictionary?.count ?? 0 > 0 { - for element in dictionary!.values { - action(element) - } - } - } -} - -extension BagKey: Hashable { - var hashValue: Int { - return rawValue.hashValue - } -} - -func ==(lhs: BagKey, rhs: BagKey) -> Bool { - return lhs.rawValue == rhs.rawValue -} diff --git a/Example/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift b/Example/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift deleted file mode 100644 index 5a573a0..0000000 --- a/Example/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift +++ /dev/null @@ -1,26 +0,0 @@ -// -// InfiniteSequence.swift -// Platform -// -// Created by Krunoslav Zaher on 6/13/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Sequence that repeats `repeatedValue` infinite number of times. -struct InfiniteSequence : Sequence { - typealias Element = E - typealias Iterator = AnyIterator - - private let _repeatedValue: E - - init(repeatedValue: E) { - _repeatedValue = repeatedValue - } - - func makeIterator() -> Iterator { - let repeatedValue = _repeatedValue - return AnyIterator { - return repeatedValue - } - } -} diff --git a/Example/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift b/Example/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift deleted file mode 100644 index 9b2c370..0000000 --- a/Example/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift +++ /dev/null @@ -1,123 +0,0 @@ -// -// PriorityQueue.swift -// Platform -// -// Created by Krunoslav Zaher on 12/27/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -struct PriorityQueue { - private let _hasHigherPriority: (Element, Element) -> Bool - private let _isEqual: (Element, Element) -> Bool - - fileprivate var _elements = [Element]() - - init(hasHigherPriority: @escaping (Element, Element) -> Bool, isEqual: @escaping (Element, Element) -> Bool) { - _hasHigherPriority = hasHigherPriority - _isEqual = isEqual - } - - mutating func enqueue(_ element: Element) { - _elements.append(element) - bubbleToHigherPriority(_elements.count - 1) - } - - func peek() -> Element? { - return _elements.first - } - - var isEmpty: Bool { - return _elements.count == 0 - } - - mutating func dequeue() -> Element? { - guard let front = peek() else { - return nil - } - - removeAt(0) - - return front - } - - mutating func remove(_ element: Element) { - for i in 0 ..< _elements.count { - if _isEqual(_elements[i], element) { - removeAt(i) - return - } - } - } - - private mutating func removeAt(_ index: Int) { - let removingLast = index == _elements.count - 1 - if !removingLast { - #if swift(>=3.2) - _elements.swapAt(index, _elements.count - 1) - #else - swap(&_elements[index], &_elements[_elements.count - 1]) - #endif - } - - _ = _elements.popLast() - - if !removingLast { - bubbleToHigherPriority(index) - bubbleToLowerPriority(index) - } - } - - private mutating func bubbleToHigherPriority(_ initialUnbalancedIndex: Int) { - precondition(initialUnbalancedIndex >= 0) - precondition(initialUnbalancedIndex < _elements.count) - - var unbalancedIndex = initialUnbalancedIndex - - while unbalancedIndex > 0 { - let parentIndex = (unbalancedIndex - 1) / 2 - guard _hasHigherPriority(_elements[unbalancedIndex], _elements[parentIndex]) else { break } - #if swift(>=3.2) - _elements.swapAt(unbalancedIndex, parentIndex) - #else - swap(&_elements[unbalancedIndex], &_elements[parentIndex]) - #endif - unbalancedIndex = parentIndex - } - } - - private mutating func bubbleToLowerPriority(_ initialUnbalancedIndex: Int) { - precondition(initialUnbalancedIndex >= 0) - precondition(initialUnbalancedIndex < _elements.count) - - var unbalancedIndex = initialUnbalancedIndex - while true { - let leftChildIndex = unbalancedIndex * 2 + 1 - let rightChildIndex = unbalancedIndex * 2 + 2 - - var highestPriorityIndex = unbalancedIndex - - if leftChildIndex < _elements.count && _hasHigherPriority(_elements[leftChildIndex], _elements[highestPriorityIndex]) { - highestPriorityIndex = leftChildIndex - } - - if rightChildIndex < _elements.count && _hasHigherPriority(_elements[rightChildIndex], _elements[highestPriorityIndex]) { - highestPriorityIndex = rightChildIndex - } - - guard highestPriorityIndex != unbalancedIndex else { break } - - #if swift(>=3.2) - _elements.swapAt(highestPriorityIndex, unbalancedIndex) - #else - swap(&_elements[highestPriorityIndex], &_elements[unbalancedIndex]) - #endif - unbalancedIndex = highestPriorityIndex - } - } -} - -extension PriorityQueue : CustomDebugStringConvertible { - var debugDescription: String { - return _elements.debugDescription - } -} diff --git a/Example/Pods/RxSwift/Platform/DataStructures/Queue.swift b/Example/Pods/RxSwift/Platform/DataStructures/Queue.swift deleted file mode 100644 index d05726c..0000000 --- a/Example/Pods/RxSwift/Platform/DataStructures/Queue.swift +++ /dev/null @@ -1,152 +0,0 @@ -// -// Queue.swift -// Platform -// -// Created by Krunoslav Zaher on 3/21/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/** -Data structure that represents queue. - -Complexity of `enqueue`, `dequeue` is O(1) when number of operations is -averaged over N operations. - -Complexity of `peek` is O(1). -*/ -struct Queue: Sequence { - /// Type of generator. - typealias Generator = AnyIterator - - private let _resizeFactor = 2 - - private var _storage: ContiguousArray - private var _count = 0 - private var _pushNextIndex = 0 - private let _initialCapacity: Int - - /** - Creates new queue. - - - parameter capacity: Capacity of newly created queue. - */ - init(capacity: Int) { - _initialCapacity = capacity - - _storage = ContiguousArray(repeating: nil, count: capacity) - } - - private var dequeueIndex: Int { - let index = _pushNextIndex - count - return index < 0 ? index + _storage.count : index - } - - /// - returns: Is queue empty. - var isEmpty: Bool { - return count == 0 - } - - /// - returns: Number of elements inside queue. - var count: Int { - return _count - } - - /// - returns: Element in front of a list of elements to `dequeue`. - func peek() -> T { - precondition(count > 0) - - return _storage[dequeueIndex]! - } - - mutating private func resizeTo(_ size: Int) { - var newStorage = ContiguousArray(repeating: nil, count: size) - - let count = _count - - let dequeueIndex = self.dequeueIndex - let spaceToEndOfQueue = _storage.count - dequeueIndex - - // first batch is from dequeue index to end of array - let countElementsInFirstBatch = Swift.min(count, spaceToEndOfQueue) - // second batch is wrapped from start of array to end of queue - let numberOfElementsInSecondBatch = count - countElementsInFirstBatch - - newStorage[0 ..< countElementsInFirstBatch] = _storage[dequeueIndex ..< (dequeueIndex + countElementsInFirstBatch)] - newStorage[countElementsInFirstBatch ..< (countElementsInFirstBatch + numberOfElementsInSecondBatch)] = _storage[0 ..< numberOfElementsInSecondBatch] - - _count = count - _pushNextIndex = count - _storage = newStorage - } - - /// Enqueues `element`. - /// - /// - parameter element: Element to enqueue. - mutating func enqueue(_ element: T) { - if count == _storage.count { - resizeTo(Swift.max(_storage.count, 1) * _resizeFactor) - } - - _storage[_pushNextIndex] = element - _pushNextIndex += 1 - _count += 1 - - if _pushNextIndex >= _storage.count { - _pushNextIndex -= _storage.count - } - } - - private mutating func dequeueElementOnly() -> T { - precondition(count > 0) - - let index = dequeueIndex - - defer { - _storage[index] = nil - _count -= 1 - } - - return _storage[index]! - } - - /// Dequeues element or throws an exception in case queue is empty. - /// - /// - returns: Dequeued element. - mutating func dequeue() -> T? { - if self.count == 0 { - return nil - } - - defer { - let downsizeLimit = _storage.count / (_resizeFactor * _resizeFactor) - if _count < downsizeLimit && downsizeLimit >= _initialCapacity { - resizeTo(_storage.count / _resizeFactor) - } - } - - return dequeueElementOnly() - } - - /// - returns: Generator of contained elements. - func makeIterator() -> AnyIterator { - var i = dequeueIndex - var count = _count - - return AnyIterator { - if count == 0 { - return nil - } - - defer { - count -= 1 - i += 1 - } - - if i >= self._storage.count { - i -= self._storage.count - } - - return self._storage[i] - } - } -} diff --git a/Example/Pods/RxSwift/Platform/DeprecationWarner.swift b/Example/Pods/RxSwift/Platform/DeprecationWarner.swift deleted file mode 100644 index 863636b..0000000 --- a/Example/Pods/RxSwift/Platform/DeprecationWarner.swift +++ /dev/null @@ -1,43 +0,0 @@ -// -// DeprecationWarner.swift -// Platform -// -// Created by Shai Mishali on 1/9/18. -// Copyright © 2018 Krunoslav Zaher. All rights reserved. -// - -import Foundation - -#if DEBUG - class DeprecationWarner { - private static var warned = Set() - private static var _lock = NSRecursiveLock() - - static func warnIfNeeded(_ kind: Kind) { - _lock.lock(); defer { _lock.unlock() } - guard !warned.contains(kind) else { return } - - warned.insert(kind) - print("ℹ️ [DEPRECATED] \(kind.message)") - } - } - - extension DeprecationWarner { - enum Kind { - case variable - case globalTestFunctionNext - case globalTestFunctionError - case globalTestFunctionCompleted - - var message: String { - switch self { - case .variable: return "`Variable` is planned for future deprecation. Please consider `BehaviorRelay` as a replacement. Read more at: https://git.io/vNqvx" - case .globalTestFunctionNext: return "The `next()` global function is planned for future deprecation. Please use `Recorded.next()` instead." - case .globalTestFunctionError: return "The `error()` global function is planned for future deprecation. Please use `Recorded.error()` instead." - case .globalTestFunctionCompleted: return "The `completed()` global function is planned for future deprecation. Please use `Recorded.completed()` instead." - } - } - } - } -#endif - diff --git a/Example/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift b/Example/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift deleted file mode 100644 index 552314a..0000000 --- a/Example/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift +++ /dev/null @@ -1,21 +0,0 @@ -// -// DispatchQueue+Extensions.swift -// Platform -// -// Created by Krunoslav Zaher on 10/22/16. -// Copyright © 2016 Krunoslav Zaher. All rights reserved. -// - -import Dispatch - -extension DispatchQueue { - private static var token: DispatchSpecificKey<()> = { - let key = DispatchSpecificKey<()>() - DispatchQueue.main.setSpecific(key: key, value: ()) - return key - }() - - static var isMain: Bool { - return DispatchQueue.getSpecific(key: token) != nil - } -} diff --git a/Example/Pods/RxSwift/Platform/Platform.Darwin.swift b/Example/Pods/RxSwift/Platform/Platform.Darwin.swift deleted file mode 100644 index 6dc36ad..0000000 --- a/Example/Pods/RxSwift/Platform/Platform.Darwin.swift +++ /dev/null @@ -1,36 +0,0 @@ -// -// Platform.Darwin.swift -// Platform -// -// Created by Krunoslav Zaher on 12/29/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - - import Darwin - import class Foundation.Thread - import protocol Foundation.NSCopying - - extension Thread { - static func setThreadLocalStorageValue(_ value: T?, forKey key: NSCopying) { - let currentThread = Thread.current - let threadDictionary = currentThread.threadDictionary - - if let newValue = value { - threadDictionary[key] = newValue - } - else { - threadDictionary[key] = nil - } - } - - static func getThreadLocalStorageValueForKey(_ key: NSCopying) -> T? { - let currentThread = Thread.current - let threadDictionary = currentThread.threadDictionary - - return threadDictionary[key] as? T - } - } - -#endif diff --git a/Example/Pods/RxSwift/Platform/Platform.Linux.swift b/Example/Pods/RxSwift/Platform/Platform.Linux.swift deleted file mode 100644 index 570f8f0..0000000 --- a/Example/Pods/RxSwift/Platform/Platform.Linux.swift +++ /dev/null @@ -1,37 +0,0 @@ -// -// Platform.Linux.swift -// Platform -// -// Created by Krunoslav Zaher on 12/29/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -#if os(Linux) - - import class Foundation.Thread - - extension Thread { - - static func setThreadLocalStorageValue(_ value: T?, forKey key: String) { - let currentThread = Thread.current - var threadDictionary = currentThread.threadDictionary - - if let newValue = value { - threadDictionary[key] = newValue - } - else { - threadDictionary[key] = nil - } - - currentThread.threadDictionary = threadDictionary - } - - static func getThreadLocalStorageValueForKey(_ key: String) -> T? { - let currentThread = Thread.current - let threadDictionary = currentThread.threadDictionary - - return threadDictionary[key] as? T - } - } - -#endif diff --git a/Example/Pods/RxSwift/Platform/RecursiveLock.swift b/Example/Pods/RxSwift/Platform/RecursiveLock.swift deleted file mode 100644 index c03471d..0000000 --- a/Example/Pods/RxSwift/Platform/RecursiveLock.swift +++ /dev/null @@ -1,34 +0,0 @@ -// -// RecursiveLock.swift -// Platform -// -// Created by Krunoslav Zaher on 12/18/16. -// Copyright © 2016 Krunoslav Zaher. All rights reserved. -// - -import class Foundation.NSRecursiveLock - -#if TRACE_RESOURCES - class RecursiveLock: NSRecursiveLock { - override init() { - _ = Resources.incrementTotal() - super.init() - } - - override func lock() { - super.lock() - _ = Resources.incrementTotal() - } - - override func unlock() { - super.unlock() - _ = Resources.decrementTotal() - } - - deinit { - _ = Resources.decrementTotal() - } - } -#else - typealias RecursiveLock = NSRecursiveLock -#endif diff --git a/Example/Pods/RxSwift/README.md b/Example/Pods/RxSwift/README.md deleted file mode 100644 index 03270a0..0000000 --- a/Example/Pods/RxSwift/README.md +++ /dev/null @@ -1,217 +0,0 @@ -Miss Electric Eel 2016 RxSwift: ReactiveX for Swift -====================================== - -[![Travis CI](https://travis-ci.org/ReactiveX/RxSwift.svg?branch=master)](https://travis-ci.org/ReactiveX/RxSwift) ![platforms](https://img.shields.io/badge/platforms-iOS%20%7C%20macOS%20%7C%20tvOS%20%7C%20watchOS%20%7C%20Linux-333333.svg) ![pod](https://img.shields.io/cocoapods/v/RxSwift.svg) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![Swift Package Manager compatible](https://img.shields.io/badge/Swift%20Package%20Manager-compatible-brightgreen.svg)](https://github.com/apple/swift-package-manager) - -* RxSwift 3.x / Swift 3.x can be found in [**rxswift-3.0** branch](https://github.com/ReactiveX/RxSwift/tree/rxswift-3.0). - -Rx is a [generic abstraction of computation](https://youtu.be/looJcaeboBY) expressed through `Observable` interface. - -This is a Swift version of [Rx](https://github.com/Reactive-Extensions/Rx.NET). - -It tries to port as many concepts from the original version as possible, but some concepts were adapted for more pleasant and performant integration with iOS/macOS environment. - -Cross platform documentation can be found on [ReactiveX.io](http://reactivex.io/). - -Like the original Rx, its intention is to enable easy composition of asynchronous operations and event/data streams. - -KVO observing, async operations and streams are all unified under [abstraction of sequence](Documentation/GettingStarted.md#observables-aka-sequences). This is the reason why Rx is so simple, elegant and powerful. - -## I came here because I want to ... - -###### ... understand - -* [why use rx?](Documentation/Why.md) -* [the basics, getting started with RxSwift](Documentation/GettingStarted.md) -* [traits](Documentation/Traits.md) - what are `Single`, `Completable`, `Maybe`, `Driver`, `ControlProperty`, and `Variable` ... and why do they exist? -* [testing](Documentation/UnitTests.md) -* [tips and common errors](Documentation/Tips.md) -* [debugging](Documentation/GettingStarted.md#debugging) -* [the math behind Rx](Documentation/MathBehindRx.md) -* [what are hot and cold observable sequences?](Documentation/HotAndColdObservables.md) - -###### ... install - -* Integrate RxSwift/RxCocoa with my app. [Installation Guide](#installation) - -###### ... hack around - -* with the example app. [Running Example App](Documentation/ExampleApp.md) -* with operators in playgrounds. [Playgrounds](Documentation/Playgrounds.md) - -###### ... interact - -* All of this is great, but it would be nice to talk with other people using RxSwift and exchange experiences.
[![Slack channel](http://rxswift-slack.herokuapp.com/badge.svg)](http://slack.rxswift.org) [Join Slack Channel](http://slack.rxswift.org) -* Report a problem using the library. [Open an Issue With Bug Template](.github/ISSUE_TEMPLATE.md) -* Request a new feature. [Open an Issue With Feature Request Template](Documentation/NewFeatureRequestTemplate.md) -* Help out [Check out contribution guide](CONTRIBUTING.md) - -###### ... compare - -* [with other libraries](Documentation/ComparisonWithOtherLibraries.md). - - -###### ... find compatible - -* libraries from [RxSwiftCommunity](https://github.com/RxSwiftCommunity). -* [Pods using RxSwift](https://cocoapods.org/?q=uses%3Arxswift). - -###### ... see the broader vision - -* Does this exist for Android? [RxJava](https://github.com/ReactiveX/RxJava) -* Where is all of this going, what is the future, what about reactive architectures, how do you design entire apps this way? [Cycle.js](https://github.com/cyclejs/cycle-core) - this is javascript, but [RxJS](https://github.com/Reactive-Extensions/RxJS) is javascript version of Rx. - -## Usage - - - - - - - - - - - - - - - - - - - -
Here's an exampleIn Action
Define search for GitHub repositories ...
-let searchResults = searchBar.rx.text.orEmpty
-    .throttle(0.3, scheduler: MainScheduler.instance)
-    .distinctUntilChanged()
-    .flatMapLatest { query -> Observable<[Repository]> in
-        if query.isEmpty {
-            return .just([])
-        }
-        return searchGitHub(query)
-            .catchErrorJustReturn([])
-    }
-    .observeOn(MainScheduler.instance)
... then bind the results to your tableview
-searchResults
-    .bind(to: tableView.rx.items(cellIdentifier: "Cell")) {
-        (index, repository: Repository, cell) in
-        cell.textLabel?.text = repository.name
-        cell.detailTextLabel?.text = repository.url
-    }
-    .disposed(by: disposeBag)
- - -## Requirements - -* Xcode 9.0 -* Swift 4.0 -* Swift 3.x ([use `rxswift-3.0` branch](https://github.com/ReactiveX/RxSwift/tree/rxswift-3.0) instead) -* Swift 2.3 ([use `rxswift-2.0` branch](https://github.com/ReactiveX/RxSwift/tree/rxswift-2.0) instead) - -## Installation - -Rx doesn't contain any external dependencies. - -These are currently the supported options: - -### Manual - -Open Rx.xcworkspace, choose `RxExample` and hit run. This method will build everything and run the sample app - -### [CocoaPods](https://guides.cocoapods.org/using/using-cocoapods.html) - -**Tested with `pod --version`: `1.3.1`** - -```ruby -# Podfile -use_frameworks! - -target 'YOUR_TARGET_NAME' do - pod 'RxSwift', '~> 4.0' - pod 'RxCocoa', '~> 4.0' -end - -# RxTest and RxBlocking make the most sense in the context of unit/integration tests -target 'YOUR_TESTING_TARGET' do - pod 'RxBlocking', '~> 4.0' - pod 'RxTest', '~> 4.0' -end -``` - -Replace `YOUR_TARGET_NAME` and then, in the `Podfile` directory, type: - -```bash -$ pod install -``` - -### [Carthage](https://github.com/Carthage/Carthage) - -**Tested with `carthage version`: `0.26.2`** - -Add this to `Cartfile` - -``` -github "ReactiveX/RxSwift" ~> 4.0 -``` - -```bash -$ carthage update -``` - -### [Swift Package Manager](https://github.com/apple/swift-package-manager) - -**Tested with `swift build --version`: `Swift 4.0.0-dev (swiftpm-13126)`** - -Create a `Package.swift` file. - -```swift -// swift-tools-version:4.0 - -import PackageDescription - -let package = Package( - name: "RxTestProject", - dependencies: [ - .package(url: "https://github.com/ReactiveX/RxSwift.git", "4.0.0" ..< "5.0.0") - ], - targets: [ - .target(name: "RxTestProject", dependencies: ["RxSwift", "RxCocoa"]) - ] -) -``` - -```bash -$ swift build -``` - -To build or test a module with RxTest dependency, set `TEST=1`. ([RxSwift >= 3.4.2](https://github.com/ReactiveX/RxSwift/releases/tag/3.4.2)) - -```bash -$ TEST=1 swift test -``` - -### Manually using git submodules - -* Add RxSwift as a submodule - -```bash -$ git submodule add git@github.com:ReactiveX/RxSwift.git -``` - -* Drag `Rx.xcodeproj` into Project Navigator -* Go to `Project > Targets > Build Phases > Link Binary With Libraries`, click `+` and select `RxSwift-[Platform]` and `RxCocoa-[Platform]` targets - - -## References - -* [http://reactivex.io/](http://reactivex.io/) -* [Reactive Extensions GitHub (GitHub)](https://github.com/Reactive-Extensions) -* [RxSwift RayWenderlich.com Book](https://store.raywenderlich.com/products/rxswift-reactive-programming-with-swift) -* [Boxue.io RxSwift Online Course](https://boxueio.com/series/rxswift-101) (Chinese 🇨🇳) -* [Erik Meijer (Wikipedia)](http://en.wikipedia.org/wiki/Erik_Meijer_%28computer_scientist%29) -* [Expert to Expert: Brian Beckman and Erik Meijer - Inside the .NET Reactive Framework (Rx) (video)](https://youtu.be/looJcaeboBY) -* [Reactive Programming Overview (Jafar Husain from Netflix)](https://www.youtube.com/watch?v=dwP1TNXE6fc) -* [Subject/Observer is Dual to Iterator (paper)](http://csl.stanford.edu/~christos/pldi2010.fit/meijer.duality.pdf) -* [Rx standard sequence operators visualized (visualization tool)](http://rxmarbles.com/) -* [Haskell](https://www.haskell.org/) diff --git a/Example/Pods/RxSwift/RxSwift/AnyObserver.swift b/Example/Pods/RxSwift/RxSwift/AnyObserver.swift deleted file mode 100644 index dd4f9c4..0000000 --- a/Example/Pods/RxSwift/RxSwift/AnyObserver.swift +++ /dev/null @@ -1,72 +0,0 @@ -// -// AnyObserver.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/28/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// A type-erased `ObserverType`. -/// -/// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type. -public struct AnyObserver : ObserverType { - /// The type of elements in sequence that observer can observe. - public typealias E = Element - - /// Anonymous event handler type. - public typealias EventHandler = (Event) -> Void - - private let observer: EventHandler - - /// Construct an instance whose `on(event)` calls `eventHandler(event)` - /// - /// - parameter eventHandler: Event handler that observes sequences events. - public init(eventHandler: @escaping EventHandler) { - self.observer = eventHandler - } - - /// Construct an instance whose `on(event)` calls `observer.on(event)` - /// - /// - parameter observer: Observer that receives sequence events. - public init(_ observer: O) where O.E == Element { - self.observer = observer.on - } - - /// Send `event` to this observer. - /// - /// - parameter event: Event instance. - public func on(_ event: Event) { - return self.observer(event) - } - - /// Erases type of observer and returns canonical observer. - /// - /// - returns: type erased observer. - public func asObserver() -> AnyObserver { - return self - } -} - -extension AnyObserver { - /// Collection of `AnyObserver`s - typealias s = Bag<(Event) -> ()> -} - -extension ObserverType { - /// Erases type of observer and returns canonical observer. - /// - /// - returns: type erased observer. - public func asObserver() -> AnyObserver { - return AnyObserver(self) - } - - /// Transforms observer of type R to type E using custom transform method. - /// Each event sent to result observer is transformed and sent to `self`. - /// - /// - returns: observer that transforms events. - public func mapObserver(_ transform: @escaping (R) throws -> E) -> AnyObserver { - return AnyObserver { e in - self.on(e.map(transform)) - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Cancelable.swift b/Example/Pods/RxSwift/RxSwift/Cancelable.swift deleted file mode 100644 index 1fa7a67..0000000 --- a/Example/Pods/RxSwift/RxSwift/Cancelable.swift +++ /dev/null @@ -1,13 +0,0 @@ -// -// Cancelable.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/12/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Represents disposable resource with state tracking. -public protocol Cancelable : Disposable { - /// Was resource disposed. - var isDisposed: Bool { get } -} diff --git a/Example/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift b/Example/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift deleted file mode 100644 index 7fbf8c9..0000000 --- a/Example/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift +++ /dev/null @@ -1,102 +0,0 @@ -// -// AsyncLock.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/21/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/** -In case nobody holds this lock, the work will be queued and executed immediately -on thread that is requesting lock. - -In case there is somebody currently holding that lock, action will be enqueued. -When owned of the lock finishes with it's processing, it will also execute -and pending work. - -That means that enqueued work could possibly be executed later on a different thread. -*/ -final class AsyncLock - : Disposable - , Lock - , SynchronizedDisposeType { - typealias Action = () -> Void - - var _lock = SpinLock() - - private var _queue: Queue = Queue(capacity: 0) - - private var _isExecuting: Bool = false - private var _hasFaulted: Bool = false - - // lock { - func lock() { - _lock.lock() - } - - func unlock() { - _lock.unlock() - } - // } - - private func enqueue(_ action: I) -> I? { - _lock.lock(); defer { _lock.unlock() } // { - if _hasFaulted { - return nil - } - - if _isExecuting { - _queue.enqueue(action) - return nil - } - - _isExecuting = true - - return action - // } - } - - private func dequeue() -> I? { - _lock.lock(); defer { _lock.unlock() } // { - if !_queue.isEmpty { - return _queue.dequeue() - } - else { - _isExecuting = false - return nil - } - // } - } - - func invoke(_ action: I) { - let firstEnqueuedAction = enqueue(action) - - if let firstEnqueuedAction = firstEnqueuedAction { - firstEnqueuedAction.invoke() - } - else { - // action is enqueued, it's somebody else's concern now - return - } - - while true { - let nextAction = dequeue() - - if let nextAction = nextAction { - nextAction.invoke() - } - else { - return - } - } - } - - func dispose() { - synchronizedDispose() - } - - func _synchronized_dispose() { - _queue = Queue(capacity: 0) - _hasFaulted = true - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Concurrency/Lock.swift b/Example/Pods/RxSwift/RxSwift/Concurrency/Lock.swift deleted file mode 100644 index 52afc1c..0000000 --- a/Example/Pods/RxSwift/RxSwift/Concurrency/Lock.swift +++ /dev/null @@ -1,36 +0,0 @@ -// -// Lock.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/31/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -protocol Lock { - func lock() - func unlock() -} - -// https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20151214/000321.html -typealias SpinLock = RecursiveLock - -extension RecursiveLock : Lock { - @inline(__always) - final func performLocked(_ action: () -> Void) { - lock(); defer { unlock() } - action() - } - - @inline(__always) - final func calculateLocked(_ action: () -> T) -> T { - lock(); defer { unlock() } - return action() - } - - @inline(__always) - final func calculateLockedOrFail(_ action: () throws -> T) throws -> T { - lock(); defer { unlock() } - let result = try action() - return result - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift b/Example/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift deleted file mode 100644 index eca8d8e..0000000 --- a/Example/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift +++ /dev/null @@ -1,21 +0,0 @@ -// -// LockOwnerType.swift -// RxSwift -// -// Created by Krunoslav Zaher on 10/25/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -protocol LockOwnerType : class, Lock { - var _lock: RecursiveLock { get } -} - -extension LockOwnerType { - func lock() { - _lock.lock() - } - - func unlock() { - _lock.unlock() - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift b/Example/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift deleted file mode 100644 index af9548f..0000000 --- a/Example/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift +++ /dev/null @@ -1,18 +0,0 @@ -// -// SynchronizedDisposeType.swift -// RxSwift -// -// Created by Krunoslav Zaher on 10/25/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -protocol SynchronizedDisposeType : class, Disposable, Lock { - func _synchronized_dispose() -} - -extension SynchronizedDisposeType { - func synchronizedDispose() { - lock(); defer { unlock() } - _synchronized_dispose() - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift b/Example/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift deleted file mode 100644 index 8dfc556..0000000 --- a/Example/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift +++ /dev/null @@ -1,18 +0,0 @@ -// -// SynchronizedOnType.swift -// RxSwift -// -// Created by Krunoslav Zaher on 10/25/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -protocol SynchronizedOnType : class, ObserverType, Lock { - func _synchronized_on(_ event: Event) -} - -extension SynchronizedOnType { - func synchronizedOn(_ event: Event) { - lock(); defer { unlock() } - _synchronized_on(event) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift b/Example/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift deleted file mode 100644 index bb1aa7e..0000000 --- a/Example/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift +++ /dev/null @@ -1,13 +0,0 @@ -// -// SynchronizedUnsubscribeType.swift -// RxSwift -// -// Created by Krunoslav Zaher on 10/25/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -protocol SynchronizedUnsubscribeType : class { - associatedtype DisposeKey - - func synchronizedUnsubscribe(_ disposeKey: DisposeKey) -} diff --git a/Example/Pods/RxSwift/RxSwift/ConnectableObservableType.swift b/Example/Pods/RxSwift/RxSwift/ConnectableObservableType.swift deleted file mode 100644 index 52bf93c..0000000 --- a/Example/Pods/RxSwift/RxSwift/ConnectableObservableType.swift +++ /dev/null @@ -1,19 +0,0 @@ -// -// ConnectableObservableType.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/1/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/** -Represents an observable sequence wrapper that can be connected and disconnected from its underlying observable sequence. -*/ -public protocol ConnectableObservableType : ObservableType { - /** - Connects the observable wrapper to its source. All subscribed observers will receive values from the underlying observable sequence as long as the connection is established. - - - returns: Disposable used to disconnect the observable wrapper from its source, causing subscribed observer to stop receiving values from the underlying observable sequence. - */ - func connect() -> Disposable -} diff --git a/Example/Pods/RxSwift/RxSwift/Deprecated.swift b/Example/Pods/RxSwift/RxSwift/Deprecated.swift deleted file mode 100644 index 0337d82..0000000 --- a/Example/Pods/RxSwift/RxSwift/Deprecated.swift +++ /dev/null @@ -1,228 +0,0 @@ -// -// Deprecated.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/5/17. -// Copyright © 2017 Krunoslav Zaher. All rights reserved. -// - -extension Observable { - /** - Converts a optional to an observable sequence. - - - seealso: [from operator on reactivex.io](http://reactivex.io/documentation/operators/from.html) - - - parameter optional: Optional element in the resulting observable sequence. - - returns: An observable sequence containing the wrapped value or not from given optional. - */ - @available(*, deprecated, message: "Implicit conversions from any type to optional type are allowed and that is causing issues with `from` operator overloading.", renamed: "from(optional:)") - public static func from(_ optional: E?) -> Observable { - return Observable.from(optional: optional) - } - - /** - Converts a optional to an observable sequence. - - - seealso: [from operator on reactivex.io](http://reactivex.io/documentation/operators/from.html) - - - parameter optional: Optional element in the resulting observable sequence. - - parameter scheduler: Scheduler to send the optional element on. - - returns: An observable sequence containing the wrapped value or not from given optional. - */ - @available(*, deprecated, message: "Implicit conversions from any type to optional type are allowed and that is causing issues with `from` operator overloading.", renamed: "from(optional:scheduler:)") - public static func from(_ optional: E?, scheduler: ImmediateSchedulerType) -> Observable { - return Observable.from(optional: optional, scheduler: scheduler) - } -} - -extension ObservableType { - /** - - Projects each element of an observable sequence into a new form by incorporating the element's index. - - - seealso: [map operator on reactivex.io](http://reactivex.io/documentation/operators/map.html) - - - parameter selector: A transform function to apply to each source element; the second parameter of the function represents the index of the source element. - - returns: An observable sequence whose elements are the result of invoking the transform function on each element of source. - */ - @available(*, deprecated, message: "Please use enumerated().map()") - public func mapWithIndex(_ selector: @escaping (E, Int) throws -> R) - -> Observable { - return enumerated().map { try selector($0.element, $0.index) } - } - - - /** - - Projects each element of an observable sequence to an observable sequence by incorporating the element's index and merges the resulting observable sequences into one observable sequence. - - - seealso: [flatMap operator on reactivex.io](http://reactivex.io/documentation/operators/flatmap.html) - - - parameter selector: A transform function to apply to each element; the second parameter of the function represents the index of the source element. - - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. - */ - @available(*, deprecated, message: "Please use enumerated().flatMap()") - public func flatMapWithIndex(_ selector: @escaping (E, Int) throws -> O) - -> Observable { - return enumerated().flatMap { try selector($0.element, $0.index) } - } - - /** - - Bypasses elements in an observable sequence as long as a specified condition is true and then returns the remaining elements. - The element's index is used in the logic of the predicate function. - - - seealso: [skipWhile operator on reactivex.io](http://reactivex.io/documentation/operators/skipwhile.html) - - - parameter predicate: A function to test each element for a condition; the second parameter of the function represents the index of the source element. - - returns: An observable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. - */ - @available(*, deprecated, message: "Please use enumerated().skipWhile().map()") - public func skipWhileWithIndex(_ predicate: @escaping (E, Int) throws -> Bool) -> Observable { - return enumerated().skipWhile { try predicate($0.element, $0.index) }.map { $0.element } - } - - - /** - - Returns elements from an observable sequence as long as a specified condition is true. - - The element's index is used in the logic of the predicate function. - - - seealso: [takeWhile operator on reactivex.io](http://reactivex.io/documentation/operators/takewhile.html) - - - parameter predicate: A function to test each element for a condition; the second parameter of the function represents the index of the source element. - - returns: An observable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. - */ - @available(*, deprecated, message: "Please use enumerated().takeWhile().map()") - public func takeWhileWithIndex(_ predicate: @escaping (E, Int) throws -> Bool) -> Observable { - return enumerated().takeWhile { try predicate($0.element, $0.index) }.map { $0.element } - } -} - -extension Disposable { - /// Deprecated in favor of `disposed(by:)` - /// - /// - /// Adds `self` to `bag`. - /// - /// - parameter bag: `DisposeBag` to add `self` to. - @available(*, deprecated, message: "use disposed(by:) instead", renamed: "disposed(by:)") - public func addDisposableTo(_ bag: DisposeBag) { - disposed(by: bag) - } -} - - -extension ObservableType { - - /** - Returns an observable sequence that shares a single subscription to the underlying sequence, and immediately upon subscription replays latest element in buffer. - - This operator is a specialization of replay which creates a subscription when the number of observers goes from zero to one, then shares that subscription with all subsequent observers until the number of observers returns to zero, at which point the subscription is disposed. - - - seealso: [shareReplay operator on reactivex.io](http://reactivex.io/documentation/operators/replay.html) - - - returns: An observable sequence that contains the elements of a sequence produced by multicasting the source sequence. - */ - @available(*, deprecated, message: "use share(replay: 1) instead", renamed: "share(replay:)") - public func shareReplayLatestWhileConnected() - -> Observable { - return share(replay: 1, scope: .whileConnected) - } -} - - -extension ObservableType { - - /** - Returns an observable sequence that shares a single subscription to the underlying sequence, and immediately upon subscription replays maximum number of elements in buffer. - - This operator is a specialization of replay which creates a subscription when the number of observers goes from zero to one, then shares that subscription with all subsequent observers until the number of observers returns to zero, at which point the subscription is disposed. - - - seealso: [shareReplay operator on reactivex.io](http://reactivex.io/documentation/operators/replay.html) - - - parameter bufferSize: Maximum element count of the replay buffer. - - returns: An observable sequence that contains the elements of a sequence produced by multicasting the source sequence. - */ - @available(*, deprecated, message: "Suggested replacement is `share(replay: 1)`. In case old 3.x behavior of `shareReplay` is required please use `share(replay: 1, scope: .forever)` instead.", renamed: "share(replay:)") - public func shareReplay(_ bufferSize: Int) - -> Observable { - return self.share(replay: bufferSize, scope: .forever) - } -} - -/// Variable is a wrapper for `BehaviorSubject`. -/// -/// Unlike `BehaviorSubject` it can't terminate with error, and when variable is deallocated -/// it will complete its observable sequence (`asObservable`). -/// -/// **This concept will be deprecated from RxSwift but offical migration path hasn't been decided yet.** -/// https://github.com/ReactiveX/RxSwift/issues/1501 -/// -/// Current recommended replacement for this API is `RxCocoa.BehaviorRelay` because: -/// * `Variable` isn't a standard cross platform concept, hence it's out of place in RxSwift target. -/// * It doesn't have a counterpart for handling events (`PublishRelay`). It models state only. -/// * It doesn't have a consistent naming with *Relay or other Rx concepts. -/// * It has an inconsistent memory management model compared to other parts of RxSwift (completes on `deinit`). -/// -/// Once plans are finalized, official availability attribute will be added in one of upcoming versions. -public final class Variable { - - public typealias E = Element - - private let _subject: BehaviorSubject - - private var _lock = SpinLock() - - // state - private var _value: E - - #if DEBUG - fileprivate let _synchronizationTracker = SynchronizationTracker() - #endif - - /// Gets or sets current value of variable. - /// - /// Whenever a new value is set, all the observers are notified of the change. - /// - /// Even if the newly set value is same as the old value, observers are still notified for change. - public var value: E { - get { - _lock.lock(); defer { _lock.unlock() } - return _value - } - set(newValue) { - #if DEBUG - _synchronizationTracker.register(synchronizationErrorMessage: .variable) - defer { _synchronizationTracker.unregister() } - #endif - _lock.lock() - _value = newValue - _lock.unlock() - - _subject.on(.next(newValue)) - } - } - - /// Initializes variable with initial value. - /// - /// - parameter value: Initial variable value. - public init(_ value: Element) { - #if DEBUG - DeprecationWarner.warnIfNeeded(.variable) - #endif - - _value = value - _subject = BehaviorSubject(value: value) - } - - /// - returns: Canonical interface for push style sequence - public func asObservable() -> Observable { - return _subject - } - - deinit { - _subject.on(.completed) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Disposable.swift b/Example/Pods/RxSwift/RxSwift/Disposable.swift deleted file mode 100644 index b79c77a..0000000 --- a/Example/Pods/RxSwift/RxSwift/Disposable.swift +++ /dev/null @@ -1,13 +0,0 @@ -// -// Disposable.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/8/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Represents a disposable resource. -public protocol Disposable { - /// Dispose resource. - func dispose() -} diff --git a/Example/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift b/Example/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift deleted file mode 100644 index 449ee3d..0000000 --- a/Example/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// AnonymousDisposable.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/15/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Represents an Action-based disposable. -/// -/// When dispose method is called, disposal action will be dereferenced. -fileprivate final class AnonymousDisposable : DisposeBase, Cancelable { - public typealias DisposeAction = () -> Void - - private var _isDisposed = AtomicInt(0) - private var _disposeAction: DisposeAction? - - /// - returns: Was resource disposed. - public var isDisposed: Bool { - return _isDisposed.isFlagSet(1) - } - - /// Constructs a new disposable with the given action used for disposal. - /// - /// - parameter disposeAction: Disposal action which will be run upon calling `dispose`. - fileprivate init(_ disposeAction: @escaping DisposeAction) { - _disposeAction = disposeAction - super.init() - } - - // Non-deprecated version of the constructor, used by `Disposables.create(with:)` - fileprivate init(disposeAction: @escaping DisposeAction) { - _disposeAction = disposeAction - super.init() - } - - /// Calls the disposal action if and only if the current instance hasn't been disposed yet. - /// - /// After invoking disposal action, disposal action will be dereferenced. - fileprivate func dispose() { - if _isDisposed.fetchOr(1) == 0 { - assert(_isDisposed.load() == 1) - - if let action = _disposeAction { - _disposeAction = nil - action() - } - } - } -} - -extension Disposables { - - /// Constructs a new disposable with the given action used for disposal. - /// - /// - parameter dispose: Disposal action which will be run upon calling `dispose`. - public static func create(with dispose: @escaping () -> ()) -> Cancelable { - return AnonymousDisposable(disposeAction: dispose) - } - -} diff --git a/Example/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift b/Example/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift deleted file mode 100644 index 949476c..0000000 --- a/Example/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift +++ /dev/null @@ -1,53 +0,0 @@ -// -// BinaryDisposable.swift -// RxSwift -// -// Created by Krunoslav Zaher on 6/12/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Represents two disposable resources that are disposed together. -private final class BinaryDisposable : DisposeBase, Cancelable { - - private var _isDisposed = AtomicInt(0) - - // state - private var _disposable1: Disposable? - private var _disposable2: Disposable? - - /// - returns: Was resource disposed. - var isDisposed: Bool { - return _isDisposed.isFlagSet(1) - } - - /// Constructs new binary disposable from two disposables. - /// - /// - parameter disposable1: First disposable - /// - parameter disposable2: Second disposable - init(_ disposable1: Disposable, _ disposable2: Disposable) { - _disposable1 = disposable1 - _disposable2 = disposable2 - super.init() - } - - /// Calls the disposal action if and only if the current instance hasn't been disposed yet. - /// - /// After invoking disposal action, disposal action will be dereferenced. - func dispose() { - if _isDisposed.fetchOr(1) == 0 { - _disposable1?.dispose() - _disposable2?.dispose() - _disposable1 = nil - _disposable2 = nil - } - } -} - -extension Disposables { - - /// Creates a disposable with the given disposables. - public static func create(_ disposable1: Disposable, _ disposable2: Disposable) -> Cancelable { - return BinaryDisposable(disposable1, disposable2) - } - -} diff --git a/Example/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift b/Example/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift deleted file mode 100644 index efae55e..0000000 --- a/Example/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift +++ /dev/null @@ -1,33 +0,0 @@ -// -// BooleanDisposable.swift -// RxSwift -// -// Created by Junior B. on 10/29/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Represents a disposable resource that can be checked for disposal status. -public final class BooleanDisposable : Cancelable { - - internal static let BooleanDisposableTrue = BooleanDisposable(isDisposed: true) - private var _isDisposed = false - - /// Initializes a new instance of the `BooleanDisposable` class - public init() { - } - - /// Initializes a new instance of the `BooleanDisposable` class with given value - public init(isDisposed: Bool) { - self._isDisposed = isDisposed - } - - /// - returns: Was resource disposed. - public var isDisposed: Bool { - return _isDisposed - } - - /// Sets the status to disposed, which can be observer through the `isDisposed` property. - public func dispose() { - _isDisposed = true - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift b/Example/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift deleted file mode 100644 index b057817..0000000 --- a/Example/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift +++ /dev/null @@ -1,151 +0,0 @@ -// -// CompositeDisposable.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/20/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Represents a group of disposable resources that are disposed together. -public final class CompositeDisposable : DisposeBase, Cancelable { - /// Key used to remove disposable from composite disposable - public struct DisposeKey { - fileprivate let key: BagKey - fileprivate init(key: BagKey) { - self.key = key - } - } - - private var _lock = SpinLock() - - // state - private var _disposables: Bag? = Bag() - - public var isDisposed: Bool { - _lock.lock(); defer { _lock.unlock() } - return _disposables == nil - } - - public override init() { - } - - /// Initializes a new instance of composite disposable with the specified number of disposables. - public init(_ disposable1: Disposable, _ disposable2: Disposable) { - // This overload is here to make sure we are using optimized version up to 4 arguments. - let _ = _disposables!.insert(disposable1) - let _ = _disposables!.insert(disposable2) - } - - /// Initializes a new instance of composite disposable with the specified number of disposables. - public init(_ disposable1: Disposable, _ disposable2: Disposable, _ disposable3: Disposable) { - // This overload is here to make sure we are using optimized version up to 4 arguments. - let _ = _disposables!.insert(disposable1) - let _ = _disposables!.insert(disposable2) - let _ = _disposables!.insert(disposable3) - } - - /// Initializes a new instance of composite disposable with the specified number of disposables. - public init(_ disposable1: Disposable, _ disposable2: Disposable, _ disposable3: Disposable, _ disposable4: Disposable, _ disposables: Disposable...) { - // This overload is here to make sure we are using optimized version up to 4 arguments. - let _ = _disposables!.insert(disposable1) - let _ = _disposables!.insert(disposable2) - let _ = _disposables!.insert(disposable3) - let _ = _disposables!.insert(disposable4) - - for disposable in disposables { - let _ = _disposables!.insert(disposable) - } - } - - /// Initializes a new instance of composite disposable with the specified number of disposables. - public init(disposables: [Disposable]) { - for disposable in disposables { - let _ = _disposables!.insert(disposable) - } - } - - /** - Adds a disposable to the CompositeDisposable or disposes the disposable if the CompositeDisposable is disposed. - - - parameter disposable: Disposable to add. - - returns: Key that can be used to remove disposable from composite disposable. In case dispose bag was already - disposed `nil` will be returned. - */ - public func insert(_ disposable: Disposable) -> DisposeKey? { - let key = _insert(disposable) - - if key == nil { - disposable.dispose() - } - - return key - } - - private func _insert(_ disposable: Disposable) -> DisposeKey? { - _lock.lock(); defer { _lock.unlock() } - - let bagKey = _disposables?.insert(disposable) - return bagKey.map(DisposeKey.init) - } - - /// - returns: Gets the number of disposables contained in the `CompositeDisposable`. - public var count: Int { - _lock.lock(); defer { _lock.unlock() } - return _disposables?.count ?? 0 - } - - /// Removes and disposes the disposable identified by `disposeKey` from the CompositeDisposable. - /// - /// - parameter disposeKey: Key used to identify disposable to be removed. - public func remove(for disposeKey: DisposeKey) { - _remove(for: disposeKey)?.dispose() - } - - private func _remove(for disposeKey: DisposeKey) -> Disposable? { - _lock.lock(); defer { _lock.unlock() } - return _disposables?.removeKey(disposeKey.key) - } - - /// Disposes all disposables in the group and removes them from the group. - public func dispose() { - if let disposables = _dispose() { - disposeAll(in: disposables) - } - } - - private func _dispose() -> Bag? { - _lock.lock(); defer { _lock.unlock() } - - let disposeBag = _disposables - _disposables = nil - - return disposeBag - } -} - -extension Disposables { - - /// Creates a disposable with the given disposables. - public static func create(_ disposable1: Disposable, _ disposable2: Disposable, _ disposable3: Disposable) -> Cancelable { - return CompositeDisposable(disposable1, disposable2, disposable3) - } - - /// Creates a disposable with the given disposables. - public static func create(_ disposable1: Disposable, _ disposable2: Disposable, _ disposable3: Disposable, _ disposables: Disposable ...) -> Cancelable { - var disposables = disposables - disposables.append(disposable1) - disposables.append(disposable2) - disposables.append(disposable3) - return CompositeDisposable(disposables: disposables) - } - - /// Creates a disposable with the given disposables. - public static func create(_ disposables: [Disposable]) -> Cancelable { - switch disposables.count { - case 2: - return Disposables.create(disposables[0], disposables[1]) - default: - return CompositeDisposable(disposables: disposables) - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Disposables/Disposables.swift b/Example/Pods/RxSwift/RxSwift/Disposables/Disposables.swift deleted file mode 100644 index 8cd6e28..0000000 --- a/Example/Pods/RxSwift/RxSwift/Disposables/Disposables.swift +++ /dev/null @@ -1,13 +0,0 @@ -// -// Disposables.swift -// RxSwift -// -// Created by Mohsen Ramezanpoor on 01/08/2016. -// Copyright © 2016 Krunoslav Zaher. All rights reserved. -// - -/// A collection of utility methods for common disposable operations. -public struct Disposables { - private init() {} -} - diff --git a/Example/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift b/Example/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift deleted file mode 100644 index 9a2386d..0000000 --- a/Example/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift +++ /dev/null @@ -1,114 +0,0 @@ -// -// DisposeBag.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/25/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension Disposable { - /// Adds `self` to `bag` - /// - /// - parameter bag: `DisposeBag` to add `self` to. - public func disposed(by bag: DisposeBag) { - bag.insert(self) - } -} - -/** -Thread safe bag that disposes added disposables on `deinit`. - -This returns ARC (RAII) like resource management to `RxSwift`. - -In case contained disposables need to be disposed, just put a different dispose bag -or create a new one in its place. - - self.existingDisposeBag = DisposeBag() - -In case explicit disposal is necessary, there is also `CompositeDisposable`. -*/ -public final class DisposeBag: DisposeBase { - - private var _lock = SpinLock() - - // state - fileprivate var _disposables = [Disposable]() - fileprivate var _isDisposed = false - - /// Constructs new empty dispose bag. - public override init() { - super.init() - } - - /// Adds `disposable` to be disposed when dispose bag is being deinited. - /// - /// - parameter disposable: Disposable to add. - public func insert(_ disposable: Disposable) { - _insert(disposable)?.dispose() - } - - private func _insert(_ disposable: Disposable) -> Disposable? { - _lock.lock(); defer { _lock.unlock() } - if _isDisposed { - return disposable - } - - _disposables.append(disposable) - - return nil - } - - /// This is internal on purpose, take a look at `CompositeDisposable` instead. - private func dispose() { - let oldDisposables = _dispose() - - for disposable in oldDisposables { - disposable.dispose() - } - } - - private func _dispose() -> [Disposable] { - _lock.lock(); defer { _lock.unlock() } - - let disposables = _disposables - - _disposables.removeAll(keepingCapacity: false) - _isDisposed = true - - return disposables - } - - deinit { - dispose() - } -} - -extension DisposeBag { - - /// Convenience init allows a list of disposables to be gathered for disposal. - public convenience init(disposing disposables: Disposable...) { - self.init() - _disposables += disposables - } - - /// Convenience init allows an array of disposables to be gathered for disposal. - public convenience init(disposing disposables: [Disposable]) { - self.init() - _disposables += disposables - } - - /// Convenience function allows a list of disposables to be gathered for disposal. - public func insert(_ disposables: Disposable...) { - insert(disposables) - } - - /// Convenience function allows an array of disposables to be gathered for disposal. - public func insert(_ disposables: [Disposable]) { - _lock.lock(); defer { _lock.unlock() } - if _isDisposed { - disposables.forEach { $0.dispose() } - } else { - _disposables += disposables - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift b/Example/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift deleted file mode 100644 index 8c6a44f..0000000 --- a/Example/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift +++ /dev/null @@ -1,22 +0,0 @@ -// -// DisposeBase.swift -// RxSwift -// -// Created by Krunoslav Zaher on 4/4/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Base class for all disposables. -public class DisposeBase { - init() { -#if TRACE_RESOURCES - let _ = Resources.incrementTotal() -#endif - } - - deinit { -#if TRACE_RESOURCES - let _ = Resources.decrementTotal() -#endif - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift b/Example/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift deleted file mode 100644 index 149f866..0000000 --- a/Example/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift +++ /dev/null @@ -1,32 +0,0 @@ -// -// NopDisposable.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/15/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Represents a disposable that does nothing on disposal. -/// -/// Nop = No Operation -fileprivate struct NopDisposable : Disposable { - - fileprivate static let noOp: Disposable = NopDisposable() - - fileprivate init() { - - } - - /// Does nothing. - public func dispose() { - } -} - -extension Disposables { - /** - Creates a disposable that does nothing on disposal. - */ - static public func create() -> Disposable { - return NopDisposable.noOp - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift b/Example/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift deleted file mode 100644 index 664603c..0000000 --- a/Example/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift +++ /dev/null @@ -1,117 +0,0 @@ -// -// RefCountDisposable.swift -// RxSwift -// -// Created by Junior B. on 10/29/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Represents a disposable resource that only disposes its underlying disposable resource when all dependent disposable objects have been disposed. -public final class RefCountDisposable : DisposeBase, Cancelable { - private var _lock = SpinLock() - private var _disposable = nil as Disposable? - private var _primaryDisposed = false - private var _count = 0 - - /// - returns: Was resource disposed. - public var isDisposed: Bool { - _lock.lock(); defer { _lock.unlock() } - return _disposable == nil - } - - /// Initializes a new instance of the `RefCountDisposable`. - public init(disposable: Disposable) { - _disposable = disposable - super.init() - } - - /** - Holds a dependent disposable that when disposed decreases the refcount on the underlying disposable. - - When getter is called, a dependent disposable contributing to the reference count that manages the underlying disposable's lifetime is returned. - */ - public func retain() -> Disposable { - return _lock.calculateLocked { - if let _ = _disposable { - - do { - let _ = try incrementChecked(&_count) - } catch (_) { - rxFatalError("RefCountDisposable increment failed") - } - - return RefCountInnerDisposable(self) - } else { - return Disposables.create() - } - } - } - - /// Disposes the underlying disposable only when all dependent disposables have been disposed. - public func dispose() { - let oldDisposable: Disposable? = _lock.calculateLocked { - if let oldDisposable = _disposable, !_primaryDisposed - { - _primaryDisposed = true - - if (_count == 0) - { - _disposable = nil - return oldDisposable - } - } - - return nil - } - - if let disposable = oldDisposable { - disposable.dispose() - } - } - - fileprivate func release() { - let oldDisposable: Disposable? = _lock.calculateLocked { - if let oldDisposable = _disposable { - do { - let _ = try decrementChecked(&_count) - } catch (_) { - rxFatalError("RefCountDisposable decrement on release failed") - } - - guard _count >= 0 else { - rxFatalError("RefCountDisposable counter is lower than 0") - } - - if _primaryDisposed && _count == 0 { - _disposable = nil - return oldDisposable - } - } - - return nil - } - - if let disposable = oldDisposable { - disposable.dispose() - } - } -} - -internal final class RefCountInnerDisposable: DisposeBase, Disposable -{ - private let _parent: RefCountDisposable - private var _isDisposed = AtomicInt(0) - - init(_ parent: RefCountDisposable) - { - _parent = parent - super.init() - } - - internal func dispose() - { - if _isDisposed.fetchOr(1) == 0 { - _parent.release() - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift b/Example/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift deleted file mode 100644 index 564a3a2..0000000 --- a/Example/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift +++ /dev/null @@ -1,50 +0,0 @@ -// -// ScheduledDisposable.swift -// RxSwift -// -// Created by Krunoslav Zaher on 6/13/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -private let disposeScheduledDisposable: (ScheduledDisposable) -> Disposable = { sd in - sd.disposeInner() - return Disposables.create() -} - -/// Represents a disposable resource whose disposal invocation will be scheduled on the specified scheduler. -public final class ScheduledDisposable : Cancelable { - public let scheduler: ImmediateSchedulerType - - private var _isDisposed = AtomicInt(0) - - // state - private var _disposable: Disposable? - - /// - returns: Was resource disposed. - public var isDisposed: Bool { - return _isDisposed.isFlagSet(1) - } - - /** - Initializes a new instance of the `ScheduledDisposable` that uses a `scheduler` on which to dispose the `disposable`. - - - parameter scheduler: Scheduler where the disposable resource will be disposed on. - - parameter disposable: Disposable resource to dispose on the given scheduler. - */ - public init(scheduler: ImmediateSchedulerType, disposable: Disposable) { - self.scheduler = scheduler - _disposable = disposable - } - - /// Disposes the wrapped disposable on the provided scheduler. - public func dispose() { - let _ = scheduler.schedule(self, action: disposeScheduledDisposable) - } - - func disposeInner() { - if _isDisposed.fetchOr(1) == 0 { - _disposable!.dispose() - _disposable = nil - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift b/Example/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift deleted file mode 100644 index 6373d2b..0000000 --- a/Example/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift +++ /dev/null @@ -1,75 +0,0 @@ -// -// SerialDisposable.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/12/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Represents a disposable resource whose underlying disposable resource can be replaced by another disposable resource, causing automatic disposal of the previous underlying disposable resource. -public final class SerialDisposable : DisposeBase, Cancelable { - private var _lock = SpinLock() - - // state - private var _current = nil as Disposable? - private var _isDisposed = false - - /// - returns: Was resource disposed. - public var isDisposed: Bool { - return _isDisposed - } - - /// Initializes a new instance of the `SerialDisposable`. - override public init() { - super.init() - } - - /** - Gets or sets the underlying disposable. - - Assigning this property disposes the previous disposable object. - - If the `SerialDisposable` has already been disposed, assignment to this property causes immediate disposal of the given disposable object. - */ - public var disposable: Disposable { - get { - return _lock.calculateLocked { - return _current ?? Disposables.create() - } - } - set (newDisposable) { - let disposable: Disposable? = _lock.calculateLocked { - if _isDisposed { - return newDisposable - } - else { - let toDispose = _current - _current = newDisposable - return toDispose - } - } - - if let disposable = disposable { - disposable.dispose() - } - } - } - - /// Disposes the underlying disposable as well as all future replacements. - public func dispose() { - _dispose()?.dispose() - } - - private func _dispose() -> Disposable? { - _lock.lock(); defer { _lock.unlock() } - if _isDisposed { - return nil - } - else { - _isDisposed = true - let current = _current - _current = nil - return current - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift b/Example/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift deleted file mode 100644 index f34fac6..0000000 --- a/Example/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift +++ /dev/null @@ -1,70 +0,0 @@ -// -// SingleAssignmentDisposable.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/15/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/** -Represents a disposable resource which only allows a single assignment of its underlying disposable resource. - -If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception. -*/ -public final class SingleAssignmentDisposable : DisposeBase, Cancelable { - - fileprivate enum DisposeState: Int32 { - case disposed = 1 - case disposableSet = 2 - } - - // state - private var _state = AtomicInt(0) - private var _disposable = nil as Disposable? - - /// - returns: A value that indicates whether the object is disposed. - public var isDisposed: Bool { - return _state.isFlagSet(DisposeState.disposed.rawValue) - } - - /// Initializes a new instance of the `SingleAssignmentDisposable`. - public override init() { - super.init() - } - - /// Gets or sets the underlying disposable. After disposal, the result of getting this property is undefined. - /// - /// **Throws exception if the `SingleAssignmentDisposable` has already been assigned to.** - public func setDisposable(_ disposable: Disposable) { - _disposable = disposable - - let previousState = _state.fetchOr(DisposeState.disposableSet.rawValue) - - if (previousState & DisposeState.disposableSet.rawValue) != 0 { - rxFatalError("oldState.disposable != nil") - } - - if (previousState & DisposeState.disposed.rawValue) != 0 { - disposable.dispose() - _disposable = nil - } - } - - /// Disposes the underlying disposable. - public func dispose() { - let previousState = _state.fetchOr(DisposeState.disposed.rawValue) - - if (previousState & DisposeState.disposed.rawValue) != 0 { - return - } - - if (previousState & DisposeState.disposableSet.rawValue) != 0 { - guard let disposable = _disposable else { - rxFatalError("Disposable not set") - } - disposable.dispose() - _disposable = nil - } - } - -} diff --git a/Example/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift b/Example/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift deleted file mode 100644 index 3ae138a..0000000 --- a/Example/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift +++ /dev/null @@ -1,21 +0,0 @@ -// -// SubscriptionDisposable.swift -// RxSwift -// -// Created by Krunoslav Zaher on 10/25/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -struct SubscriptionDisposable : Disposable { - private let _key: T.DisposeKey - private weak var _owner: T? - - init(owner: T, key: T.DisposeKey) { - _owner = owner - _key = key - } - - func dispose() { - _owner?.synchronizedUnsubscribe(_key) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Errors.swift b/Example/Pods/RxSwift/RxSwift/Errors.swift deleted file mode 100644 index f17b52d..0000000 --- a/Example/Pods/RxSwift/RxSwift/Errors.swift +++ /dev/null @@ -1,52 +0,0 @@ -// -// Errors.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/28/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -let RxErrorDomain = "RxErrorDomain" -let RxCompositeFailures = "RxCompositeFailures" - -/// Generic Rx error codes. -public enum RxError - : Swift.Error - , CustomDebugStringConvertible { - /// Unknown error occurred. - case unknown - /// Performing an action on disposed object. - case disposed(object: AnyObject) - /// Aritmetic overflow error. - case overflow - /// Argument out of range error. - case argumentOutOfRange - /// Sequence doesn't contain any elements. - case noElements - /// Sequence contains more than one element. - case moreThanOneElement - /// Timeout error. - case timeout -} - -extension RxError { - /// A textual representation of `self`, suitable for debugging. - public var debugDescription: String { - switch self { - case .unknown: - return "Unknown error occurred." - case .disposed(let object): - return "Object `\(object)` was already disposed." - case .overflow: - return "Arithmetic overflow occurred." - case .argumentOutOfRange: - return "Argument out of range." - case .noElements: - return "Sequence doesn't contain any elements." - case .moreThanOneElement: - return "Sequence contains more than one element." - case .timeout: - return "Sequence timeout." - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Event.swift b/Example/Pods/RxSwift/RxSwift/Event.swift deleted file mode 100644 index 9193e35..0000000 --- a/Example/Pods/RxSwift/RxSwift/Event.swift +++ /dev/null @@ -1,106 +0,0 @@ -// -// Event.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/8/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Represents a sequence event. -/// -/// Sequence grammar: -/// **next\* (error | completed)** -public enum Event { - /// Next element is produced. - case next(Element) - - /// Sequence terminated with an error. - case error(Swift.Error) - - /// Sequence completed successfully. - case completed -} - -extension Event : CustomDebugStringConvertible { - /// Description of event. - public var debugDescription: String { - switch self { - case .next(let value): - return "next(\(value))" - case .error(let error): - return "error(\(error))" - case .completed: - return "completed" - } - } -} - -extension Event { - /// Is `completed` or `error` event. - public var isStopEvent: Bool { - switch self { - case .next: return false - case .error, .completed: return true - } - } - - /// If `next` event, returns element value. - public var element: Element? { - if case .next(let value) = self { - return value - } - return nil - } - - /// If `error` event, returns error. - public var error: Swift.Error? { - if case .error(let error) = self { - return error - } - return nil - } - - /// If `completed` event, returns `true`. - public var isCompleted: Bool { - if case .completed = self { - return true - } - return false - } -} - -extension Event { - /// Maps sequence elements using transform. If error happens during the transform, `.error` - /// will be returned as value. - public func map(_ transform: (Element) throws -> Result) -> Event { - do { - switch self { - case let .next(element): - return .next(try transform(element)) - case let .error(error): - return .error(error) - case .completed: - return .completed - } - } - catch let e { - return .error(e) - } - } -} - -/// A type that can be converted to `Event`. -public protocol EventConvertible { - /// Type of element in event - associatedtype ElementType - - /// Event representation of this instance - var event: Event { get } -} - -extension Event : EventConvertible { - /// Event representation of this instance - public var event: Event { - return self - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift b/Example/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift deleted file mode 100644 index 748578d..0000000 --- a/Example/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift +++ /dev/null @@ -1,50 +0,0 @@ -// -// Bag+Rx.swift -// RxSwift -// -// Created by Krunoslav Zaher on 10/19/16. -// Copyright © 2016 Krunoslav Zaher. All rights reserved. -// - - -// MARK: forEach - -@inline(__always) -func dispatch(_ bag: Bag<(Event) -> ()>, _ event: Event) { - bag._value0?(event) - - if bag._onlyFastPath { - return - } - - let pairs = bag._pairs - for i in 0 ..< pairs.count { - pairs[i].value(event) - } - - if let dictionary = bag._dictionary { - for element in dictionary.values { - element(event) - } - } -} - -/// Dispatches `dispose` to all disposables contained inside bag. -func disposeAll(in bag: Bag) { - bag._value0?.dispose() - - if bag._onlyFastPath { - return - } - - let pairs = bag._pairs - for i in 0 ..< pairs.count { - pairs[i].value.dispose() - } - - if let dictionary = bag._dictionary { - for element in dictionary.values { - element.dispose() - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift b/Example/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift deleted file mode 100644 index 42ef636..0000000 --- a/Example/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift +++ /dev/null @@ -1,22 +0,0 @@ -// -// String+Rx.swift -// RxSwift -// -// Created by Krunoslav Zaher on 12/25/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension String { - /// This is needed because on Linux Swift doesn't have `rangeOfString(..., options: .BackwardsSearch)` - func lastIndexOf(_ character: Character) -> Index? { - var index = endIndex - while index > startIndex { - index = self.index(before: index) - if self[index] == character { - return index - } - } - - return nil - } -} diff --git a/Example/Pods/RxSwift/RxSwift/GroupedObservable.swift b/Example/Pods/RxSwift/RxSwift/GroupedObservable.swift deleted file mode 100644 index d87e0ba..0000000 --- a/Example/Pods/RxSwift/RxSwift/GroupedObservable.swift +++ /dev/null @@ -1,37 +0,0 @@ -// -// GroupedObservable.swift -// RxSwift -// -// Created by Tomi Koskinen on 01/12/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Represents an observable sequence of elements that have a common key. -public struct GroupedObservable : ObservableType { - public typealias E = Element - - /// Gets the common key. - public let key: Key - - private let source: Observable - - /// Initializes grouped observable sequence with key and source observable sequence. - /// - /// - parameter key: Grouped observable sequence key - /// - parameter source: Observable sequence that represents sequence of elements for the key - /// - returns: Grouped observable sequence of elements for the specific key - public init(key: Key, source: Observable) { - self.key = key - self.source = source - } - - /// Subscribes `observer` to receive events for this sequence. - public func subscribe(_ observer: O) -> Disposable where O.E == E { - return self.source.subscribe(observer) - } - - /// Converts `self` to `Observable` sequence. - public func asObservable() -> Observable { - return source - } -} diff --git a/Example/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift b/Example/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift deleted file mode 100644 index 8dc2a85..0000000 --- a/Example/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift +++ /dev/null @@ -1,36 +0,0 @@ -// -// ImmediateSchedulerType.swift -// RxSwift -// -// Created by Krunoslav Zaher on 5/31/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Represents an object that immediately schedules units of work. -public protocol ImmediateSchedulerType { - /** - Schedules an action to be executed immediately. - - - parameter state: State passed to the action to be executed. - - parameter action: Action to be executed. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - func schedule(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable -} - -extension ImmediateSchedulerType { - /** - Schedules an action to be executed recursively. - - - parameter state: State passed to the action to be executed. - - parameter action: Action to execute recursively. The last parameter passed to the action is used to trigger recursive scheduling of the action, passing in recursive invocation state. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - public func scheduleRecursive(_ state: State, action: @escaping (_ state: State, _ recurse: (State) -> ()) -> ()) -> Disposable { - let recursiveScheduler = RecursiveImmediateScheduler(action: action, scheduler: self) - - recursiveScheduler.schedule(state) - - return Disposables.create(with: recursiveScheduler.dispose) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observable.swift b/Example/Pods/RxSwift/RxSwift/Observable.swift deleted file mode 100644 index f0c55af..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observable.swift +++ /dev/null @@ -1,44 +0,0 @@ -// -// Observable.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/8/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// A type-erased `ObservableType`. -/// -/// It represents a push style sequence. -public class Observable : ObservableType { - /// Type of elements in sequence. - public typealias E = Element - - init() { -#if TRACE_RESOURCES - let _ = Resources.incrementTotal() -#endif - } - - public func subscribe(_ observer: O) -> Disposable where O.E == E { - rxAbstractMethod() - } - - public func asObservable() -> Observable { - return self - } - - deinit { -#if TRACE_RESOURCES - let _ = Resources.decrementTotal() -#endif - } - - // this is kind of ugly I know :( - // Swift compiler reports "Not supported yet" when trying to override protocol extensions, so ¯\_(ツ)_/¯ - - /// Optimizations for map operator - internal func composeMap(_ transform: @escaping (Element) throws -> R) -> Observable { - return _map(source: self, transform: transform) - } -} - diff --git a/Example/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift b/Example/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift deleted file mode 100644 index d89c5aa..0000000 --- a/Example/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift +++ /dev/null @@ -1,18 +0,0 @@ -// -// ObservableConvertibleType.swift -// RxSwift -// -// Created by Krunoslav Zaher on 9/17/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Type that can be converted to observable sequence (`Observable`). -public protocol ObservableConvertibleType { - /// Type of elements in sequence. - associatedtype E - - /// Converts `self` to `Observable` sequence. - /// - /// - returns: Observable sequence that represents `self`. - func asObservable() -> Observable -} diff --git a/Example/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift b/Example/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift deleted file mode 100644 index 29ed8a2..0000000 --- a/Example/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift +++ /dev/null @@ -1,131 +0,0 @@ -// -// ObservableType+Extensions.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/21/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -#if DEBUG - import Foundation -#endif - -extension ObservableType { - /** - Subscribes an event handler to an observable sequence. - - - parameter on: Action to invoke for each event in the observable sequence. - - returns: Subscription object used to unsubscribe from the observable sequence. - */ - public func subscribe(_ on: @escaping (Event) -> Void) - -> Disposable { - let observer = AnonymousObserver { e in - on(e) - } - return self.asObservable().subscribe(observer) - } - - - /** - Subscribes an element handler, an error handler, a completion handler and disposed handler to an observable sequence. - - - parameter onNext: Action to invoke for each element in the observable sequence. - - parameter onError: Action to invoke upon errored termination of the observable sequence. - - parameter onCompleted: Action to invoke upon graceful termination of the observable sequence. - - parameter onDisposed: Action to invoke upon any type of termination of sequence (if the sequence has - gracefully completed, errored, or if the generation is canceled by disposing subscription). - - returns: Subscription object used to unsubscribe from the observable sequence. - */ - public func subscribe(onNext: ((E) -> Void)? = nil, onError: ((Swift.Error) -> Void)? = nil, onCompleted: (() -> Void)? = nil, onDisposed: (() -> Void)? = nil) - -> Disposable { - let disposable: Disposable - - if let disposed = onDisposed { - disposable = Disposables.create(with: disposed) - } - else { - disposable = Disposables.create() - } - - #if DEBUG - let synchronizationTracker = SynchronizationTracker() - #endif - - let callStack = Hooks.recordCallStackOnError ? Hooks.customCaptureSubscriptionCallstack() : [] - - let observer = AnonymousObserver { event in - - #if DEBUG - synchronizationTracker.register(synchronizationErrorMessage: .default) - defer { synchronizationTracker.unregister() } - #endif - - switch event { - case .next(let value): - onNext?(value) - case .error(let error): - if let onError = onError { - onError(error) - } - else { - Hooks.defaultErrorHandler(callStack, error) - } - disposable.dispose() - case .completed: - onCompleted?() - disposable.dispose() - } - } - return Disposables.create( - self.asObservable().subscribe(observer), - disposable - ) - } -} - -import class Foundation.NSRecursiveLock - -extension Hooks { - public typealias DefaultErrorHandler = (_ subscriptionCallStack: [String], _ error: Error) -> () - public typealias CustomCaptureSubscriptionCallstack = () -> [String] - - fileprivate static let _lock = RecursiveLock() - fileprivate static var _defaultErrorHandler: DefaultErrorHandler = { subscriptionCallStack, error in - #if DEBUG - let serializedCallStack = subscriptionCallStack.joined(separator: "\n") - print("Unhandled error happened: \(error)\n subscription called from:\n\(serializedCallStack)") - #endif - } - fileprivate static var _customCaptureSubscriptionCallstack: CustomCaptureSubscriptionCallstack = { - #if DEBUG - return Thread.callStackSymbols - #else - return [] - #endif - } - - /// Error handler called in case onError handler wasn't provided. - public static var defaultErrorHandler: DefaultErrorHandler { - get { - _lock.lock(); defer { _lock.unlock() } - return _defaultErrorHandler - } - set { - _lock.lock(); defer { _lock.unlock() } - _defaultErrorHandler = newValue - } - } - - /// Subscription callstack block to fetch custom callstack information. - public static var customCaptureSubscriptionCallstack: CustomCaptureSubscriptionCallstack { - get { - _lock.lock(); defer { _lock.unlock() } - return _customCaptureSubscriptionCallstack - } - set { - _lock.lock(); defer { _lock.unlock() } - _customCaptureSubscriptionCallstack = newValue - } - } -} - diff --git a/Example/Pods/RxSwift/RxSwift/ObservableType.swift b/Example/Pods/RxSwift/RxSwift/ObservableType.swift deleted file mode 100644 index e41a36a..0000000 --- a/Example/Pods/RxSwift/RxSwift/ObservableType.swift +++ /dev/null @@ -1,47 +0,0 @@ -// -// ObservableType.swift -// RxSwift -// -// Created by Krunoslav Zaher on 8/8/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Represents a push style sequence. -public protocol ObservableType : ObservableConvertibleType { - /** - Subscribes `observer` to receive events for this sequence. - - ### Grammar - - **Next\* (Error | Completed)?** - - * sequences can produce zero or more elements so zero or more `Next` events can be sent to `observer` - * once an `Error` or `Completed` event is sent, the sequence terminates and can't produce any other elements - - It is possible that events are sent from different threads, but no two events can be sent concurrently to - `observer`. - - ### Resource Management - - When sequence sends `Complete` or `Error` event all internal resources that compute sequence elements - will be freed. - - To cancel production of sequence elements and free resources immediately, call `dispose` on returned - subscription. - - - returns: Subscription for `observer` that can be used to cancel production of sequence elements and free resources. - */ - func subscribe(_ observer: O) -> Disposable where O.E == E -} - -extension ObservableType { - - /// Default implementation of converting `ObservableType` to `Observable`. - public func asObservable() -> Observable { - // temporary workaround - //return Observable.create(subscribe: self.subscribe) - return Observable.create { o in - return self.subscribe(o) - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/AddRef.swift b/Example/Pods/RxSwift/RxSwift/Observables/AddRef.swift deleted file mode 100644 index b782c13..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/AddRef.swift +++ /dev/null @@ -1,45 +0,0 @@ -// -// AddRef.swift -// RxSwift -// -// Created by Junior B. on 30/10/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -final class AddRefSink : Sink, ObserverType { - typealias Element = O.E - - override init(observer: O, cancel: Cancelable) { - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - switch event { - case .next(_): - forwardOn(event) - case .completed, .error(_): - forwardOn(event) - dispose() - } - } -} - -final class AddRef : Producer { - typealias EventHandler = (Event) throws -> Void - - private let _source: Observable - private let _refCount: RefCountDisposable - - init(source: Observable, refCount: RefCountDisposable) { - _source = source - _refCount = refCount - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let releaseDisposable = _refCount.retain() - let sink = AddRefSink(observer: observer, cancel: cancel) - let subscription = Disposables.create(releaseDisposable, _source.subscribe(sink)) - - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Amb.swift b/Example/Pods/RxSwift/RxSwift/Observables/Amb.swift deleted file mode 100644 index 08ec04e..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Amb.swift +++ /dev/null @@ -1,157 +0,0 @@ -// -// Amb.swift -// RxSwift -// -// Created by Krunoslav Zaher on 6/14/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - /** - Propagates the observable sequence that reacts first. - - - seealso: [amb operator on reactivex.io](http://reactivex.io/documentation/operators/amb.html) - - - returns: An observable sequence that surfaces any of the given sequences, whichever reacted first. - */ - public static func amb(_ sequence: S) -> Observable - where S.Iterator.Element == Observable { - return sequence.reduce(Observable.never()) { a, o in - return a.amb(o.asObservable()) - } - } -} - -extension ObservableType { - - /** - Propagates the observable sequence that reacts first. - - - seealso: [amb operator on reactivex.io](http://reactivex.io/documentation/operators/amb.html) - - - parameter right: Second observable sequence. - - returns: An observable sequence that surfaces either of the given sequences, whichever reacted first. - */ - public func amb - (_ right: O2) - -> Observable where O2.E == E { - return Amb(left: asObservable(), right: right.asObservable()) - } -} - -fileprivate enum AmbState { - case neither - case left - case right -} - -final fileprivate class AmbObserver : ObserverType { - typealias Element = O.E - typealias Parent = AmbSink - typealias This = AmbObserver - typealias Sink = (This, Event) -> Void - - fileprivate let _parent: Parent - fileprivate var _sink: Sink - fileprivate var _cancel: Disposable - - init(parent: Parent, cancel: Disposable, sink: @escaping Sink) { -#if TRACE_RESOURCES - let _ = Resources.incrementTotal() -#endif - - _parent = parent - _sink = sink - _cancel = cancel - } - - func on(_ event: Event) { - _sink(self, event) - if event.isStopEvent { - _cancel.dispose() - } - } - - deinit { -#if TRACE_RESOURCES - let _ = Resources.decrementTotal() -#endif - } -} - -final fileprivate class AmbSink : Sink { - typealias ElementType = O.E - typealias Parent = Amb - typealias AmbObserverType = AmbObserver - - private let _parent: Parent - - private let _lock = RecursiveLock() - // state - private var _choice = AmbState.neither - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - let subscription1 = SingleAssignmentDisposable() - let subscription2 = SingleAssignmentDisposable() - let disposeAll = Disposables.create(subscription1, subscription2) - - let forwardEvent = { (o: AmbObserverType, event: Event) -> Void in - self.forwardOn(event) - if event.isStopEvent { - self.dispose() - } - } - - let decide = { (o: AmbObserverType, event: Event, me: AmbState, otherSubscription: Disposable) in - self._lock.performLocked { - if self._choice == .neither { - self._choice = me - o._sink = forwardEvent - o._cancel = disposeAll - otherSubscription.dispose() - } - - if self._choice == me { - self.forwardOn(event) - if event.isStopEvent { - self.dispose() - } - } - } - } - - let sink1 = AmbObserver(parent: self, cancel: subscription1) { o, e in - decide(o, e, .left, subscription2) - } - - let sink2 = AmbObserver(parent: self, cancel: subscription1) { o, e in - decide(o, e, .right, subscription1) - } - - subscription1.setDisposable(_parent._left.subscribe(sink1)) - subscription2.setDisposable(_parent._right.subscribe(sink2)) - - return disposeAll - } -} - -final fileprivate class Amb: Producer { - fileprivate let _left: Observable - fileprivate let _right: Observable - - init(left: Observable, right: Observable) { - _left = left - _right = right - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = AmbSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift b/Example/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift deleted file mode 100644 index 36fa685..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift +++ /dev/null @@ -1,49 +0,0 @@ -// -// AsMaybe.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/12/17. -// Copyright © 2017 Krunoslav Zaher. All rights reserved. -// - -fileprivate final class AsMaybeSink : Sink, ObserverType { - typealias ElementType = O.E - typealias E = ElementType - - private var _element: Event? = nil - - func on(_ event: Event) { - switch event { - case .next: - if _element != nil { - forwardOn(.error(RxError.moreThanOneElement)) - dispose() - } - - _element = event - case .error: - forwardOn(event) - dispose() - case .completed: - if let element = _element { - forwardOn(element) - } - forwardOn(.completed) - dispose() - } - } -} - -final class AsMaybe: Producer { - fileprivate let _source: Observable - - init(source: Observable) { - _source = source - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = AsMaybeSink(observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/AsSingle.swift b/Example/Pods/RxSwift/RxSwift/Observables/AsSingle.swift deleted file mode 100644 index 080aa8e..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/AsSingle.swift +++ /dev/null @@ -1,52 +0,0 @@ -// -// AsSingle.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/12/17. -// Copyright © 2017 Krunoslav Zaher. All rights reserved. -// - -fileprivate final class AsSingleSink : Sink, ObserverType { - typealias ElementType = O.E - typealias E = ElementType - - private var _element: Event? = nil - - func on(_ event: Event) { - switch event { - case .next: - if _element != nil { - forwardOn(.error(RxError.moreThanOneElement)) - dispose() - } - - _element = event - case .error: - forwardOn(event) - dispose() - case .completed: - if let element = _element { - forwardOn(element) - forwardOn(.completed) - } - else { - forwardOn(.error(RxError.noElements)) - } - dispose() - } - } -} - -final class AsSingle: Producer { - fileprivate let _source: Observable - - init(source: Observable) { - _source = source - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = AsSingleSink(observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Buffer.swift b/Example/Pods/RxSwift/RxSwift/Observables/Buffer.swift deleted file mode 100644 index b8c33ae..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Buffer.swift +++ /dev/null @@ -1,139 +0,0 @@ -// -// Buffer.swift -// RxSwift -// -// Created by Krunoslav Zaher on 9/13/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Projects each element of an observable sequence into a buffer that's sent out when either it's full or a given amount of time has elapsed, using the specified scheduler to run timers. - - A useful real-world analogy of this overload is the behavior of a ferry leaving the dock when all seats are taken, or at the scheduled time of departure, whichever event occurs first. - - - seealso: [buffer operator on reactivex.io](http://reactivex.io/documentation/operators/buffer.html) - - - parameter timeSpan: Maximum time length of a buffer. - - parameter count: Maximum element count of a buffer. - - parameter scheduler: Scheduler to run buffering timers on. - - returns: An observable sequence of buffers. - */ - public func buffer(timeSpan: RxTimeInterval, count: Int, scheduler: SchedulerType) - -> Observable<[E]> { - return BufferTimeCount(source: self.asObservable(), timeSpan: timeSpan, count: count, scheduler: scheduler) - } -} - -final fileprivate class BufferTimeCount : Producer<[Element]> { - - fileprivate let _timeSpan: RxTimeInterval - fileprivate let _count: Int - fileprivate let _scheduler: SchedulerType - fileprivate let _source: Observable - - init(source: Observable, timeSpan: RxTimeInterval, count: Int, scheduler: SchedulerType) { - _source = source - _timeSpan = timeSpan - _count = count - _scheduler = scheduler - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == [Element] { - let sink = BufferTimeCountSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - -final fileprivate class BufferTimeCountSink - : Sink - , LockOwnerType - , ObserverType - , SynchronizedOnType where O.E == [Element] { - typealias Parent = BufferTimeCount - typealias E = Element - - private let _parent: Parent - - let _lock = RecursiveLock() - - // state - private let _timerD = SerialDisposable() - private var _buffer = [Element]() - private var _windowID = 0 - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - createTimer(_windowID) - return Disposables.create(_timerD, _parent._source.subscribe(self)) - } - - func startNewWindowAndSendCurrentOne() { - _windowID = _windowID &+ 1 - let windowID = _windowID - - let buffer = _buffer - _buffer = [] - forwardOn(.next(buffer)) - - createTimer(windowID) - } - - func on(_ event: Event) { - synchronizedOn(event) - } - - func _synchronized_on(_ event: Event) { - switch event { - case .next(let element): - _buffer.append(element) - - if _buffer.count == _parent._count { - startNewWindowAndSendCurrentOne() - } - - case .error(let error): - _buffer = [] - forwardOn(.error(error)) - dispose() - case .completed: - forwardOn(.next(_buffer)) - forwardOn(.completed) - dispose() - } - } - - func createTimer(_ windowID: Int) { - if _timerD.isDisposed { - return - } - - if _windowID != windowID { - return - } - - let nextTimer = SingleAssignmentDisposable() - - _timerD.disposable = nextTimer - - let disposable = _parent._scheduler.scheduleRelative(windowID, dueTime: _parent._timeSpan) { previousWindowID in - self._lock.performLocked { - if previousWindowID != self._windowID { - return - } - - self.startNewWindowAndSendCurrentOne() - } - - return Disposables.create() - } - - nextTimer.setDisposable(disposable) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Catch.swift b/Example/Pods/RxSwift/RxSwift/Observables/Catch.swift deleted file mode 100644 index 187eb8a..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Catch.swift +++ /dev/null @@ -1,235 +0,0 @@ -// -// Catch.swift -// RxSwift -// -// Created by Krunoslav Zaher on 4/19/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Continues an observable sequence that is terminated by an error with the observable sequence produced by the handler. - - - seealso: [catch operator on reactivex.io](http://reactivex.io/documentation/operators/catch.html) - - - parameter handler: Error handler function, producing another observable sequence. - - returns: An observable sequence containing the source sequence's elements, followed by the elements produced by the handler's resulting observable sequence in case an error occurred. - */ - public func catchError(_ handler: @escaping (Swift.Error) throws -> Observable) - -> Observable { - return Catch(source: asObservable(), handler: handler) - } - - /** - Continues an observable sequence that is terminated by an error with a single element. - - - seealso: [catch operator on reactivex.io](http://reactivex.io/documentation/operators/catch.html) - - - parameter element: Last element in an observable sequence in case error occurs. - - returns: An observable sequence containing the source sequence's elements, followed by the `element` in case an error occurred. - */ - public func catchErrorJustReturn(_ element: E) - -> Observable { - return Catch(source: asObservable(), handler: { _ in Observable.just(element) }) - } - -} - -extension ObservableType { - /** - Continues an observable sequence that is terminated by an error with the next observable sequence. - - - seealso: [catch operator on reactivex.io](http://reactivex.io/documentation/operators/catch.html) - - - returns: An observable sequence containing elements from consecutive source sequences until a source sequence terminates successfully. - */ - public static func catchError(_ sequence: S) -> Observable - where S.Iterator.Element == Observable { - return CatchSequence(sources: sequence) - } -} - -extension ObservableType { - - /** - Repeats the source observable sequence until it successfully terminates. - - **This could potentially create an infinite sequence.** - - - seealso: [retry operator on reactivex.io](http://reactivex.io/documentation/operators/retry.html) - - - returns: Observable sequence to repeat until it successfully terminates. - */ - public func retry() -> Observable { - return CatchSequence(sources: InfiniteSequence(repeatedValue: self.asObservable())) - } - - /** - Repeats the source observable sequence the specified number of times in case of an error or until it successfully terminates. - - If you encounter an error and want it to retry once, then you must use `retry(2)` - - - seealso: [retry operator on reactivex.io](http://reactivex.io/documentation/operators/retry.html) - - - parameter maxAttemptCount: Maximum number of times to repeat the sequence. - - returns: An observable sequence producing the elements of the given sequence repeatedly until it terminates successfully. - */ - public func retry(_ maxAttemptCount: Int) - -> Observable { - return CatchSequence(sources: Swift.repeatElement(self.asObservable(), count: maxAttemptCount)) - } -} - -// catch with callback - -final fileprivate class CatchSinkProxy : ObserverType { - typealias E = O.E - typealias Parent = CatchSink - - private let _parent: Parent - - init(parent: Parent) { - _parent = parent - } - - func on(_ event: Event) { - _parent.forwardOn(event) - - switch event { - case .next: - break - case .error, .completed: - _parent.dispose() - } - } -} - -final fileprivate class CatchSink : Sink, ObserverType { - typealias E = O.E - typealias Parent = Catch - - private let _parent: Parent - private let _subscription = SerialDisposable() - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - let d1 = SingleAssignmentDisposable() - _subscription.disposable = d1 - d1.setDisposable(_parent._source.subscribe(self)) - - return _subscription - } - - func on(_ event: Event) { - switch event { - case .next: - forwardOn(event) - case .completed: - forwardOn(event) - dispose() - case .error(let error): - do { - let catchSequence = try _parent._handler(error) - - let observer = CatchSinkProxy(parent: self) - - _subscription.disposable = catchSequence.subscribe(observer) - } - catch let e { - forwardOn(.error(e)) - dispose() - } - } - } -} - -final fileprivate class Catch : Producer { - typealias Handler = (Swift.Error) throws -> Observable - - fileprivate let _source: Observable - fileprivate let _handler: Handler - - init(source: Observable, handler: @escaping Handler) { - _source = source - _handler = handler - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = CatchSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - -// catch enumerable - -final fileprivate class CatchSequenceSink - : TailRecursiveSink - , ObserverType where S.Iterator.Element : ObservableConvertibleType, S.Iterator.Element.E == O.E { - typealias Element = O.E - typealias Parent = CatchSequence - - private var _lastError: Swift.Error? - - override init(observer: O, cancel: Cancelable) { - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - switch event { - case .next: - forwardOn(event) - case .error(let error): - _lastError = error - schedule(.moveNext) - case .completed: - forwardOn(event) - dispose() - } - } - - override func subscribeToNext(_ source: Observable) -> Disposable { - return source.subscribe(self) - } - - override func done() { - if let lastError = _lastError { - forwardOn(.error(lastError)) - } - else { - forwardOn(.completed) - } - - self.dispose() - } - - override func extract(_ observable: Observable) -> SequenceGenerator? { - if let onError = observable as? CatchSequence { - return (onError.sources.makeIterator(), nil) - } - else { - return nil - } - } -} - -final fileprivate class CatchSequence : Producer where S.Iterator.Element : ObservableConvertibleType { - typealias Element = S.Iterator.Element.E - - let sources: S - - init(sources: S) { - self.sources = sources - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = CatchSequenceSink(observer: observer, cancel: cancel) - let subscription = sink.run((self.sources.makeIterator(), nil)) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift b/Example/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift deleted file mode 100644 index 45e0173..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift +++ /dev/null @@ -1,157 +0,0 @@ -// -// CombineLatest+Collection.swift -// RxSwift -// -// Created by Krunoslav Zaher on 8/29/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - /** - Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences produces an element. - - - seealso: [combinelatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - parameter resultSelector: Function to invoke whenever any of the sources produces an element. - - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function. - */ - public static func combineLatest(_ collection: C, _ resultSelector: @escaping ([C.Iterator.Element.E]) throws -> E) -> Observable - where C.Iterator.Element: ObservableType { - return CombineLatestCollectionType(sources: collection, resultSelector: resultSelector) - } - - /** - Merges the specified observable sequences into one observable sequence whenever any of the observable sequences produces an element. - - - seealso: [combinelatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - returns: An observable sequence containing the result of combining elements of the sources. - */ - public static func combineLatest(_ collection: C) -> Observable<[E]> - where C.Iterator.Element: ObservableType, C.Iterator.Element.E == E { - return CombineLatestCollectionType(sources: collection, resultSelector: { $0 }) - } -} - -final fileprivate class CombineLatestCollectionTypeSink - : Sink where C.Iterator.Element : ObservableConvertibleType { - typealias R = O.E - typealias Parent = CombineLatestCollectionType - typealias SourceElement = C.Iterator.Element.E - - let _parent: Parent - - let _lock = RecursiveLock() - - // state - var _numberOfValues = 0 - var _values: [SourceElement?] - var _isDone: [Bool] - var _numberOfDone = 0 - var _subscriptions: [SingleAssignmentDisposable] - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - _values = [SourceElement?](repeating: nil, count: parent._count) - _isDone = [Bool](repeating: false, count: parent._count) - _subscriptions = Array() - _subscriptions.reserveCapacity(parent._count) - - for _ in 0 ..< parent._count { - _subscriptions.append(SingleAssignmentDisposable()) - } - - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event, atIndex: Int) { - _lock.lock(); defer { _lock.unlock() } // { - switch event { - case .next(let element): - if _values[atIndex] == nil { - _numberOfValues += 1 - } - - _values[atIndex] = element - - if _numberOfValues < _parent._count { - let numberOfOthersThatAreDone = self._numberOfDone - (_isDone[atIndex] ? 1 : 0) - if numberOfOthersThatAreDone == self._parent._count - 1 { - forwardOn(.completed) - dispose() - } - return - } - - do { - let result = try _parent._resultSelector(_values.map { $0! }) - forwardOn(.next(result)) - } - catch let error { - forwardOn(.error(error)) - dispose() - } - - case .error(let error): - forwardOn(.error(error)) - dispose() - case .completed: - if _isDone[atIndex] { - return - } - - _isDone[atIndex] = true - _numberOfDone += 1 - - if _numberOfDone == self._parent._count { - forwardOn(.completed) - dispose() - } - else { - _subscriptions[atIndex].dispose() - } - } - // } - } - - func run() -> Disposable { - var j = 0 - for i in _parent._sources { - let index = j - let source = i.asObservable() - let disposable = source.subscribe(AnyObserver { event in - self.on(event, atIndex: index) - }) - - _subscriptions[j].setDisposable(disposable) - - j += 1 - } - - if _parent._sources.isEmpty { - self.forwardOn(.completed) - } - - return Disposables.create(_subscriptions) - } -} - -final fileprivate class CombineLatestCollectionType : Producer where C.Iterator.Element : ObservableConvertibleType { - typealias ResultSelector = ([C.Iterator.Element.E]) throws -> R - - let _sources: C - let _resultSelector: ResultSelector - let _count: Int - - init(sources: C, resultSelector: @escaping ResultSelector) { - _sources = sources - _resultSelector = resultSelector - _count = Int(Int64(self._sources.count)) - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R { - let sink = CombineLatestCollectionTypeSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift b/Example/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift deleted file mode 100644 index aad2255..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift +++ /dev/null @@ -1,843 +0,0 @@ -// This file is autogenerated. Take a look at `Preprocessor` target in RxSwift project -// -// CombineLatest+arity.swift -// RxSwift -// -// Created by Krunoslav Zaher on 4/22/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - - - -// 2 - -extension ObservableType { - /** - Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences produces an element. - - - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - parameter resultSelector: Function to invoke whenever any of the sources produces an element. - - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function. - */ - public static func combineLatest - (_ source1: O1, _ source2: O2, resultSelector: @escaping (O1.E, O2.E) throws -> E) - -> Observable { - return CombineLatest2( - source1: source1.asObservable(), source2: source2.asObservable(), - resultSelector: resultSelector - ) - } -} - -extension ObservableType where E == Any { - /** - Merges the specified observable sequences into one observable sequence of tuples whenever any of the observable sequences produces an element. - - - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - returns: An observable sequence containing the result of combining elements of the sources. - */ - public static func combineLatest - (_ source1: O1, _ source2: O2) - -> Observable<(O1.E, O2.E)> { - return CombineLatest2( - source1: source1.asObservable(), source2: source2.asObservable(), - resultSelector: { ($0, $1) } - ) - } -} - -final class CombineLatestSink2_ : CombineLatestSink { - typealias R = O.E - typealias Parent = CombineLatest2 - - let _parent: Parent - - var _latestElement1: E1! = nil - var _latestElement2: E2! = nil - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(arity: 2, observer: observer, cancel: cancel) - } - - func run() -> Disposable { - let subscription1 = SingleAssignmentDisposable() - let subscription2 = SingleAssignmentDisposable() - - let observer1 = CombineLatestObserver(lock: _lock, parent: self, index: 0, setLatestValue: { (e: E1) -> Void in self._latestElement1 = e }, this: subscription1) - let observer2 = CombineLatestObserver(lock: _lock, parent: self, index: 1, setLatestValue: { (e: E2) -> Void in self._latestElement2 = e }, this: subscription2) - - subscription1.setDisposable(_parent._source1.subscribe(observer1)) - subscription2.setDisposable(_parent._source2.subscribe(observer2)) - - return Disposables.create([ - subscription1, - subscription2 - ]) - } - - override func getResult() throws -> R { - return try _parent._resultSelector(_latestElement1, _latestElement2) - } -} - -final class CombineLatest2 : Producer { - typealias ResultSelector = (E1, E2) throws -> R - - let _source1: Observable - let _source2: Observable - - let _resultSelector: ResultSelector - - init(source1: Observable, source2: Observable, resultSelector: @escaping ResultSelector) { - _source1 = source1 - _source2 = source2 - - _resultSelector = resultSelector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R { - let sink = CombineLatestSink2_(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - - - -// 3 - -extension ObservableType { - /** - Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences produces an element. - - - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - parameter resultSelector: Function to invoke whenever any of the sources produces an element. - - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function. - */ - public static func combineLatest - (_ source1: O1, _ source2: O2, _ source3: O3, resultSelector: @escaping (O1.E, O2.E, O3.E) throws -> E) - -> Observable { - return CombineLatest3( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), - resultSelector: resultSelector - ) - } -} - -extension ObservableType where E == Any { - /** - Merges the specified observable sequences into one observable sequence of tuples whenever any of the observable sequences produces an element. - - - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - returns: An observable sequence containing the result of combining elements of the sources. - */ - public static func combineLatest - (_ source1: O1, _ source2: O2, _ source3: O3) - -> Observable<(O1.E, O2.E, O3.E)> { - return CombineLatest3( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), - resultSelector: { ($0, $1, $2) } - ) - } -} - -final class CombineLatestSink3_ : CombineLatestSink { - typealias R = O.E - typealias Parent = CombineLatest3 - - let _parent: Parent - - var _latestElement1: E1! = nil - var _latestElement2: E2! = nil - var _latestElement3: E3! = nil - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(arity: 3, observer: observer, cancel: cancel) - } - - func run() -> Disposable { - let subscription1 = SingleAssignmentDisposable() - let subscription2 = SingleAssignmentDisposable() - let subscription3 = SingleAssignmentDisposable() - - let observer1 = CombineLatestObserver(lock: _lock, parent: self, index: 0, setLatestValue: { (e: E1) -> Void in self._latestElement1 = e }, this: subscription1) - let observer2 = CombineLatestObserver(lock: _lock, parent: self, index: 1, setLatestValue: { (e: E2) -> Void in self._latestElement2 = e }, this: subscription2) - let observer3 = CombineLatestObserver(lock: _lock, parent: self, index: 2, setLatestValue: { (e: E3) -> Void in self._latestElement3 = e }, this: subscription3) - - subscription1.setDisposable(_parent._source1.subscribe(observer1)) - subscription2.setDisposable(_parent._source2.subscribe(observer2)) - subscription3.setDisposable(_parent._source3.subscribe(observer3)) - - return Disposables.create([ - subscription1, - subscription2, - subscription3 - ]) - } - - override func getResult() throws -> R { - return try _parent._resultSelector(_latestElement1, _latestElement2, _latestElement3) - } -} - -final class CombineLatest3 : Producer { - typealias ResultSelector = (E1, E2, E3) throws -> R - - let _source1: Observable - let _source2: Observable - let _source3: Observable - - let _resultSelector: ResultSelector - - init(source1: Observable, source2: Observable, source3: Observable, resultSelector: @escaping ResultSelector) { - _source1 = source1 - _source2 = source2 - _source3 = source3 - - _resultSelector = resultSelector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R { - let sink = CombineLatestSink3_(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - - - -// 4 - -extension ObservableType { - /** - Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences produces an element. - - - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - parameter resultSelector: Function to invoke whenever any of the sources produces an element. - - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function. - */ - public static func combineLatest - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E) throws -> E) - -> Observable { - return CombineLatest4( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), - resultSelector: resultSelector - ) - } -} - -extension ObservableType where E == Any { - /** - Merges the specified observable sequences into one observable sequence of tuples whenever any of the observable sequences produces an element. - - - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - returns: An observable sequence containing the result of combining elements of the sources. - */ - public static func combineLatest - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4) - -> Observable<(O1.E, O2.E, O3.E, O4.E)> { - return CombineLatest4( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), - resultSelector: { ($0, $1, $2, $3) } - ) - } -} - -final class CombineLatestSink4_ : CombineLatestSink { - typealias R = O.E - typealias Parent = CombineLatest4 - - let _parent: Parent - - var _latestElement1: E1! = nil - var _latestElement2: E2! = nil - var _latestElement3: E3! = nil - var _latestElement4: E4! = nil - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(arity: 4, observer: observer, cancel: cancel) - } - - func run() -> Disposable { - let subscription1 = SingleAssignmentDisposable() - let subscription2 = SingleAssignmentDisposable() - let subscription3 = SingleAssignmentDisposable() - let subscription4 = SingleAssignmentDisposable() - - let observer1 = CombineLatestObserver(lock: _lock, parent: self, index: 0, setLatestValue: { (e: E1) -> Void in self._latestElement1 = e }, this: subscription1) - let observer2 = CombineLatestObserver(lock: _lock, parent: self, index: 1, setLatestValue: { (e: E2) -> Void in self._latestElement2 = e }, this: subscription2) - let observer3 = CombineLatestObserver(lock: _lock, parent: self, index: 2, setLatestValue: { (e: E3) -> Void in self._latestElement3 = e }, this: subscription3) - let observer4 = CombineLatestObserver(lock: _lock, parent: self, index: 3, setLatestValue: { (e: E4) -> Void in self._latestElement4 = e }, this: subscription4) - - subscription1.setDisposable(_parent._source1.subscribe(observer1)) - subscription2.setDisposable(_parent._source2.subscribe(observer2)) - subscription3.setDisposable(_parent._source3.subscribe(observer3)) - subscription4.setDisposable(_parent._source4.subscribe(observer4)) - - return Disposables.create([ - subscription1, - subscription2, - subscription3, - subscription4 - ]) - } - - override func getResult() throws -> R { - return try _parent._resultSelector(_latestElement1, _latestElement2, _latestElement3, _latestElement4) - } -} - -final class CombineLatest4 : Producer { - typealias ResultSelector = (E1, E2, E3, E4) throws -> R - - let _source1: Observable - let _source2: Observable - let _source3: Observable - let _source4: Observable - - let _resultSelector: ResultSelector - - init(source1: Observable, source2: Observable, source3: Observable, source4: Observable, resultSelector: @escaping ResultSelector) { - _source1 = source1 - _source2 = source2 - _source3 = source3 - _source4 = source4 - - _resultSelector = resultSelector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R { - let sink = CombineLatestSink4_(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - - - -// 5 - -extension ObservableType { - /** - Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences produces an element. - - - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - parameter resultSelector: Function to invoke whenever any of the sources produces an element. - - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function. - */ - public static func combineLatest - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E, O5.E) throws -> E) - -> Observable { - return CombineLatest5( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), - resultSelector: resultSelector - ) - } -} - -extension ObservableType where E == Any { - /** - Merges the specified observable sequences into one observable sequence of tuples whenever any of the observable sequences produces an element. - - - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - returns: An observable sequence containing the result of combining elements of the sources. - */ - public static func combineLatest - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5) - -> Observable<(O1.E, O2.E, O3.E, O4.E, O5.E)> { - return CombineLatest5( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), - resultSelector: { ($0, $1, $2, $3, $4) } - ) - } -} - -final class CombineLatestSink5_ : CombineLatestSink { - typealias R = O.E - typealias Parent = CombineLatest5 - - let _parent: Parent - - var _latestElement1: E1! = nil - var _latestElement2: E2! = nil - var _latestElement3: E3! = nil - var _latestElement4: E4! = nil - var _latestElement5: E5! = nil - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(arity: 5, observer: observer, cancel: cancel) - } - - func run() -> Disposable { - let subscription1 = SingleAssignmentDisposable() - let subscription2 = SingleAssignmentDisposable() - let subscription3 = SingleAssignmentDisposable() - let subscription4 = SingleAssignmentDisposable() - let subscription5 = SingleAssignmentDisposable() - - let observer1 = CombineLatestObserver(lock: _lock, parent: self, index: 0, setLatestValue: { (e: E1) -> Void in self._latestElement1 = e }, this: subscription1) - let observer2 = CombineLatestObserver(lock: _lock, parent: self, index: 1, setLatestValue: { (e: E2) -> Void in self._latestElement2 = e }, this: subscription2) - let observer3 = CombineLatestObserver(lock: _lock, parent: self, index: 2, setLatestValue: { (e: E3) -> Void in self._latestElement3 = e }, this: subscription3) - let observer4 = CombineLatestObserver(lock: _lock, parent: self, index: 3, setLatestValue: { (e: E4) -> Void in self._latestElement4 = e }, this: subscription4) - let observer5 = CombineLatestObserver(lock: _lock, parent: self, index: 4, setLatestValue: { (e: E5) -> Void in self._latestElement5 = e }, this: subscription5) - - subscription1.setDisposable(_parent._source1.subscribe(observer1)) - subscription2.setDisposable(_parent._source2.subscribe(observer2)) - subscription3.setDisposable(_parent._source3.subscribe(observer3)) - subscription4.setDisposable(_parent._source4.subscribe(observer4)) - subscription5.setDisposable(_parent._source5.subscribe(observer5)) - - return Disposables.create([ - subscription1, - subscription2, - subscription3, - subscription4, - subscription5 - ]) - } - - override func getResult() throws -> R { - return try _parent._resultSelector(_latestElement1, _latestElement2, _latestElement3, _latestElement4, _latestElement5) - } -} - -final class CombineLatest5 : Producer { - typealias ResultSelector = (E1, E2, E3, E4, E5) throws -> R - - let _source1: Observable - let _source2: Observable - let _source3: Observable - let _source4: Observable - let _source5: Observable - - let _resultSelector: ResultSelector - - init(source1: Observable, source2: Observable, source3: Observable, source4: Observable, source5: Observable, resultSelector: @escaping ResultSelector) { - _source1 = source1 - _source2 = source2 - _source3 = source3 - _source4 = source4 - _source5 = source5 - - _resultSelector = resultSelector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R { - let sink = CombineLatestSink5_(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - - - -// 6 - -extension ObservableType { - /** - Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences produces an element. - - - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - parameter resultSelector: Function to invoke whenever any of the sources produces an element. - - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function. - */ - public static func combineLatest - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E, O5.E, O6.E) throws -> E) - -> Observable { - return CombineLatest6( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), - resultSelector: resultSelector - ) - } -} - -extension ObservableType where E == Any { - /** - Merges the specified observable sequences into one observable sequence of tuples whenever any of the observable sequences produces an element. - - - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - returns: An observable sequence containing the result of combining elements of the sources. - */ - public static func combineLatest - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6) - -> Observable<(O1.E, O2.E, O3.E, O4.E, O5.E, O6.E)> { - return CombineLatest6( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), - resultSelector: { ($0, $1, $2, $3, $4, $5) } - ) - } -} - -final class CombineLatestSink6_ : CombineLatestSink { - typealias R = O.E - typealias Parent = CombineLatest6 - - let _parent: Parent - - var _latestElement1: E1! = nil - var _latestElement2: E2! = nil - var _latestElement3: E3! = nil - var _latestElement4: E4! = nil - var _latestElement5: E5! = nil - var _latestElement6: E6! = nil - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(arity: 6, observer: observer, cancel: cancel) - } - - func run() -> Disposable { - let subscription1 = SingleAssignmentDisposable() - let subscription2 = SingleAssignmentDisposable() - let subscription3 = SingleAssignmentDisposable() - let subscription4 = SingleAssignmentDisposable() - let subscription5 = SingleAssignmentDisposable() - let subscription6 = SingleAssignmentDisposable() - - let observer1 = CombineLatestObserver(lock: _lock, parent: self, index: 0, setLatestValue: { (e: E1) -> Void in self._latestElement1 = e }, this: subscription1) - let observer2 = CombineLatestObserver(lock: _lock, parent: self, index: 1, setLatestValue: { (e: E2) -> Void in self._latestElement2 = e }, this: subscription2) - let observer3 = CombineLatestObserver(lock: _lock, parent: self, index: 2, setLatestValue: { (e: E3) -> Void in self._latestElement3 = e }, this: subscription3) - let observer4 = CombineLatestObserver(lock: _lock, parent: self, index: 3, setLatestValue: { (e: E4) -> Void in self._latestElement4 = e }, this: subscription4) - let observer5 = CombineLatestObserver(lock: _lock, parent: self, index: 4, setLatestValue: { (e: E5) -> Void in self._latestElement5 = e }, this: subscription5) - let observer6 = CombineLatestObserver(lock: _lock, parent: self, index: 5, setLatestValue: { (e: E6) -> Void in self._latestElement6 = e }, this: subscription6) - - subscription1.setDisposable(_parent._source1.subscribe(observer1)) - subscription2.setDisposable(_parent._source2.subscribe(observer2)) - subscription3.setDisposable(_parent._source3.subscribe(observer3)) - subscription4.setDisposable(_parent._source4.subscribe(observer4)) - subscription5.setDisposable(_parent._source5.subscribe(observer5)) - subscription6.setDisposable(_parent._source6.subscribe(observer6)) - - return Disposables.create([ - subscription1, - subscription2, - subscription3, - subscription4, - subscription5, - subscription6 - ]) - } - - override func getResult() throws -> R { - return try _parent._resultSelector(_latestElement1, _latestElement2, _latestElement3, _latestElement4, _latestElement5, _latestElement6) - } -} - -final class CombineLatest6 : Producer { - typealias ResultSelector = (E1, E2, E3, E4, E5, E6) throws -> R - - let _source1: Observable - let _source2: Observable - let _source3: Observable - let _source4: Observable - let _source5: Observable - let _source6: Observable - - let _resultSelector: ResultSelector - - init(source1: Observable, source2: Observable, source3: Observable, source4: Observable, source5: Observable, source6: Observable, resultSelector: @escaping ResultSelector) { - _source1 = source1 - _source2 = source2 - _source3 = source3 - _source4 = source4 - _source5 = source5 - _source6 = source6 - - _resultSelector = resultSelector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R { - let sink = CombineLatestSink6_(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - - - -// 7 - -extension ObservableType { - /** - Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences produces an element. - - - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - parameter resultSelector: Function to invoke whenever any of the sources produces an element. - - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function. - */ - public static func combineLatest - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, _ source7: O7, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E, O5.E, O6.E, O7.E) throws -> E) - -> Observable { - return CombineLatest7( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), source7: source7.asObservable(), - resultSelector: resultSelector - ) - } -} - -extension ObservableType where E == Any { - /** - Merges the specified observable sequences into one observable sequence of tuples whenever any of the observable sequences produces an element. - - - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - returns: An observable sequence containing the result of combining elements of the sources. - */ - public static func combineLatest - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, _ source7: O7) - -> Observable<(O1.E, O2.E, O3.E, O4.E, O5.E, O6.E, O7.E)> { - return CombineLatest7( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), source7: source7.asObservable(), - resultSelector: { ($0, $1, $2, $3, $4, $5, $6) } - ) - } -} - -final class CombineLatestSink7_ : CombineLatestSink { - typealias R = O.E - typealias Parent = CombineLatest7 - - let _parent: Parent - - var _latestElement1: E1! = nil - var _latestElement2: E2! = nil - var _latestElement3: E3! = nil - var _latestElement4: E4! = nil - var _latestElement5: E5! = nil - var _latestElement6: E6! = nil - var _latestElement7: E7! = nil - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(arity: 7, observer: observer, cancel: cancel) - } - - func run() -> Disposable { - let subscription1 = SingleAssignmentDisposable() - let subscription2 = SingleAssignmentDisposable() - let subscription3 = SingleAssignmentDisposable() - let subscription4 = SingleAssignmentDisposable() - let subscription5 = SingleAssignmentDisposable() - let subscription6 = SingleAssignmentDisposable() - let subscription7 = SingleAssignmentDisposable() - - let observer1 = CombineLatestObserver(lock: _lock, parent: self, index: 0, setLatestValue: { (e: E1) -> Void in self._latestElement1 = e }, this: subscription1) - let observer2 = CombineLatestObserver(lock: _lock, parent: self, index: 1, setLatestValue: { (e: E2) -> Void in self._latestElement2 = e }, this: subscription2) - let observer3 = CombineLatestObserver(lock: _lock, parent: self, index: 2, setLatestValue: { (e: E3) -> Void in self._latestElement3 = e }, this: subscription3) - let observer4 = CombineLatestObserver(lock: _lock, parent: self, index: 3, setLatestValue: { (e: E4) -> Void in self._latestElement4 = e }, this: subscription4) - let observer5 = CombineLatestObserver(lock: _lock, parent: self, index: 4, setLatestValue: { (e: E5) -> Void in self._latestElement5 = e }, this: subscription5) - let observer6 = CombineLatestObserver(lock: _lock, parent: self, index: 5, setLatestValue: { (e: E6) -> Void in self._latestElement6 = e }, this: subscription6) - let observer7 = CombineLatestObserver(lock: _lock, parent: self, index: 6, setLatestValue: { (e: E7) -> Void in self._latestElement7 = e }, this: subscription7) - - subscription1.setDisposable(_parent._source1.subscribe(observer1)) - subscription2.setDisposable(_parent._source2.subscribe(observer2)) - subscription3.setDisposable(_parent._source3.subscribe(observer3)) - subscription4.setDisposable(_parent._source4.subscribe(observer4)) - subscription5.setDisposable(_parent._source5.subscribe(observer5)) - subscription6.setDisposable(_parent._source6.subscribe(observer6)) - subscription7.setDisposable(_parent._source7.subscribe(observer7)) - - return Disposables.create([ - subscription1, - subscription2, - subscription3, - subscription4, - subscription5, - subscription6, - subscription7 - ]) - } - - override func getResult() throws -> R { - return try _parent._resultSelector(_latestElement1, _latestElement2, _latestElement3, _latestElement4, _latestElement5, _latestElement6, _latestElement7) - } -} - -final class CombineLatest7 : Producer { - typealias ResultSelector = (E1, E2, E3, E4, E5, E6, E7) throws -> R - - let _source1: Observable - let _source2: Observable - let _source3: Observable - let _source4: Observable - let _source5: Observable - let _source6: Observable - let _source7: Observable - - let _resultSelector: ResultSelector - - init(source1: Observable, source2: Observable, source3: Observable, source4: Observable, source5: Observable, source6: Observable, source7: Observable, resultSelector: @escaping ResultSelector) { - _source1 = source1 - _source2 = source2 - _source3 = source3 - _source4 = source4 - _source5 = source5 - _source6 = source6 - _source7 = source7 - - _resultSelector = resultSelector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R { - let sink = CombineLatestSink7_(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - - - -// 8 - -extension ObservableType { - /** - Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences produces an element. - - - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - parameter resultSelector: Function to invoke whenever any of the sources produces an element. - - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function. - */ - public static func combineLatest - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, _ source7: O7, _ source8: O8, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E, O5.E, O6.E, O7.E, O8.E) throws -> E) - -> Observable { - return CombineLatest8( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), source7: source7.asObservable(), source8: source8.asObservable(), - resultSelector: resultSelector - ) - } -} - -extension ObservableType where E == Any { - /** - Merges the specified observable sequences into one observable sequence of tuples whenever any of the observable sequences produces an element. - - - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - returns: An observable sequence containing the result of combining elements of the sources. - */ - public static func combineLatest - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, _ source7: O7, _ source8: O8) - -> Observable<(O1.E, O2.E, O3.E, O4.E, O5.E, O6.E, O7.E, O8.E)> { - return CombineLatest8( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), source7: source7.asObservable(), source8: source8.asObservable(), - resultSelector: { ($0, $1, $2, $3, $4, $5, $6, $7) } - ) - } -} - -final class CombineLatestSink8_ : CombineLatestSink { - typealias R = O.E - typealias Parent = CombineLatest8 - - let _parent: Parent - - var _latestElement1: E1! = nil - var _latestElement2: E2! = nil - var _latestElement3: E3! = nil - var _latestElement4: E4! = nil - var _latestElement5: E5! = nil - var _latestElement6: E6! = nil - var _latestElement7: E7! = nil - var _latestElement8: E8! = nil - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(arity: 8, observer: observer, cancel: cancel) - } - - func run() -> Disposable { - let subscription1 = SingleAssignmentDisposable() - let subscription2 = SingleAssignmentDisposable() - let subscription3 = SingleAssignmentDisposable() - let subscription4 = SingleAssignmentDisposable() - let subscription5 = SingleAssignmentDisposable() - let subscription6 = SingleAssignmentDisposable() - let subscription7 = SingleAssignmentDisposable() - let subscription8 = SingleAssignmentDisposable() - - let observer1 = CombineLatestObserver(lock: _lock, parent: self, index: 0, setLatestValue: { (e: E1) -> Void in self._latestElement1 = e }, this: subscription1) - let observer2 = CombineLatestObserver(lock: _lock, parent: self, index: 1, setLatestValue: { (e: E2) -> Void in self._latestElement2 = e }, this: subscription2) - let observer3 = CombineLatestObserver(lock: _lock, parent: self, index: 2, setLatestValue: { (e: E3) -> Void in self._latestElement3 = e }, this: subscription3) - let observer4 = CombineLatestObserver(lock: _lock, parent: self, index: 3, setLatestValue: { (e: E4) -> Void in self._latestElement4 = e }, this: subscription4) - let observer5 = CombineLatestObserver(lock: _lock, parent: self, index: 4, setLatestValue: { (e: E5) -> Void in self._latestElement5 = e }, this: subscription5) - let observer6 = CombineLatestObserver(lock: _lock, parent: self, index: 5, setLatestValue: { (e: E6) -> Void in self._latestElement6 = e }, this: subscription6) - let observer7 = CombineLatestObserver(lock: _lock, parent: self, index: 6, setLatestValue: { (e: E7) -> Void in self._latestElement7 = e }, this: subscription7) - let observer8 = CombineLatestObserver(lock: _lock, parent: self, index: 7, setLatestValue: { (e: E8) -> Void in self._latestElement8 = e }, this: subscription8) - - subscription1.setDisposable(_parent._source1.subscribe(observer1)) - subscription2.setDisposable(_parent._source2.subscribe(observer2)) - subscription3.setDisposable(_parent._source3.subscribe(observer3)) - subscription4.setDisposable(_parent._source4.subscribe(observer4)) - subscription5.setDisposable(_parent._source5.subscribe(observer5)) - subscription6.setDisposable(_parent._source6.subscribe(observer6)) - subscription7.setDisposable(_parent._source7.subscribe(observer7)) - subscription8.setDisposable(_parent._source8.subscribe(observer8)) - - return Disposables.create([ - subscription1, - subscription2, - subscription3, - subscription4, - subscription5, - subscription6, - subscription7, - subscription8 - ]) - } - - override func getResult() throws -> R { - return try _parent._resultSelector(_latestElement1, _latestElement2, _latestElement3, _latestElement4, _latestElement5, _latestElement6, _latestElement7, _latestElement8) - } -} - -final class CombineLatest8 : Producer { - typealias ResultSelector = (E1, E2, E3, E4, E5, E6, E7, E8) throws -> R - - let _source1: Observable - let _source2: Observable - let _source3: Observable - let _source4: Observable - let _source5: Observable - let _source6: Observable - let _source7: Observable - let _source8: Observable - - let _resultSelector: ResultSelector - - init(source1: Observable, source2: Observable, source3: Observable, source4: Observable, source5: Observable, source6: Observable, source7: Observable, source8: Observable, resultSelector: @escaping ResultSelector) { - _source1 = source1 - _source2 = source2 - _source3 = source3 - _source4 = source4 - _source5 = source5 - _source6 = source6 - _source7 = source7 - _source8 = source8 - - _resultSelector = resultSelector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R { - let sink = CombineLatestSink8_(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - - diff --git a/Example/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift b/Example/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift deleted file mode 100644 index 8c03e8c..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift +++ /dev/null @@ -1,132 +0,0 @@ -// -// CombineLatest.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/21/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -protocol CombineLatestProtocol : class { - func next(_ index: Int) - func fail(_ error: Swift.Error) - func done(_ index: Int) -} - -class CombineLatestSink - : Sink - , CombineLatestProtocol { - typealias Element = O.E - - let _lock = RecursiveLock() - - private let _arity: Int - private var _numberOfValues = 0 - private var _numberOfDone = 0 - private var _hasValue: [Bool] - private var _isDone: [Bool] - - init(arity: Int, observer: O, cancel: Cancelable) { - _arity = arity - _hasValue = [Bool](repeating: false, count: arity) - _isDone = [Bool](repeating: false, count: arity) - - super.init(observer: observer, cancel: cancel) - } - - func getResult() throws -> Element { - rxAbstractMethod() - } - - func next(_ index: Int) { - if !_hasValue[index] { - _hasValue[index] = true - _numberOfValues += 1 - } - - if _numberOfValues == _arity { - do { - let result = try getResult() - forwardOn(.next(result)) - } - catch let e { - forwardOn(.error(e)) - dispose() - } - } - else { - var allOthersDone = true - - for i in 0 ..< _arity { - if i != index && !_isDone[i] { - allOthersDone = false - break - } - } - - if allOthersDone { - forwardOn(.completed) - dispose() - } - } - } - - func fail(_ error: Swift.Error) { - forwardOn(.error(error)) - dispose() - } - - func done(_ index: Int) { - if _isDone[index] { - return - } - - _isDone[index] = true - _numberOfDone += 1 - - if _numberOfDone == _arity { - forwardOn(.completed) - dispose() - } - } -} - -final class CombineLatestObserver - : ObserverType - , LockOwnerType - , SynchronizedOnType { - typealias Element = ElementType - typealias ValueSetter = (Element) -> Void - - private let _parent: CombineLatestProtocol - - let _lock: RecursiveLock - private let _index: Int - private let _this: Disposable - private let _setLatestValue: ValueSetter - - init(lock: RecursiveLock, parent: CombineLatestProtocol, index: Int, setLatestValue: @escaping ValueSetter, this: Disposable) { - _lock = lock - _parent = parent - _index = index - _this = this - _setLatestValue = setLatestValue - } - - func on(_ event: Event) { - synchronizedOn(event) - } - - func _synchronized_on(_ event: Event) { - switch event { - case .next(let value): - _setLatestValue(value) - _parent.next(_index) - case .error(let error): - _this.dispose() - _parent.fail(error) - case .completed: - _this.dispose() - _parent.done(_index) - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Concat.swift b/Example/Pods/RxSwift/RxSwift/Observables/Concat.swift deleted file mode 100644 index 35ef0e1..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Concat.swift +++ /dev/null @@ -1,131 +0,0 @@ -// -// Concat.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/21/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Concatenates the second observable sequence to `self` upon successful termination of `self`. - - - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html) - - - parameter second: Second observable sequence. - - returns: An observable sequence that contains the elements of `self`, followed by those of the second sequence. - */ - public func concat(_ second: O) -> Observable where O.E == E { - return Observable.concat([self.asObservable(), second.asObservable()]) - } -} - -extension ObservableType { - /** - Concatenates all observable sequences in the given sequence, as long as the previous observable sequence terminated successfully. - - This operator has tail recursive optimizations that will prevent stack overflow. - - Optimizations will be performed in cases equivalent to following: - - [1, [2, [3, .....].concat()].concat].concat() - - - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html) - - - returns: An observable sequence that contains the elements of each given sequence, in sequential order. - */ - public static func concat(_ sequence: S) -> Observable - where S.Iterator.Element == Observable { - return Concat(sources: sequence, count: nil) - } - - /** - Concatenates all observable sequences in the given collection, as long as the previous observable sequence terminated successfully. - - This operator has tail recursive optimizations that will prevent stack overflow. - - Optimizations will be performed in cases equivalent to following: - - [1, [2, [3, .....].concat()].concat].concat() - - - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html) - - - returns: An observable sequence that contains the elements of each given sequence, in sequential order. - */ - public static func concat(_ collection: S) -> Observable - where S.Iterator.Element == Observable { - return Concat(sources: collection, count: Int64(collection.count)) - } - - /** - Concatenates all observable sequences in the given collection, as long as the previous observable sequence terminated successfully. - - This operator has tail recursive optimizations that will prevent stack overflow. - - Optimizations will be performed in cases equivalent to following: - - [1, [2, [3, .....].concat()].concat].concat() - - - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html) - - - returns: An observable sequence that contains the elements of each given sequence, in sequential order. - */ - public static func concat(_ sources: Observable ...) -> Observable { - return Concat(sources: sources, count: Int64(sources.count)) - } -} - -final fileprivate class ConcatSink - : TailRecursiveSink - , ObserverType where S.Iterator.Element : ObservableConvertibleType, S.Iterator.Element.E == O.E { - typealias Element = O.E - - override init(observer: O, cancel: Cancelable) { - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event){ - switch event { - case .next: - forwardOn(event) - case .error: - forwardOn(event) - dispose() - case .completed: - schedule(.moveNext) - } - } - - override func subscribeToNext(_ source: Observable) -> Disposable { - return source.subscribe(self) - } - - override func extract(_ observable: Observable) -> SequenceGenerator? { - if let source = observable as? Concat { - return (source._sources.makeIterator(), source._count) - } - else { - return nil - } - } -} - -final fileprivate class Concat : Producer where S.Iterator.Element : ObservableConvertibleType { - typealias Element = S.Iterator.Element.E - - fileprivate let _sources: S - fileprivate let _count: IntMax? - - init(sources: S, count: IntMax?) { - _sources = sources - _count = count - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = ConcatSink(observer: observer, cancel: cancel) - let subscription = sink.run((_sources.makeIterator(), _count)) - return (sink: sink, subscription: subscription) - } -} - diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Create.swift b/Example/Pods/RxSwift/RxSwift/Observables/Create.swift deleted file mode 100644 index 507c8e6..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Create.swift +++ /dev/null @@ -1,78 +0,0 @@ -// -// Create.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/8/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - // MARK: create - - /** - Creates an observable sequence from a specified subscribe method implementation. - - - seealso: [create operator on reactivex.io](http://reactivex.io/documentation/operators/create.html) - - - parameter subscribe: Implementation of the resulting observable sequence's `subscribe` method. - - returns: The observable sequence with the specified implementation for the `subscribe` method. - */ - public static func create(_ subscribe: @escaping (AnyObserver) -> Disposable) -> Observable { - return AnonymousObservable(subscribe) - } -} - -final fileprivate class AnonymousObservableSink : Sink, ObserverType { - typealias E = O.E - typealias Parent = AnonymousObservable - - // state - private var _isStopped = AtomicInt(0) - - #if DEBUG - fileprivate let _synchronizationTracker = SynchronizationTracker() - #endif - - override init(observer: O, cancel: Cancelable) { - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - #if DEBUG - _synchronizationTracker.register(synchronizationErrorMessage: .default) - defer { _synchronizationTracker.unregister() } - #endif - switch event { - case .next: - if _isStopped.load() == 1 { - return - } - forwardOn(event) - case .error, .completed: - if _isStopped.fetchOr(1) == 0 { - forwardOn(event) - dispose() - } - } - } - - func run(_ parent: Parent) -> Disposable { - return parent._subscribeHandler(AnyObserver(self)) - } -} - -final fileprivate class AnonymousObservable : Producer { - typealias SubscribeHandler = (AnyObserver) -> Disposable - - let _subscribeHandler: SubscribeHandler - - init(_ subscribeHandler: @escaping SubscribeHandler) { - _subscribeHandler = subscribeHandler - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = AnonymousObservableSink(observer: observer, cancel: cancel) - let subscription = sink.run(self) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Debounce.swift b/Example/Pods/RxSwift/RxSwift/Observables/Debounce.swift deleted file mode 100644 index 866427a..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Debounce.swift +++ /dev/null @@ -1,119 +0,0 @@ -// -// Debounce.swift -// RxSwift -// -// Created by Krunoslav Zaher on 9/11/16. -// Copyright © 2016 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Ignores elements from an observable sequence which are followed by another element within a specified relative time duration, using the specified scheduler to run throttling timers. - - - seealso: [debounce operator on reactivex.io](http://reactivex.io/documentation/operators/debounce.html) - - - parameter dueTime: Throttling duration for each element. - - parameter scheduler: Scheduler to run the throttle timers on. - - returns: The throttled sequence. - */ - public func debounce(_ dueTime: RxTimeInterval, scheduler: SchedulerType) - -> Observable { - return Debounce(source: self.asObservable(), dueTime: dueTime, scheduler: scheduler) - } -} - -final fileprivate class DebounceSink - : Sink - , ObserverType - , LockOwnerType - , SynchronizedOnType { - typealias Element = O.E - typealias ParentType = Debounce - - private let _parent: ParentType - - let _lock = RecursiveLock() - - // state - private var _id = 0 as UInt64 - private var _value: Element? = nil - - let cancellable = SerialDisposable() - - init(parent: ParentType, observer: O, cancel: Cancelable) { - _parent = parent - - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - let subscription = _parent._source.subscribe(self) - - return Disposables.create(subscription, cancellable) - } - - func on(_ event: Event) { - synchronizedOn(event) - } - - func _synchronized_on(_ event: Event) { - switch event { - case .next(let element): - _id = _id &+ 1 - let currentId = _id - _value = element - - - let scheduler = _parent._scheduler - let dueTime = _parent._dueTime - - let d = SingleAssignmentDisposable() - self.cancellable.disposable = d - d.setDisposable(scheduler.scheduleRelative(currentId, dueTime: dueTime, action: self.propagate)) - case .error: - _value = nil - forwardOn(event) - dispose() - case .completed: - if let value = _value { - _value = nil - forwardOn(.next(value)) - } - forwardOn(.completed) - dispose() - } - } - - func propagate(_ currentId: UInt64) -> Disposable { - _lock.lock(); defer { _lock.unlock() } // { - let originalValue = _value - - if let value = originalValue, _id == currentId { - _value = nil - forwardOn(.next(value)) - } - // } - return Disposables.create() - } -} - -final fileprivate class Debounce : Producer { - - fileprivate let _source: Observable - fileprivate let _dueTime: RxTimeInterval - fileprivate let _scheduler: SchedulerType - - init(source: Observable, dueTime: RxTimeInterval, scheduler: SchedulerType) { - _source = source - _dueTime = dueTime - _scheduler = scheduler - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = DebounceSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } - -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Debug.swift b/Example/Pods/RxSwift/RxSwift/Observables/Debug.swift deleted file mode 100644 index 85b8af7..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Debug.swift +++ /dev/null @@ -1,103 +0,0 @@ -// -// Debug.swift -// RxSwift -// -// Created by Krunoslav Zaher on 5/2/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -import struct Foundation.Date -import class Foundation.DateFormatter - -extension ObservableType { - - /** - Prints received events for all observers on standard output. - - - seealso: [do operator on reactivex.io](http://reactivex.io/documentation/operators/do.html) - - - parameter identifier: Identifier that is printed together with event description to standard output. - - parameter trimOutput: Should output be trimmed to max 40 characters. - - returns: An observable sequence whose events are printed to standard output. - */ - public func debug(_ identifier: String? = nil, trimOutput: Bool = false, file: String = #file, line: UInt = #line, function: String = #function) - -> Observable { - return Debug(source: self, identifier: identifier, trimOutput: trimOutput, file: file, line: line, function: function) - } -} - -fileprivate let dateFormat = "yyyy-MM-dd HH:mm:ss.SSS" - -fileprivate func logEvent(_ identifier: String, dateFormat: DateFormatter, content: String) { - print("\(dateFormat.string(from: Date())): \(identifier) -> \(content)") -} - -final fileprivate class DebugSink : Sink, ObserverType where O.E == Source.E { - typealias Element = O.E - typealias Parent = Debug - - private let _parent: Parent - private let _timestampFormatter = DateFormatter() - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - _timestampFormatter.dateFormat = dateFormat - - logEvent(_parent._identifier, dateFormat: _timestampFormatter, content: "subscribed") - - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - let maxEventTextLength = 40 - let eventText = "\(event)" - - let eventNormalized = (eventText.count > maxEventTextLength) && _parent._trimOutput - ? String(eventText.prefix(maxEventTextLength / 2)) + "..." + String(eventText.suffix(maxEventTextLength / 2)) - : eventText - - logEvent(_parent._identifier, dateFormat: _timestampFormatter, content: "Event \(eventNormalized)") - - forwardOn(event) - if event.isStopEvent { - dispose() - } - } - - override func dispose() { - if !self.disposed { - logEvent(_parent._identifier, dateFormat: _timestampFormatter, content: "isDisposed") - } - super.dispose() - } -} - -final fileprivate class Debug : Producer { - fileprivate let _identifier: String - fileprivate let _trimOutput: Bool - fileprivate let _source: Source - - init(source: Source, identifier: String?, trimOutput: Bool, file: String, line: UInt, function: String) { - _trimOutput = trimOutput - if let identifier = identifier { - _identifier = identifier - } - else { - let trimmedFile: String - if let lastIndex = file.lastIndexOf("/") { - trimmedFile = String(file[file.index(after: lastIndex) ..< file.endIndex]) - } - else { - trimmedFile = file - } - _identifier = "\(trimmedFile):\(line) (\(function))" - } - _source = source - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Source.E { - let sink = DebugSink(parent: self, observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift b/Example/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift deleted file mode 100644 index 696361f..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift +++ /dev/null @@ -1,66 +0,0 @@ -// -// DefaultIfEmpty.swift -// RxSwift -// -// Created by sergdort on 23/12/2016. -// Copyright © 2016 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Emits elements from the source observable sequence, or a default element if the source observable sequence is empty. - - - seealso: [DefaultIfEmpty operator on reactivex.io](http://reactivex.io/documentation/operators/defaultifempty.html) - - - parameter default: Default element to be sent if the source does not emit any elements - - returns: An observable sequence which emits default element end completes in case the original sequence is empty - */ - public func ifEmpty(default: E) -> Observable { - return DefaultIfEmpty(source: self.asObservable(), default: `default`) - } -} - -final fileprivate class DefaultIfEmptySink: Sink, ObserverType { - typealias E = O.E - private let _default: E - private var _isEmpty = true - - init(default: E, observer: O, cancel: Cancelable) { - _default = `default` - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - switch event { - case .next(_): - _isEmpty = false - forwardOn(event) - case .error(_): - forwardOn(event) - dispose() - case .completed: - if _isEmpty { - forwardOn(.next(_default)) - } - forwardOn(.completed) - dispose() - } - } -} - -final fileprivate class DefaultIfEmpty: Producer { - private let _source: Observable - private let _default: SourceType - - init(source: Observable, `default`: SourceType) { - _source = source - _default = `default` - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == SourceType { - let sink = DefaultIfEmptySink(default: _default, observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Deferred.swift b/Example/Pods/RxSwift/RxSwift/Observables/Deferred.swift deleted file mode 100644 index 947f604..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Deferred.swift +++ /dev/null @@ -1,74 +0,0 @@ -// -// Deferred.swift -// RxSwift -// -// Created by Krunoslav Zaher on 4/19/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - /** - Returns an observable sequence that invokes the specified factory function whenever a new observer subscribes. - - - seealso: [defer operator on reactivex.io](http://reactivex.io/documentation/operators/defer.html) - - - parameter observableFactory: Observable factory function to invoke for each observer that subscribes to the resulting sequence. - - returns: An observable sequence whose observers trigger an invocation of the given observable factory function. - */ - public static func deferred(_ observableFactory: @escaping () throws -> Observable) - -> Observable { - return Deferred(observableFactory: observableFactory) - } -} - -final fileprivate class DeferredSink : Sink, ObserverType where S.E == O.E { - typealias E = O.E - - private let _observableFactory: () throws -> S - - init(observableFactory: @escaping () throws -> S, observer: O, cancel: Cancelable) { - _observableFactory = observableFactory - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - do { - let result = try _observableFactory() - return result.subscribe(self) - } - catch let e { - forwardOn(.error(e)) - dispose() - return Disposables.create() - } - } - - func on(_ event: Event) { - forwardOn(event) - - switch event { - case .next: - break - case .error: - dispose() - case .completed: - dispose() - } - } -} - -final fileprivate class Deferred : Producer { - typealias Factory = () throws -> S - - private let _observableFactory : Factory - - init(observableFactory: @escaping Factory) { - _observableFactory = observableFactory - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == S.E { - let sink = DeferredSink(observableFactory: _observableFactory, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Delay.swift b/Example/Pods/RxSwift/RxSwift/Observables/Delay.swift deleted file mode 100644 index 13955a3..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Delay.swift +++ /dev/null @@ -1,181 +0,0 @@ -// -// Delay.swift -// RxSwift -// -// Created by tarunon on 2016/02/09. -// Copyright © 2016 Krunoslav Zaher. All rights reserved. -// - -import struct Foundation.Date - -extension ObservableType { - - /** - Returns an observable sequence by the source observable sequence shifted forward in time by a specified delay. Error events from the source observable sequence are not delayed. - - - seealso: [delay operator on reactivex.io](http://reactivex.io/documentation/operators/delay.html) - - - parameter dueTime: Relative time shift of the source by. - - parameter scheduler: Scheduler to run the subscription delay timer on. - - returns: the source Observable shifted in time by the specified delay. - */ - public func delay(_ dueTime: RxTimeInterval, scheduler: SchedulerType) - -> Observable { - return Delay(source: self.asObservable(), dueTime: dueTime, scheduler: scheduler) - } -} - -final fileprivate class DelaySink - : Sink - , ObserverType { - typealias E = O.E - typealias Source = Observable - typealias DisposeKey = Bag.KeyType - - private let _lock = RecursiveLock() - - private let _dueTime: RxTimeInterval - private let _scheduler: SchedulerType - - private let _sourceSubscription = SingleAssignmentDisposable() - private let _cancelable = SerialDisposable() - - // is scheduled some action - private var _active = false - // is "run loop" on different scheduler running - private var _running = false - private var _errorEvent: Event? = nil - - // state - private var _queue = Queue<(eventTime: RxTime, event: Event)>(capacity: 0) - private var _disposed = false - - init(observer: O, dueTime: RxTimeInterval, scheduler: SchedulerType, cancel: Cancelable) { - _dueTime = dueTime - _scheduler = scheduler - super.init(observer: observer, cancel: cancel) - } - - // All of these complications in this method are caused by the fact that - // error should be propagated immediately. Error can be potentially received on different - // scheduler so this process needs to be synchronized somehow. - // - // Another complication is that scheduler is potentially concurrent so internal queue is used. - func drainQueue(state: (), scheduler: AnyRecursiveScheduler<()>) { - - _lock.lock() // { - let hasFailed = _errorEvent != nil - if !hasFailed { - _running = true - } - _lock.unlock() // } - - if hasFailed { - return - } - - var ranAtLeastOnce = false - - while true { - _lock.lock() // { - let errorEvent = _errorEvent - - let eventToForwardImmediately = ranAtLeastOnce ? nil : _queue.dequeue()?.event - let nextEventToScheduleOriginalTime: Date? = ranAtLeastOnce && !_queue.isEmpty ? _queue.peek().eventTime : nil - - if let _ = errorEvent { - } - else { - if let _ = eventToForwardImmediately { - } - else if let _ = nextEventToScheduleOriginalTime { - _running = false - } - else { - _running = false - _active = false - } - } - _lock.unlock() // { - - if let errorEvent = errorEvent { - self.forwardOn(errorEvent) - self.dispose() - return - } - else { - if let eventToForwardImmediately = eventToForwardImmediately { - ranAtLeastOnce = true - self.forwardOn(eventToForwardImmediately) - if case .completed = eventToForwardImmediately { - self.dispose() - return - } - } - else if let nextEventToScheduleOriginalTime = nextEventToScheduleOriginalTime { - let elapsedTime = _scheduler.now.timeIntervalSince(nextEventToScheduleOriginalTime) - let interval = _dueTime - elapsedTime - let normalizedInterval = interval < 0.0 ? 0.0 : interval - scheduler.schedule((), dueTime: normalizedInterval) - return - } - else { - return - } - } - } - } - - func on(_ event: Event) { - if event.isStopEvent { - _sourceSubscription.dispose() - } - - switch event { - case .error(_): - _lock.lock() // { - let shouldSendImmediately = !_running - _queue = Queue(capacity: 0) - _errorEvent = event - _lock.unlock() // } - - if shouldSendImmediately { - forwardOn(event) - dispose() - } - default: - _lock.lock() // { - let shouldSchedule = !_active - _active = true - _queue.enqueue((_scheduler.now, event)) - _lock.unlock() // } - - if shouldSchedule { - _cancelable.disposable = _scheduler.scheduleRecursive((), dueTime: _dueTime, action: self.drainQueue) - } - } - } - - func run(source: Observable) -> Disposable { - _sourceSubscription.setDisposable(source.subscribe(self)) - return Disposables.create(_sourceSubscription, _cancelable) - } -} - -final fileprivate class Delay: Producer { - private let _source: Observable - private let _dueTime: RxTimeInterval - private let _scheduler: SchedulerType - - init(source: Observable, dueTime: RxTimeInterval, scheduler: SchedulerType) { - _source = source - _dueTime = dueTime - _scheduler = scheduler - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = DelaySink(observer: observer, dueTime: _dueTime, scheduler: _scheduler, cancel: cancel) - let subscription = sink.run(source: _source) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift b/Example/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift deleted file mode 100644 index 9225a19..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift +++ /dev/null @@ -1,66 +0,0 @@ -// -// DelaySubscription.swift -// RxSwift -// -// Created by Krunoslav Zaher on 6/14/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Time shifts the observable sequence by delaying the subscription with the specified relative time duration, using the specified scheduler to run timers. - - - seealso: [delay operator on reactivex.io](http://reactivex.io/documentation/operators/delay.html) - - - parameter dueTime: Relative time shift of the subscription. - - parameter scheduler: Scheduler to run the subscription delay timer on. - - returns: Time-shifted sequence. - */ - public func delaySubscription(_ dueTime: RxTimeInterval, scheduler: SchedulerType) - -> Observable { - return DelaySubscription(source: self.asObservable(), dueTime: dueTime, scheduler: scheduler) - } -} - -final fileprivate class DelaySubscriptionSink - : Sink, ObserverType { - typealias E = O.E - typealias Parent = DelaySubscription - - private let _parent: Parent - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - forwardOn(event) - if event.isStopEvent { - dispose() - } - } - -} - -final fileprivate class DelaySubscription: Producer { - private let _source: Observable - private let _dueTime: RxTimeInterval - private let _scheduler: SchedulerType - - init(source: Observable, dueTime: RxTimeInterval, scheduler: SchedulerType) { - _source = source - _dueTime = dueTime - _scheduler = scheduler - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = DelaySubscriptionSink(parent: self, observer: observer, cancel: cancel) - let subscription = _scheduler.scheduleRelative((), dueTime: _dueTime) { _ in - return self._source.subscribe(sink) - } - - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift b/Example/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift deleted file mode 100644 index d142249..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift +++ /dev/null @@ -1,51 +0,0 @@ -// -// Dematerialize.swift -// RxSwift -// -// Created by Jamie Pinkham on 3/13/17. -// Copyright © 2017 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType where E: EventConvertible { - /** - Convert any previously materialized Observable into it's original form. - - seealso: [materialize operator on reactivex.io](http://reactivex.io/documentation/operators/materialize-dematerialize.html) - - returns: The dematerialized observable sequence. - */ - public func dematerialize() -> Observable { - return Dematerialize(source: self.asObservable()) - } - -} - -fileprivate final class DematerializeSink: Sink, ObserverType where O.E == Element.ElementType { - fileprivate func on(_ event: Event) { - switch event { - case .next(let element): - forwardOn(element.event) - if element.event.isStopEvent { - dispose() - } - case .completed: - forwardOn(.completed) - dispose() - case .error(let error): - forwardOn(.error(error)) - dispose() - } - } -} - -final fileprivate class Dematerialize: Producer { - private let _source: Observable - - init(source: Observable) { - _source = source - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element.ElementType { - let sink = DematerializeSink(observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift b/Example/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift deleted file mode 100644 index f72f520..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift +++ /dev/null @@ -1,125 +0,0 @@ -// -// DistinctUntilChanged.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/15/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType where E: Equatable { - - /** - Returns an observable sequence that contains only distinct contiguous elements according to equality operator. - - - seealso: [distinct operator on reactivex.io](http://reactivex.io/documentation/operators/distinct.html) - - - returns: An observable sequence only containing the distinct contiguous elements, based on equality operator, from the source sequence. - */ - public func distinctUntilChanged() - -> Observable { - return self.distinctUntilChanged({ $0 }, comparer: { ($0 == $1) }) - } -} - -extension ObservableType { - /** - Returns an observable sequence that contains only distinct contiguous elements according to the `keySelector`. - - - seealso: [distinct operator on reactivex.io](http://reactivex.io/documentation/operators/distinct.html) - - - parameter keySelector: A function to compute the comparison key for each element. - - returns: An observable sequence only containing the distinct contiguous elements, based on a computed key value, from the source sequence. - */ - public func distinctUntilChanged(_ keySelector: @escaping (E) throws -> K) - -> Observable { - return self.distinctUntilChanged(keySelector, comparer: { $0 == $1 }) - } - - /** - Returns an observable sequence that contains only distinct contiguous elements according to the `comparer`. - - - seealso: [distinct operator on reactivex.io](http://reactivex.io/documentation/operators/distinct.html) - - - parameter comparer: Equality comparer for computed key values. - - returns: An observable sequence only containing the distinct contiguous elements, based on `comparer`, from the source sequence. - */ - public func distinctUntilChanged(_ comparer: @escaping (E, E) throws -> Bool) - -> Observable { - return self.distinctUntilChanged({ $0 }, comparer: comparer) - } - - /** - Returns an observable sequence that contains only distinct contiguous elements according to the keySelector and the comparer. - - - seealso: [distinct operator on reactivex.io](http://reactivex.io/documentation/operators/distinct.html) - - - parameter keySelector: A function to compute the comparison key for each element. - - parameter comparer: Equality comparer for computed key values. - - returns: An observable sequence only containing the distinct contiguous elements, based on a computed key value and the comparer, from the source sequence. - */ - public func distinctUntilChanged(_ keySelector: @escaping (E) throws -> K, comparer: @escaping (K, K) throws -> Bool) - -> Observable { - return DistinctUntilChanged(source: self.asObservable(), selector: keySelector, comparer: comparer) - } -} - -final fileprivate class DistinctUntilChangedSink: Sink, ObserverType { - typealias E = O.E - - private let _parent: DistinctUntilChanged - private var _currentKey: Key? = nil - - init(parent: DistinctUntilChanged, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - switch event { - case .next(let value): - do { - let key = try _parent._selector(value) - var areEqual = false - if let currentKey = _currentKey { - areEqual = try _parent._comparer(currentKey, key) - } - - if areEqual { - return - } - - _currentKey = key - - forwardOn(event) - } - catch let error { - forwardOn(.error(error)) - dispose() - } - case .error, .completed: - forwardOn(event) - dispose() - } - } -} - -final fileprivate class DistinctUntilChanged: Producer { - typealias KeySelector = (Element) throws -> Key - typealias EqualityComparer = (Key, Key) throws -> Bool - - fileprivate let _source: Observable - fileprivate let _selector: KeySelector - fileprivate let _comparer: EqualityComparer - - init(source: Observable, selector: @escaping KeySelector, comparer: @escaping EqualityComparer) { - _source = source - _selector = selector - _comparer = comparer - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = DistinctUntilChangedSink(parent: self, observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Do.swift b/Example/Pods/RxSwift/RxSwift/Observables/Do.swift deleted file mode 100644 index 2be6d58..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Do.swift +++ /dev/null @@ -1,93 +0,0 @@ -// -// Do.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/21/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - /** - Invokes an action for each event in the observable sequence, and propagates all observer messages through the result sequence. - - - seealso: [do operator on reactivex.io](http://reactivex.io/documentation/operators/do.html) - - - parameter onNext: Action to invoke for each element in the observable sequence. - - parameter onError: Action to invoke upon errored termination of the observable sequence. - - parameter onCompleted: Action to invoke upon graceful termination of the observable sequence. - - parameter onSubscribe: Action to invoke before subscribing to source observable sequence. - - parameter onSubscribed: Action to invoke after subscribing to source observable sequence. - - parameter onDispose: Action to invoke after subscription to source observable has been disposed for any reason. It can be either because sequence terminates for some reason or observer subscription being disposed. - - returns: The source sequence with the side-effecting behavior applied. - */ - public func `do`(onNext: ((E) throws -> Void)? = nil, onError: ((Swift.Error) throws -> Void)? = nil, onCompleted: (() throws -> Void)? = nil, onSubscribe: (() -> ())? = nil, onSubscribed: (() -> ())? = nil, onDispose: (() -> ())? = nil) - -> Observable { - return Do(source: self.asObservable(), eventHandler: { e in - switch e { - case .next(let element): - try onNext?(element) - case .error(let e): - try onError?(e) - case .completed: - try onCompleted?() - } - }, onSubscribe: onSubscribe, onSubscribed: onSubscribed, onDispose: onDispose) - } -} - -final fileprivate class DoSink : Sink, ObserverType { - typealias Element = O.E - typealias EventHandler = (Event) throws -> Void - - private let _eventHandler: EventHandler - - init(eventHandler: @escaping EventHandler, observer: O, cancel: Cancelable) { - _eventHandler = eventHandler - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - do { - try _eventHandler(event) - forwardOn(event) - if event.isStopEvent { - dispose() - } - } - catch let error { - forwardOn(.error(error)) - dispose() - } - } -} - -final fileprivate class Do : Producer { - typealias EventHandler = (Event) throws -> Void - - fileprivate let _source: Observable - fileprivate let _eventHandler: EventHandler - fileprivate let _onSubscribe: (() -> ())? - fileprivate let _onSubscribed: (() -> ())? - fileprivate let _onDispose: (() -> ())? - - init(source: Observable, eventHandler: @escaping EventHandler, onSubscribe: (() -> ())?, onSubscribed: (() -> ())?, onDispose: (() -> ())?) { - _source = source - _eventHandler = eventHandler - _onSubscribe = onSubscribe - _onSubscribed = onSubscribed - _onDispose = onDispose - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - _onSubscribe?() - let sink = DoSink(eventHandler: _eventHandler, observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - _onSubscribed?() - let onDispose = _onDispose - let allSubscriptions = Disposables.create { - subscription.dispose() - onDispose?() - } - return (sink: sink, subscription: allSubscriptions) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/ElementAt.swift b/Example/Pods/RxSwift/RxSwift/Observables/ElementAt.swift deleted file mode 100644 index 500a044..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/ElementAt.swift +++ /dev/null @@ -1,93 +0,0 @@ -// -// ElementAt.swift -// RxSwift -// -// Created by Junior B. on 21/10/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Returns a sequence emitting only element _n_ emitted by an Observable - - - seealso: [elementAt operator on reactivex.io](http://reactivex.io/documentation/operators/elementat.html) - - - parameter index: The index of the required element (starting from 0). - - returns: An observable sequence that emits the desired element as its own sole emission. - */ - public func elementAt(_ index: Int) - -> Observable { - return ElementAt(source: asObservable(), index: index, throwOnEmpty: true) - } -} - -final fileprivate class ElementAtSink : Sink, ObserverType { - typealias SourceType = O.E - typealias Parent = ElementAt - - let _parent: Parent - var _i: Int - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - _i = parent._index - - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - switch event { - case .next(_): - - if (_i == 0) { - forwardOn(event) - forwardOn(.completed) - self.dispose() - } - - do { - let _ = try decrementChecked(&_i) - } catch(let e) { - forwardOn(.error(e)) - dispose() - return - } - - case .error(let e): - forwardOn(.error(e)) - self.dispose() - case .completed: - if (_parent._throwOnEmpty) { - forwardOn(.error(RxError.argumentOutOfRange)) - } else { - forwardOn(.completed) - } - - self.dispose() - } - } -} - -final fileprivate class ElementAt : Producer { - - let _source: Observable - let _throwOnEmpty: Bool - let _index: Int - - init(source: Observable, index: Int, throwOnEmpty: Bool) { - if index < 0 { - rxFatalError("index can't be negative") - } - - self._source = source - self._index = index - self._throwOnEmpty = throwOnEmpty - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == SourceType { - let sink = ElementAtSink(parent: self, observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Empty.swift b/Example/Pods/RxSwift/RxSwift/Observables/Empty.swift deleted file mode 100644 index d2dcdb0..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Empty.swift +++ /dev/null @@ -1,27 +0,0 @@ -// -// Empty.swift -// RxSwift -// -// Created by Krunoslav Zaher on 8/30/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - /** - Returns an empty observable sequence, using the specified scheduler to send out the single `Completed` message. - - - seealso: [empty operator on reactivex.io](http://reactivex.io/documentation/operators/empty-never-throw.html) - - - returns: An observable sequence with no elements. - */ - public static func empty() -> Observable { - return EmptyProducer() - } -} - -final fileprivate class EmptyProducer : Producer { - override func subscribe(_ observer: O) -> Disposable where O.E == Element { - observer.on(.completed) - return Disposables.create() - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Enumerated.swift b/Example/Pods/RxSwift/RxSwift/Observables/Enumerated.swift deleted file mode 100644 index 2a6cd98..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Enumerated.swift +++ /dev/null @@ -1,62 +0,0 @@ -// -// Enumerated.swift -// RxSwift -// -// Created by Krunoslav Zaher on 8/6/17. -// Copyright © 2017 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Enumerates the elements of an observable sequence. - - - seealso: [map operator on reactivex.io](http://reactivex.io/documentation/operators/map.html) - - - returns: An observable sequence that contains tuples of source sequence elements and their indexes. - */ - public func enumerated() - -> Observable<(index: Int, element: E)> { - return Enumerated(source: self.asObservable()) - } -} - -final fileprivate class EnumeratedSink: Sink, ObserverType where O.E == (index: Int, element: Element) { - typealias E = Element - var index = 0 - - func on(_ event: Event) { - switch event { - case .next(let value): - do { - let nextIndex = try incrementChecked(&index) - let next = (index: nextIndex, element: value) - forwardOn(.next(next)) - } - catch let e { - forwardOn(.error(e)) - dispose() - } - case .completed: - forwardOn(.completed) - dispose() - case .error(let error): - forwardOn(.error(error)) - dispose() - } - } -} - -final fileprivate class Enumerated : Producer<(index: Int, element: Element)> { - private let _source: Observable - - init(source: Observable) { - _source = source - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == (index: Int, element: Element) { - let sink = EnumeratedSink(observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Error.swift b/Example/Pods/RxSwift/RxSwift/Observables/Error.swift deleted file mode 100644 index a15942b..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Error.swift +++ /dev/null @@ -1,33 +0,0 @@ -// -// Error.swift -// RxSwift -// -// Created by Krunoslav Zaher on 8/30/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - /** - Returns an observable sequence that terminates with an `error`. - - - seealso: [throw operator on reactivex.io](http://reactivex.io/documentation/operators/empty-never-throw.html) - - - returns: The observable sequence that terminates with specified error. - */ - public static func error(_ error: Swift.Error) -> Observable { - return ErrorProducer(error: error) - } -} - -final fileprivate class ErrorProducer : Producer { - private let _error: Swift.Error - - init(error: Swift.Error) { - _error = error - } - - override func subscribe(_ observer: O) -> Disposable where O.E == Element { - observer.on(.error(_error)) - return Disposables.create() - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Filter.swift b/Example/Pods/RxSwift/RxSwift/Observables/Filter.swift deleted file mode 100644 index 05dc8a4..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Filter.swift +++ /dev/null @@ -1,90 +0,0 @@ -// -// Filter.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/17/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Filters the elements of an observable sequence based on a predicate. - - - seealso: [filter operator on reactivex.io](http://reactivex.io/documentation/operators/filter.html) - - - parameter predicate: A function to test each source element for a condition. - - returns: An observable sequence that contains elements from the input sequence that satisfy the condition. - */ - public func filter(_ predicate: @escaping (E) throws -> Bool) - -> Observable { - return Filter(source: asObservable(), predicate: predicate) - } -} - -extension ObservableType { - - /** - Skips elements and completes (or errors) when the observable sequence completes (or errors). Equivalent to filter that always returns false. - - - seealso: [ignoreElements operator on reactivex.io](http://reactivex.io/documentation/operators/ignoreelements.html) - - - returns: An observable sequence that skips all elements of the source sequence. - */ - public func ignoreElements() - -> Completable { - return flatMap { _ in - return Observable.empty() - } - .asCompletable() - } -} - -final fileprivate class FilterSink: Sink, ObserverType { - typealias Predicate = (Element) throws -> Bool - typealias Element = O.E - - private let _predicate: Predicate - - init(predicate: @escaping Predicate, observer: O, cancel: Cancelable) { - _predicate = predicate - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - switch event { - case .next(let value): - do { - let satisfies = try _predicate(value) - if satisfies { - forwardOn(.next(value)) - } - } - catch let e { - forwardOn(.error(e)) - dispose() - } - case .completed, .error: - forwardOn(event) - dispose() - } - } -} - -final fileprivate class Filter : Producer { - typealias Predicate = (Element) throws -> Bool - - private let _source: Observable - private let _predicate: Predicate - - init(source: Observable, predicate: @escaping Predicate) { - _source = source - _predicate = predicate - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = FilterSink(predicate: _predicate, observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/First.swift b/Example/Pods/RxSwift/RxSwift/Observables/First.swift deleted file mode 100644 index 4a72ba0..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/First.swift +++ /dev/null @@ -1,42 +0,0 @@ -// -// First.swift -// RxSwift -// -// Created by Krunoslav Zaher on 7/31/17. -// Copyright © 2017 Krunoslav Zaher. All rights reserved. -// - -fileprivate final class FirstSink : Sink, ObserverType where O.E == Element? { - typealias E = Element - typealias Parent = First - - func on(_ event: Event) { - switch event { - case .next(let value): - forwardOn(.next(value)) - forwardOn(.completed) - dispose() - case .error(let error): - forwardOn(.error(error)) - dispose() - case .completed: - forwardOn(.next(nil)) - forwardOn(.completed) - dispose() - } - } -} - -final class First: Producer { - fileprivate let _source: Observable - - init(source: Observable) { - _source = source - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element? { - let sink = FirstSink(observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Generate.swift b/Example/Pods/RxSwift/RxSwift/Observables/Generate.swift deleted file mode 100644 index 6469937..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Generate.swift +++ /dev/null @@ -1,87 +0,0 @@ -// -// Generate.swift -// RxSwift -// -// Created by Krunoslav Zaher on 9/2/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - /** - Generates an observable sequence by running a state-driven loop producing the sequence's elements, using the specified scheduler - to run the loop send out observer messages. - - - seealso: [create operator on reactivex.io](http://reactivex.io/documentation/operators/create.html) - - - parameter initialState: Initial state. - - parameter condition: Condition to terminate generation (upon returning `false`). - - parameter iterate: Iteration step function. - - parameter scheduler: Scheduler on which to run the generator loop. - - returns: The generated sequence. - */ - public static func generate(initialState: E, condition: @escaping (E) throws -> Bool, scheduler: ImmediateSchedulerType = CurrentThreadScheduler.instance, iterate: @escaping (E) throws -> E) -> Observable { - return Generate(initialState: initialState, condition: condition, iterate: iterate, resultSelector: { $0 }, scheduler: scheduler) - } -} - -final fileprivate class GenerateSink : Sink { - typealias Parent = Generate - - private let _parent: Parent - - private var _state: S - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - _state = parent._initialState - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - return _parent._scheduler.scheduleRecursive(true) { (isFirst, recurse) -> Void in - do { - if !isFirst { - self._state = try self._parent._iterate(self._state) - } - - if try self._parent._condition(self._state) { - let result = try self._parent._resultSelector(self._state) - self.forwardOn(.next(result)) - - recurse(false) - } - else { - self.forwardOn(.completed) - self.dispose() - } - } - catch let error { - self.forwardOn(.error(error)) - self.dispose() - } - } - } -} - -final fileprivate class Generate : Producer { - fileprivate let _initialState: S - fileprivate let _condition: (S) throws -> Bool - fileprivate let _iterate: (S) throws -> S - fileprivate let _resultSelector: (S) throws -> E - fileprivate let _scheduler: ImmediateSchedulerType - - init(initialState: S, condition: @escaping (S) throws -> Bool, iterate: @escaping (S) throws -> S, resultSelector: @escaping (S) throws -> E, scheduler: ImmediateSchedulerType) { - _initialState = initialState - _condition = condition - _iterate = iterate - _resultSelector = resultSelector - _scheduler = scheduler - super.init() - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E { - let sink = GenerateSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/GroupBy.swift b/Example/Pods/RxSwift/RxSwift/Observables/GroupBy.swift deleted file mode 100644 index a8a0e78..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/GroupBy.swift +++ /dev/null @@ -1,134 +0,0 @@ -// -// GroupBy.swift -// RxSwift -// -// Created by Tomi Koskinen on 01/12/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - /* - Groups the elements of an observable sequence according to a specified key selector function. - - - seealso: [groupBy operator on reactivex.io](http://reactivex.io/documentation/operators/groupby.html) - - - parameter keySelector: A function to extract the key for each element. - - returns: A sequence of observable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. - */ - public func groupBy(keySelector: @escaping (E) throws -> K) - -> Observable> { - return GroupBy(source: self.asObservable(), selector: keySelector) - } -} - -final fileprivate class GroupedObservableImpl : Observable { - private var _subject: PublishSubject - private var _refCount: RefCountDisposable - - init(key: Key, subject: PublishSubject, refCount: RefCountDisposable) { - _subject = subject - _refCount = refCount - } - - override public func subscribe(_ observer: O) -> Disposable where O.E == E { - let release = _refCount.retain() - let subscription = _subject.subscribe(observer) - return Disposables.create(release, subscription) - } -} - - -final fileprivate class GroupBySink - : Sink - , ObserverType where O.E == GroupedObservable { - typealias E = Element - typealias ResultType = O.E - typealias Parent = GroupBy - - private let _parent: Parent - private let _subscription = SingleAssignmentDisposable() - private var _refCountDisposable: RefCountDisposable! - private var _groupedSubjectTable: [Key: PublishSubject] - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - _groupedSubjectTable = [Key: PublishSubject]() - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - _refCountDisposable = RefCountDisposable(disposable: _subscription) - - _subscription.setDisposable(_parent._source.subscribe(self)) - - return _refCountDisposable - } - - private func onGroupEvent(key: Key, value: Element) { - if let writer = _groupedSubjectTable[key] { - writer.on(.next(value)) - } else { - let writer = PublishSubject() - _groupedSubjectTable[key] = writer - - let group = GroupedObservable( - key: key, - source: GroupedObservableImpl(key: key, subject: writer, refCount: _refCountDisposable) - ) - - forwardOn(.next(group)) - writer.on(.next(value)) - } - } - - final func on(_ event: Event) { - switch event { - case let .next(value): - do { - let groupKey = try _parent._selector(value) - onGroupEvent(key: groupKey, value: value) - } - catch let e { - error(e) - return - } - case let .error(e): - error(e) - case .completed: - forwardOnGroups(event: .completed) - forwardOn(.completed) - _subscription.dispose() - dispose() - } - } - - final func error(_ error: Swift.Error) { - forwardOnGroups(event: .error(error)) - forwardOn(.error(error)) - _subscription.dispose() - dispose() - } - - final func forwardOnGroups(event: Event) { - for writer in _groupedSubjectTable.values { - writer.on(event) - } - } -} - -final fileprivate class GroupBy: Producer> { - typealias KeySelector = (Element) throws -> Key - - fileprivate let _source: Observable - fileprivate let _selector: KeySelector - - init(source: Observable, selector: @escaping KeySelector) { - _source = source - _selector = selector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == GroupedObservable { - let sink = GroupBySink(parent: self, observer: observer, cancel: cancel) - return (sink: sink, subscription: sink.run()) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Just.swift b/Example/Pods/RxSwift/RxSwift/Observables/Just.swift deleted file mode 100644 index 4e49059..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Just.swift +++ /dev/null @@ -1,87 +0,0 @@ -// -// Just.swift -// RxSwift -// -// Created by Krunoslav Zaher on 8/30/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - /** - Returns an observable sequence that contains a single element. - - - seealso: [just operator on reactivex.io](http://reactivex.io/documentation/operators/just.html) - - - parameter element: Single element in the resulting observable sequence. - - returns: An observable sequence containing the single specified element. - */ - public static func just(_ element: E) -> Observable { - return Just(element: element) - } - - /** - Returns an observable sequence that contains a single element. - - - seealso: [just operator on reactivex.io](http://reactivex.io/documentation/operators/just.html) - - - parameter element: Single element in the resulting observable sequence. - - parameter scheduler: Scheduler to send the single element on. - - returns: An observable sequence containing the single specified element. - */ - public static func just(_ element: E, scheduler: ImmediateSchedulerType) -> Observable { - return JustScheduled(element: element, scheduler: scheduler) - } -} - -final fileprivate class JustScheduledSink : Sink { - typealias Parent = JustScheduled - - private let _parent: Parent - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - let scheduler = _parent._scheduler - return scheduler.schedule(_parent._element) { element in - self.forwardOn(.next(element)) - return scheduler.schedule(()) { _ in - self.forwardOn(.completed) - self.dispose() - return Disposables.create() - } - } - } -} - -final fileprivate class JustScheduled : Producer { - fileprivate let _scheduler: ImmediateSchedulerType - fileprivate let _element: Element - - init(element: Element, scheduler: ImmediateSchedulerType) { - _scheduler = scheduler - _element = element - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E { - let sink = JustScheduledSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - -final fileprivate class Just : Producer { - private let _element: Element - - init(element: Element) { - _element = element - } - - override func subscribe(_ observer: O) -> Disposable where O.E == Element { - observer.on(.next(_element)) - observer.on(.completed) - return Disposables.create() - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Map.swift b/Example/Pods/RxSwift/RxSwift/Observables/Map.swift deleted file mode 100644 index c513218..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Map.swift +++ /dev/null @@ -1,108 +0,0 @@ -// -// Map.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/15/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Projects each element of an observable sequence into a new form. - - - seealso: [map operator on reactivex.io](http://reactivex.io/documentation/operators/map.html) - - - parameter transform: A transform function to apply to each source element. - - returns: An observable sequence whose elements are the result of invoking the transform function on each element of source. - - */ - public func map(_ transform: @escaping (E) throws -> R) - -> Observable { - return self.asObservable().composeMap(transform) - } -} - -final fileprivate class MapSink : Sink, ObserverType { - typealias Transform = (SourceType) throws -> ResultType - - typealias ResultType = O.E - typealias Element = SourceType - - private let _transform: Transform - - init(transform: @escaping Transform, observer: O, cancel: Cancelable) { - _transform = transform - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - switch event { - case .next(let element): - do { - let mappedElement = try _transform(element) - forwardOn(.next(mappedElement)) - } - catch let e { - forwardOn(.error(e)) - dispose() - } - case .error(let error): - forwardOn(.error(error)) - dispose() - case .completed: - forwardOn(.completed) - dispose() - } - } -} - -#if TRACE_RESOURCES - fileprivate var _numberOfMapOperators = AtomicInt(0) - extension Resources { - public static var numberOfMapOperators: Int32 { - return _numberOfMapOperators.load() - } - } -#endif - -internal func _map(source: Observable, transform: @escaping (Element) throws -> R) -> Observable { - return Map(source: source, transform: transform) -} - -final fileprivate class Map: Producer { - typealias Transform = (SourceType) throws -> ResultType - - private let _source: Observable - - private let _transform: Transform - - init(source: Observable, transform: @escaping Transform) { - _source = source - _transform = transform - -#if TRACE_RESOURCES - let _ = _numberOfMapOperators.increment() -#endif - } - - override func composeMap(_ selector: @escaping (ResultType) throws -> R) -> Observable { - let originalSelector = _transform - return Map(source: _source, transform: { (s: SourceType) throws -> R in - let r: ResultType = try originalSelector(s) - return try selector(r) - }) - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == ResultType { - let sink = MapSink(transform: _transform, observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } - - #if TRACE_RESOURCES - deinit { - let _ = _numberOfMapOperators.decrement() - } - #endif -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Materialize.swift b/Example/Pods/RxSwift/RxSwift/Observables/Materialize.swift deleted file mode 100644 index cf19b6d..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Materialize.swift +++ /dev/null @@ -1,44 +0,0 @@ -// -// Materialize.swift -// RxSwift -// -// Created by sergdort on 08/03/2017. -// Copyright © 2017 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - /** - Convert any Observable into an Observable of its events. - - seealso: [materialize operator on reactivex.io](http://reactivex.io/documentation/operators/materialize-dematerialize.html) - - returns: An observable sequence that wraps events in an Event. The returned Observable never errors, but it does complete after observing all of the events of the underlying Observable. - */ - public func materialize() -> Observable> { - return Materialize(source: self.asObservable()) - } -} - -fileprivate final class MaterializeSink: Sink, ObserverType where O.E == Event { - - func on(_ event: Event) { - forwardOn(.next(event)) - if event.isStopEvent { - forwardOn(.completed) - dispose() - } - } -} - -final fileprivate class Materialize: Producer> { - private let _source: Observable - - init(source: Observable) { - _source = source - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E { - let sink = MaterializeSink(observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Merge.swift b/Example/Pods/RxSwift/RxSwift/Observables/Merge.swift deleted file mode 100644 index b2f9a0d..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Merge.swift +++ /dev/null @@ -1,598 +0,0 @@ -// -// Merge.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/28/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Projects each element of an observable sequence to an observable sequence and merges the resulting observable sequences into one observable sequence. - - - seealso: [flatMap operator on reactivex.io](http://reactivex.io/documentation/operators/flatmap.html) - - - parameter selector: A transform function to apply to each element. - - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. - */ - public func flatMap(_ selector: @escaping (E) throws -> O) - -> Observable { - return FlatMap(source: asObservable(), selector: selector) - } - -} - -extension ObservableType { - - /** - Projects each element of an observable sequence to an observable sequence and merges the resulting observable sequences into one observable sequence. - If element is received while there is some projected observable sequence being merged it will simply be ignored. - - - seealso: [flatMapFirst operator on reactivex.io](http://reactivex.io/documentation/operators/flatmap.html) - - - parameter selector: A transform function to apply to element that was observed while no observable is executing in parallel. - - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence that was received while no other sequence was being calculated. - */ - public func flatMapFirst(_ selector: @escaping (E) throws -> O) - -> Observable { - return FlatMapFirst(source: asObservable(), selector: selector) - } -} - -extension ObservableType where E : ObservableConvertibleType { - - /** - Merges elements from all observable sequences in the given enumerable sequence into a single observable sequence. - - - seealso: [merge operator on reactivex.io](http://reactivex.io/documentation/operators/merge.html) - - - returns: The observable sequence that merges the elements of the observable sequences. - */ - public func merge() -> Observable { - return Merge(source: asObservable()) - } - - /** - Merges elements from all inner observable sequences into a single observable sequence, limiting the number of concurrent subscriptions to inner sequences. - - - seealso: [merge operator on reactivex.io](http://reactivex.io/documentation/operators/merge.html) - - - parameter maxConcurrent: Maximum number of inner observable sequences being subscribed to concurrently. - - returns: The observable sequence that merges the elements of the inner sequences. - */ - public func merge(maxConcurrent: Int) - -> Observable { - return MergeLimited(source: asObservable(), maxConcurrent: maxConcurrent) - } -} - -extension ObservableType where E : ObservableConvertibleType { - - /** - Concatenates all inner observable sequences, as long as the previous observable sequence terminated successfully. - - - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html) - - - returns: An observable sequence that contains the elements of each observed inner sequence, in sequential order. - */ - public func concat() -> Observable { - return merge(maxConcurrent: 1) - } -} - -extension ObservableType { - /** - Merges elements from all observable sequences from collection into a single observable sequence. - - - seealso: [merge operator on reactivex.io](http://reactivex.io/documentation/operators/merge.html) - - - parameter sources: Collection of observable sequences to merge. - - returns: The observable sequence that merges the elements of the observable sequences. - */ - public static func merge(_ sources: C) -> Observable where C.Iterator.Element == Observable { - return MergeArray(sources: Array(sources)) - } - - /** - Merges elements from all observable sequences from array into a single observable sequence. - - - seealso: [merge operator on reactivex.io](http://reactivex.io/documentation/operators/merge.html) - - - parameter sources: Array of observable sequences to merge. - - returns: The observable sequence that merges the elements of the observable sequences. - */ - public static func merge(_ sources: [Observable]) -> Observable { - return MergeArray(sources: sources) - } - - /** - Merges elements from all observable sequences into a single observable sequence. - - - seealso: [merge operator on reactivex.io](http://reactivex.io/documentation/operators/merge.html) - - - parameter sources: Collection of observable sequences to merge. - - returns: The observable sequence that merges the elements of the observable sequences. - */ - public static func merge(_ sources: Observable...) -> Observable { - return MergeArray(sources: sources) - } -} - -// MARK: concatMap - -extension ObservableType { - /** - Projects each element of an observable sequence to an observable sequence and concatenates the resulting observable sequences into one observable sequence. - - - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html) - - - returns: An observable sequence that contains the elements of each observed inner sequence, in sequential order. - */ - - public func concatMap(_ selector: @escaping (E) throws -> O) - -> Observable { - return ConcatMap(source: asObservable(), selector: selector) - } -} - -fileprivate final class MergeLimitedSinkIter - : ObserverType - , LockOwnerType - , SynchronizedOnType where SourceSequence.E == Observer.E { - typealias E = Observer.E - typealias DisposeKey = CompositeDisposable.DisposeKey - typealias Parent = MergeLimitedSink - - private let _parent: Parent - private let _disposeKey: DisposeKey - - var _lock: RecursiveLock { - return _parent._lock - } - - init(parent: Parent, disposeKey: DisposeKey) { - _parent = parent - _disposeKey = disposeKey - } - - func on(_ event: Event) { - synchronizedOn(event) - } - - func _synchronized_on(_ event: Event) { - switch event { - case .next: - _parent.forwardOn(event) - case .error: - _parent.forwardOn(event) - _parent.dispose() - case .completed: - _parent._group.remove(for: _disposeKey) - if let next = _parent._queue.dequeue() { - _parent.subscribe(next, group: _parent._group) - } - else { - _parent._activeCount = _parent._activeCount - 1 - - if _parent._stopped && _parent._activeCount == 0 { - _parent.forwardOn(.completed) - _parent.dispose() - } - } - } - } -} - -fileprivate final class ConcatMapSink: MergeLimitedSink where Observer.E == SourceSequence.E { - typealias Selector = (SourceElement) throws -> SourceSequence - - private let _selector: Selector - - init(selector: @escaping Selector, observer: Observer, cancel: Cancelable) { - _selector = selector - super.init(maxConcurrent: 1, observer: observer, cancel: cancel) - } - - override func performMap(_ element: SourceElement) throws -> SourceSequence { - return try _selector(element) - } -} - -fileprivate final class MergeLimitedBasicSink: MergeLimitedSink where Observer.E == SourceSequence.E { - - override func performMap(_ element: SourceSequence) throws -> SourceSequence { - return element - } -} - -fileprivate class MergeLimitedSink - : Sink - , ObserverType where Observer.E == SourceSequence.E { - typealias QueueType = Queue - - let _maxConcurrent: Int - - let _lock = RecursiveLock() - - // state - var _stopped = false - var _activeCount = 0 - var _queue = QueueType(capacity: 2) - - let _sourceSubscription = SingleAssignmentDisposable() - let _group = CompositeDisposable() - - init(maxConcurrent: Int, observer: Observer, cancel: Cancelable) { - _maxConcurrent = maxConcurrent - super.init(observer: observer, cancel: cancel) - } - - func run(_ source: Observable) -> Disposable { - let _ = _group.insert(_sourceSubscription) - - let disposable = source.subscribe(self) - _sourceSubscription.setDisposable(disposable) - return _group - } - - func subscribe(_ innerSource: SourceSequence, group: CompositeDisposable) { - let subscription = SingleAssignmentDisposable() - - let key = group.insert(subscription) - - if let key = key { - let observer = MergeLimitedSinkIter(parent: self, disposeKey: key) - - let disposable = innerSource.asObservable().subscribe(observer) - subscription.setDisposable(disposable) - } - } - - func performMap(_ element: SourceElement) throws -> SourceSequence { - rxAbstractMethod() - } - - @inline(__always) - final private func nextElementArrived(element: SourceElement) -> SourceSequence? { - _lock.lock(); defer { _lock.unlock() } // { - let subscribe: Bool - if _activeCount < _maxConcurrent { - _activeCount += 1 - subscribe = true - } - else { - do { - let value = try performMap(element) - _queue.enqueue(value) - } catch { - forwardOn(.error(error)) - dispose() - } - subscribe = false - } - - if subscribe { - do { - return try performMap(element) - } catch { - forwardOn(.error(error)) - dispose() - } - } - - return nil - // } - } - - func on(_ event: Event) { - switch event { - case .next(let element): - if let sequence = self.nextElementArrived(element: element) { - self.subscribe(sequence, group: _group) - } - case .error(let error): - _lock.lock(); defer { _lock.unlock() } - - forwardOn(.error(error)) - dispose() - case .completed: - _lock.lock(); defer { _lock.unlock() } - - if _activeCount == 0 { - forwardOn(.completed) - dispose() - } - else { - _sourceSubscription.dispose() - } - - _stopped = true - } - } -} - -final fileprivate class MergeLimited : Producer { - private let _source: Observable - private let _maxConcurrent: Int - - init(source: Observable, maxConcurrent: Int) { - _source = source - _maxConcurrent = maxConcurrent - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == SourceSequence.E { - let sink = MergeLimitedBasicSink(maxConcurrent: _maxConcurrent, observer: observer, cancel: cancel) - let subscription = sink.run(_source) - return (sink: sink, subscription: subscription) - } -} - -// MARK: Merge - -fileprivate final class MergeBasicSink : MergeSink where O.E == S.E { - override func performMap(_ element: S) throws -> S { - return element - } -} - -// MARK: flatMap - -fileprivate final class FlatMapSink : MergeSink where Observer.E == SourceSequence.E { - typealias Selector = (SourceElement) throws -> SourceSequence - - private let _selector: Selector - - init(selector: @escaping Selector, observer: Observer, cancel: Cancelable) { - _selector = selector - super.init(observer: observer, cancel: cancel) - } - - override func performMap(_ element: SourceElement) throws -> SourceSequence { - return try _selector(element) - } -} - -// MARK: FlatMapFirst - -fileprivate final class FlatMapFirstSink : MergeSink where Observer.E == SourceSequence.E { - typealias Selector = (SourceElement) throws -> SourceSequence - - private let _selector: Selector - - override var subscribeNext: Bool { - return _activeCount == 0 - } - - init(selector: @escaping Selector, observer: Observer, cancel: Cancelable) { - _selector = selector - super.init(observer: observer, cancel: cancel) - } - - override func performMap(_ element: SourceElement) throws -> SourceSequence { - return try _selector(element) - } -} - -fileprivate final class MergeSinkIter : ObserverType where Observer.E == SourceSequence.E { - typealias Parent = MergeSink - typealias DisposeKey = CompositeDisposable.DisposeKey - typealias E = Observer.E - - private let _parent: Parent - private let _disposeKey: DisposeKey - - init(parent: Parent, disposeKey: DisposeKey) { - _parent = parent - _disposeKey = disposeKey - } - - func on(_ event: Event) { - _parent._lock.lock(); defer { _parent._lock.unlock() } // lock { - switch event { - case .next(let value): - _parent.forwardOn(.next(value)) - case .error(let error): - _parent.forwardOn(.error(error)) - _parent.dispose() - case .completed: - _parent._group.remove(for: _disposeKey) - _parent._activeCount -= 1 - _parent.checkCompleted() - } - // } - } -} - - -fileprivate class MergeSink - : Sink - , ObserverType where Observer.E == SourceSequence.E { - typealias ResultType = Observer.E - typealias Element = SourceElement - - let _lock = RecursiveLock() - - var subscribeNext: Bool { - return true - } - - // state - let _group = CompositeDisposable() - let _sourceSubscription = SingleAssignmentDisposable() - - var _activeCount = 0 - var _stopped = false - - override init(observer: Observer, cancel: Cancelable) { - super.init(observer: observer, cancel: cancel) - } - - func performMap(_ element: SourceElement) throws -> SourceSequence { - rxAbstractMethod() - } - - @inline(__always) - final private func nextElementArrived(element: SourceElement) -> SourceSequence? { - _lock.lock(); defer { _lock.unlock() } // { - if !subscribeNext { - return nil - } - - do { - let value = try performMap(element) - _activeCount += 1 - return value - } - catch let e { - forwardOn(.error(e)) - dispose() - return nil - } - // } - } - - func on(_ event: Event) { - switch event { - case .next(let element): - if let value = nextElementArrived(element: element) { - subscribeInner(value.asObservable()) - } - case .error(let error): - _lock.lock(); defer { _lock.unlock() } - forwardOn(.error(error)) - dispose() - case .completed: - _lock.lock(); defer { _lock.unlock() } - _stopped = true - _sourceSubscription.dispose() - checkCompleted() - } - } - - func subscribeInner(_ source: Observable) { - let iterDisposable = SingleAssignmentDisposable() - if let disposeKey = _group.insert(iterDisposable) { - let iter = MergeSinkIter(parent: self, disposeKey: disposeKey) - let subscription = source.subscribe(iter) - iterDisposable.setDisposable(subscription) - } - } - - func run(_ sources: [Observable]) -> Disposable { - _activeCount += sources.count - - for source in sources { - subscribeInner(source) - } - - _stopped = true - - checkCompleted() - - return _group - } - - @inline(__always) - func checkCompleted() { - if _stopped && _activeCount == 0 { - self.forwardOn(.completed) - self.dispose() - } - } - - func run(_ source: Observable) -> Disposable { - let _ = _group.insert(_sourceSubscription) - - let subscription = source.subscribe(self) - _sourceSubscription.setDisposable(subscription) - - return _group - } -} - -// MARK: Producers - -final fileprivate class FlatMap: Producer { - typealias Selector = (SourceElement) throws -> SourceSequence - - private let _source: Observable - - private let _selector: Selector - - init(source: Observable, selector: @escaping Selector) { - _source = source - _selector = selector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == SourceSequence.E { - let sink = FlatMapSink(selector: _selector, observer: observer, cancel: cancel) - let subscription = sink.run(_source) - return (sink: sink, subscription: subscription) - } -} - -final fileprivate class FlatMapFirst: Producer { - typealias Selector = (SourceElement) throws -> SourceSequence - - private let _source: Observable - - private let _selector: Selector - - init(source: Observable, selector: @escaping Selector) { - _source = source - _selector = selector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == SourceSequence.E { - let sink = FlatMapFirstSink(selector: _selector, observer: observer, cancel: cancel) - let subscription = sink.run(_source) - return (sink: sink, subscription: subscription) - } -} - -final class ConcatMap: Producer { - typealias Selector = (SourceElement) throws -> SourceSequence - - private let _source: Observable - private let _selector: Selector - - init(source: Observable, selector: @escaping Selector) { - _source = source - _selector = selector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == SourceSequence.E { - let sink = ConcatMapSink(selector: _selector, observer: observer, cancel: cancel) - let subscription = sink.run(_source) - return (sink: sink, subscription: subscription) - } -} - -final class Merge : Producer { - private let _source: Observable - - init(source: Observable) { - _source = source - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == SourceSequence.E { - let sink = MergeBasicSink(observer: observer, cancel: cancel) - let subscription = sink.run(_source) - return (sink: sink, subscription: subscription) - } -} - -final fileprivate class MergeArray : Producer { - private let _sources: [Observable] - - init(sources: [Observable]) { - _sources = sources - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E { - let sink = MergeBasicSink, O>(observer: observer, cancel: cancel) - let subscription = sink.run(_sources) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Multicast.swift b/Example/Pods/RxSwift/RxSwift/Observables/Multicast.swift deleted file mode 100644 index a027c4f..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Multicast.swift +++ /dev/null @@ -1,408 +0,0 @@ -// -// Multicast.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/27/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/** - Represents an observable wrapper that can be connected and disconnected from its underlying observable sequence. - */ -public class ConnectableObservable - : Observable - , ConnectableObservableType { - - /** - Connects the observable wrapper to its source. All subscribed observers will receive values from the underlying observable sequence as long as the connection is established. - - - returns: Disposable used to disconnect the observable wrapper from its source, causing subscribed observer to stop receiving values from the underlying observable sequence. - */ - public func connect() -> Disposable { - rxAbstractMethod() - } -} - -extension ObservableType { - - /** - Multicasts the source sequence notifications through an instantiated subject into all uses of the sequence within a selector function. - - Each subscription to the resulting sequence causes a separate multicast invocation, exposing the sequence resulting from the selector function's invocation. - - For specializations with fixed subject types, see `publish` and `replay`. - - - seealso: [multicast operator on reactivex.io](http://reactivex.io/documentation/operators/publish.html) - - - parameter subjectSelector: Factory function to create an intermediate subject through which the source sequence's elements will be multicast to the selector function. - - parameter selector: Selector function which can use the multicasted source sequence subject to the policies enforced by the created subject. - - returns: An observable sequence that contains the elements of a sequence produced by multicasting the source sequence within a selector function. - */ - public func multicast(_ subjectSelector: @escaping () throws -> S, selector: @escaping (Observable) throws -> Observable) - -> Observable where S.SubjectObserverType.E == E { - return Multicast( - source: self.asObservable(), - subjectSelector: subjectSelector, - selector: selector - ) - } -} - -extension ObservableType { - - /** - Returns a connectable observable sequence that shares a single subscription to the underlying sequence. - - This operator is a specialization of `multicast` using a `PublishSubject`. - - - seealso: [publish operator on reactivex.io](http://reactivex.io/documentation/operators/publish.html) - - - returns: A connectable observable sequence that shares a single subscription to the underlying sequence. - */ - public func publish() -> ConnectableObservable { - return self.multicast { PublishSubject() } - } -} - -extension ObservableType { - - /** - Returns a connectable observable sequence that shares a single subscription to the underlying sequence replaying bufferSize elements. - - This operator is a specialization of `multicast` using a `ReplaySubject`. - - - seealso: [replay operator on reactivex.io](http://reactivex.io/documentation/operators/replay.html) - - - parameter bufferSize: Maximum element count of the replay buffer. - - returns: A connectable observable sequence that shares a single subscription to the underlying sequence. - */ - public func replay(_ bufferSize: Int) - -> ConnectableObservable { - return self.multicast { ReplaySubject.create(bufferSize: bufferSize) } - } - - /** - Returns a connectable observable sequence that shares a single subscription to the underlying sequence replaying all elements. - - This operator is a specialization of `multicast` using a `ReplaySubject`. - - - seealso: [replay operator on reactivex.io](http://reactivex.io/documentation/operators/replay.html) - - - returns: A connectable observable sequence that shares a single subscription to the underlying sequence. - */ - public func replayAll() - -> ConnectableObservable { - return self.multicast { ReplaySubject.createUnbounded() } - } -} - -extension ConnectableObservableType { - - /** - Returns an observable sequence that stays connected to the source as long as there is at least one subscription to the observable sequence. - - - seealso: [refCount operator on reactivex.io](http://reactivex.io/documentation/operators/refcount.html) - - - returns: An observable sequence that stays connected to the source as long as there is at least one subscription to the observable sequence. - */ - public func refCount() -> Observable { - return RefCount(source: self) - } -} - -extension ObservableType { - - /** - Multicasts the source sequence notifications through the specified subject to the resulting connectable observable. - - Upon connection of the connectable observable, the subject is subscribed to the source exactly one, and messages are forwarded to the observers registered with the connectable observable. - - For specializations with fixed subject types, see `publish` and `replay`. - - - seealso: [multicast operator on reactivex.io](http://reactivex.io/documentation/operators/publish.html) - - - parameter subject: Subject to push source elements into. - - returns: A connectable observable sequence that upon connection causes the source sequence to push results into the specified subject. - */ - public func multicast(_ subject: S) - -> ConnectableObservable where S.SubjectObserverType.E == E { - return ConnectableObservableAdapter(source: self.asObservable(), makeSubject: { subject }) - } - - /** - Multicasts the source sequence notifications through an instantiated subject to the resulting connectable observable. - - Upon connection of the connectable observable, the subject is subscribed to the source exactly one, and messages are forwarded to the observers registered with the connectable observable. - - Subject is cleared on connection disposal or in case source sequence produces terminal event. - - - seealso: [multicast operator on reactivex.io](http://reactivex.io/documentation/operators/publish.html) - - - parameter makeSubject: Factory function used to instantiate a subject for each connection. - - returns: A connectable observable sequence that upon connection causes the source sequence to push results into the specified subject. - */ - public func multicast(makeSubject: @escaping () -> S) - -> ConnectableObservable where S.SubjectObserverType.E == E { - return ConnectableObservableAdapter(source: self.asObservable(), makeSubject: makeSubject) - } -} - -final fileprivate class Connection : ObserverType, Disposable { - typealias E = S.SubjectObserverType.E - - private var _lock: RecursiveLock - // state - private var _parent: ConnectableObservableAdapter? - private var _subscription : Disposable? - private var _subjectObserver: S.SubjectObserverType - - private var _disposed: Bool = false - - init(parent: ConnectableObservableAdapter, subjectObserver: S.SubjectObserverType, lock: RecursiveLock, subscription: Disposable) { - _parent = parent - _subscription = subscription - _lock = lock - _subjectObserver = subjectObserver - } - - func on(_ event: Event) { - if _disposed { - return - } - if event.isStopEvent { - self.dispose() - } - _subjectObserver.on(event) - } - - func dispose() { - _lock.lock(); defer { _lock.unlock() } // { - _disposed = true - guard let parent = _parent else { - return - } - - if parent._connection === self { - parent._connection = nil - parent._subject = nil - } - _parent = nil - - _subscription?.dispose() - _subscription = nil - // } - } -} - -final fileprivate class ConnectableObservableAdapter - : ConnectableObservable { - typealias ConnectionType = Connection - - fileprivate let _source: Observable - fileprivate let _makeSubject: () -> S - - fileprivate let _lock = RecursiveLock() - fileprivate var _subject: S? - - // state - fileprivate var _connection: ConnectionType? - - init(source: Observable, makeSubject: @escaping () -> S) { - _source = source - _makeSubject = makeSubject - _subject = nil - _connection = nil - } - - override func connect() -> Disposable { - return _lock.calculateLocked { - if let connection = _connection { - return connection - } - - let singleAssignmentDisposable = SingleAssignmentDisposable() - let connection = Connection(parent: self, subjectObserver: self.lazySubject.asObserver(), lock: _lock, subscription: singleAssignmentDisposable) - _connection = connection - let subscription = _source.subscribe(connection) - singleAssignmentDisposable.setDisposable(subscription) - return connection - } - } - - fileprivate var lazySubject: S { - if let subject = self._subject { - return subject - } - - let subject = _makeSubject() - self._subject = subject - return subject - } - - override func subscribe(_ observer: O) -> Disposable where O.E == S.E { - return self.lazySubject.subscribe(observer) - } -} - -final fileprivate class RefCountSink - : Sink - , ObserverType where CO.E == O.E { - typealias Element = O.E - typealias Parent = RefCount - - private let _parent: Parent - - private var _connectionIdSnapshot: Int64 = -1 - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - let subscription = _parent._source.subscribe(self) - _parent._lock.lock(); defer { _parent._lock.unlock() } // { - - _connectionIdSnapshot = _parent._connectionId - - if self.disposed { - return Disposables.create() - } - - if _parent._count == 0 { - _parent._count = 1 - _parent._connectableSubscription = _parent._source.connect() - } - else { - _parent._count = _parent._count + 1 - } - // } - - return Disposables.create { - subscription.dispose() - self._parent._lock.lock(); defer { self._parent._lock.unlock() } // { - if self._parent._connectionId != self._connectionIdSnapshot { - return - } - if self._parent._count == 1 { - self._parent._count = 0 - guard let connectableSubscription = self._parent._connectableSubscription else { - return - } - - connectableSubscription.dispose() - self._parent._connectableSubscription = nil - } - else if self._parent._count > 1 { - self._parent._count = self._parent._count - 1 - } - else { - rxFatalError("Something went wrong with RefCount disposing mechanism") - } - // } - } - } - - func on(_ event: Event) { - switch event { - case .next: - forwardOn(event) - case .error, .completed: - _parent._lock.lock() // { - if _parent._connectionId == self._connectionIdSnapshot { - let connection = _parent._connectableSubscription - defer { connection?.dispose() } - _parent._count = 0 - _parent._connectionId = _parent._connectionId &+ 1 - _parent._connectableSubscription = nil - } - // } - _parent._lock.unlock() - forwardOn(event) - dispose() - } - } -} - -final fileprivate class RefCount: Producer { - fileprivate let _lock = RecursiveLock() - - // state - fileprivate var _count = 0 - fileprivate var _connectionId: Int64 = 0 - fileprivate var _connectableSubscription = nil as Disposable? - - fileprivate let _source: CO - - init(source: CO) { - _source = source - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == CO.E { - let sink = RefCountSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - -final fileprivate class MulticastSink: Sink, ObserverType { - typealias Element = O.E - typealias ResultType = Element - typealias MutlicastType = Multicast - - private let _parent: MutlicastType - - init(parent: MutlicastType, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - do { - let subject = try _parent._subjectSelector() - let connectable = ConnectableObservableAdapter(source: _parent._source, makeSubject: { subject }) - - let observable = try _parent._selector(connectable) - - let subscription = observable.subscribe(self) - let connection = connectable.connect() - - return Disposables.create(subscription, connection) - } - catch let e { - forwardOn(.error(e)) - dispose() - return Disposables.create() - } - } - - func on(_ event: Event) { - forwardOn(event) - switch event { - case .next: break - case .error, .completed: - dispose() - } - } -} - -final fileprivate class Multicast: Producer { - typealias SubjectSelectorType = () throws -> S - typealias SelectorType = (Observable) throws -> Observable - - fileprivate let _source: Observable - fileprivate let _subjectSelector: SubjectSelectorType - fileprivate let _selector: SelectorType - - init(source: Observable, subjectSelector: @escaping SubjectSelectorType, selector: @escaping SelectorType) { - _source = source - _subjectSelector = subjectSelector - _selector = selector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R { - let sink = MulticastSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Never.swift b/Example/Pods/RxSwift/RxSwift/Observables/Never.swift deleted file mode 100644 index d98a7a8..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Never.swift +++ /dev/null @@ -1,27 +0,0 @@ -// -// Never.swift -// RxSwift -// -// Created by Krunoslav Zaher on 8/30/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Returns a non-terminating observable sequence, which can be used to denote an infinite duration. - - - seealso: [never operator on reactivex.io](http://reactivex.io/documentation/operators/empty-never-throw.html) - - - returns: An observable sequence whose observers will never get called. - */ - public static func never() -> Observable { - return NeverProducer() - } -} - -final fileprivate class NeverProducer : Producer { - override func subscribe(_ observer: O) -> Disposable where O.E == Element { - return Disposables.create() - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift b/Example/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift deleted file mode 100644 index 82147a0..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift +++ /dev/null @@ -1,231 +0,0 @@ -// -// ObserveOn.swift -// RxSwift -// -// Created by Krunoslav Zaher on 7/25/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Wraps the source sequence in order to run its observer callbacks on the specified scheduler. - - This only invokes observer callbacks on a `scheduler`. In case the subscription and/or unsubscription - actions have side-effects that require to be run on a scheduler, use `subscribeOn`. - - - seealso: [observeOn operator on reactivex.io](http://reactivex.io/documentation/operators/observeon.html) - - - parameter scheduler: Scheduler to notify observers on. - - returns: The source sequence whose observations happen on the specified scheduler. - */ - public func observeOn(_ scheduler: ImmediateSchedulerType) - -> Observable { - if let scheduler = scheduler as? SerialDispatchQueueScheduler { - return ObserveOnSerialDispatchQueue(source: self.asObservable(), scheduler: scheduler) - } - else { - return ObserveOn(source: self.asObservable(), scheduler: scheduler) - } - } -} - -final fileprivate class ObserveOn : Producer { - let scheduler: ImmediateSchedulerType - let source: Observable - - init(source: Observable, scheduler: ImmediateSchedulerType) { - self.scheduler = scheduler - self.source = source - -#if TRACE_RESOURCES - let _ = Resources.incrementTotal() -#endif - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E { - let sink = ObserveOnSink(scheduler: scheduler, observer: observer, cancel: cancel) - let subscription = source.subscribe(sink) - return (sink: sink, subscription: subscription) - } - -#if TRACE_RESOURCES - deinit { - let _ = Resources.decrementTotal() - } -#endif -} - -enum ObserveOnState : Int32 { - // pump is not running - case stopped = 0 - // pump is running - case running = 1 -} - -final fileprivate class ObserveOnSink : ObserverBase { - typealias E = O.E - - let _scheduler: ImmediateSchedulerType - - var _lock = SpinLock() - let _observer: O - - // state - var _state = ObserveOnState.stopped - var _queue = Queue>(capacity: 10) - - let _scheduleDisposable = SerialDisposable() - let _cancel: Cancelable - - init(scheduler: ImmediateSchedulerType, observer: O, cancel: Cancelable) { - _scheduler = scheduler - _observer = observer - _cancel = cancel - } - - override func onCore(_ event: Event) { - let shouldStart = _lock.calculateLocked { () -> Bool in - self._queue.enqueue(event) - - switch self._state { - case .stopped: - self._state = .running - return true - case .running: - return false - } - } - - if shouldStart { - _scheduleDisposable.disposable = self._scheduler.scheduleRecursive((), action: self.run) - } - } - - func run(_ state: (), _ recurse: (()) -> ()) { - let (nextEvent, observer) = self._lock.calculateLocked { () -> (Event?, O) in - if !self._queue.isEmpty { - return (self._queue.dequeue(), self._observer) - } - else { - self._state = .stopped - return (nil, self._observer) - } - } - - if let nextEvent = nextEvent, !_cancel.isDisposed { - observer.on(nextEvent) - if nextEvent.isStopEvent { - dispose() - } - } - else { - return - } - - let shouldContinue = _shouldContinue_synchronized() - - if shouldContinue { - recurse(()) - } - } - - func _shouldContinue_synchronized() -> Bool { - _lock.lock(); defer { _lock.unlock() } // { - if !self._queue.isEmpty { - return true - } - else { - self._state = .stopped - return false - } - // } - } - - override func dispose() { - super.dispose() - - _cancel.dispose() - _scheduleDisposable.dispose() - } -} - -#if TRACE_RESOURCES - fileprivate var _numberOfSerialDispatchQueueObservables = AtomicInt(0) - extension Resources { - /** - Counts number of `SerialDispatchQueueObservables`. - - Purposed for unit tests. - */ - public static var numberOfSerialDispatchQueueObservables: Int32 { - return _numberOfSerialDispatchQueueObservables.load() - } - } -#endif - -final fileprivate class ObserveOnSerialDispatchQueueSink : ObserverBase { - let scheduler: SerialDispatchQueueScheduler - let observer: O - - let cancel: Cancelable - - var cachedScheduleLambda: (((sink: ObserveOnSerialDispatchQueueSink, event: Event)) -> Disposable)! - - init(scheduler: SerialDispatchQueueScheduler, observer: O, cancel: Cancelable) { - self.scheduler = scheduler - self.observer = observer - self.cancel = cancel - super.init() - - cachedScheduleLambda = { pair in - guard !cancel.isDisposed else { return Disposables.create() } - - pair.sink.observer.on(pair.event) - - if pair.event.isStopEvent { - pair.sink.dispose() - } - - return Disposables.create() - } - } - - override func onCore(_ event: Event) { - let _ = self.scheduler.schedule((self, event), action: cachedScheduleLambda!) - } - - override func dispose() { - super.dispose() - - cancel.dispose() - } -} - -final fileprivate class ObserveOnSerialDispatchQueue : Producer { - let scheduler: SerialDispatchQueueScheduler - let source: Observable - - init(source: Observable, scheduler: SerialDispatchQueueScheduler) { - self.scheduler = scheduler - self.source = source - - #if TRACE_RESOURCES - let _ = Resources.incrementTotal() - let _ = _numberOfSerialDispatchQueueObservables.increment() - #endif - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E { - let sink = ObserveOnSerialDispatchQueueSink(scheduler: scheduler, observer: observer, cancel: cancel) - let subscription = source.subscribe(sink) - return (sink: sink, subscription: subscription) - } - - #if TRACE_RESOURCES - deinit { - let _ = Resources.decrementTotal() - let _ = _numberOfSerialDispatchQueueObservables.decrement() - } - #endif -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Optional.swift b/Example/Pods/RxSwift/RxSwift/Observables/Optional.swift deleted file mode 100644 index 8cd6a16..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Optional.swift +++ /dev/null @@ -1,95 +0,0 @@ -// -// Optional.swift -// RxSwift -// -// Created by tarunon on 2016/12/13. -// Copyright © 2016 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - /** - Converts a optional to an observable sequence. - - - seealso: [from operator on reactivex.io](http://reactivex.io/documentation/operators/from.html) - - - parameter optional: Optional element in the resulting observable sequence. - - returns: An observable sequence containing the wrapped value or not from given optional. - */ - public static func from(optional: E?) -> Observable { - return ObservableOptional(optional: optional) - } - - /** - Converts a optional to an observable sequence. - - - seealso: [from operator on reactivex.io](http://reactivex.io/documentation/operators/from.html) - - - parameter optional: Optional element in the resulting observable sequence. - - parameter scheduler: Scheduler to send the optional element on. - - returns: An observable sequence containing the wrapped value or not from given optional. - */ - public static func from(optional: E?, scheduler: ImmediateSchedulerType) -> Observable { - return ObservableOptionalScheduled(optional: optional, scheduler: scheduler) - } -} - -final fileprivate class ObservableOptionalScheduledSink : Sink { - typealias E = O.E - typealias Parent = ObservableOptionalScheduled - - private let _parent: Parent - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - return _parent._scheduler.schedule(_parent._optional) { (optional: E?) -> Disposable in - if let next = optional { - self.forwardOn(.next(next)) - return self._parent._scheduler.schedule(()) { _ in - self.forwardOn(.completed) - self.dispose() - return Disposables.create() - } - } else { - self.forwardOn(.completed) - self.dispose() - return Disposables.create() - } - } - } -} - -final fileprivate class ObservableOptionalScheduled : Producer { - fileprivate let _optional: E? - fileprivate let _scheduler: ImmediateSchedulerType - - init(optional: E?, scheduler: ImmediateSchedulerType) { - _optional = optional - _scheduler = scheduler - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E { - let sink = ObservableOptionalScheduledSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - -final fileprivate class ObservableOptional: Producer { - private let _optional: E? - - init(optional: E?) { - _optional = optional - } - - override func subscribe(_ observer: O) -> Disposable where O.E == E { - if let element = _optional { - observer.on(.next(element)) - } - observer.on(.completed) - return Disposables.create() - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Producer.swift b/Example/Pods/RxSwift/RxSwift/Observables/Producer.swift deleted file mode 100644 index 2b60fbf..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Producer.swift +++ /dev/null @@ -1,92 +0,0 @@ -// -// Producer.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/20/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -class Producer : Observable { - override init() { - super.init() - } - - override func subscribe(_ observer: O) -> Disposable where O.E == Element { - if !CurrentThreadScheduler.isScheduleRequired { - // The returned disposable needs to release all references once it was disposed. - let disposer = SinkDisposer() - let sinkAndSubscription = run(observer, cancel: disposer) - disposer.setSinkAndSubscription(sink: sinkAndSubscription.sink, subscription: sinkAndSubscription.subscription) - - return disposer - } - else { - return CurrentThreadScheduler.instance.schedule(()) { _ in - let disposer = SinkDisposer() - let sinkAndSubscription = self.run(observer, cancel: disposer) - disposer.setSinkAndSubscription(sink: sinkAndSubscription.sink, subscription: sinkAndSubscription.subscription) - - return disposer - } - } - } - - func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - rxAbstractMethod() - } -} - -fileprivate final class SinkDisposer: Cancelable { - fileprivate enum DisposeState: Int32 { - case disposed = 1 - case sinkAndSubscriptionSet = 2 - } - - private var _state = AtomicInt(0) - private var _sink: Disposable? = nil - private var _subscription: Disposable? = nil - - var isDisposed: Bool { - return _state.isFlagSet(DisposeState.disposed.rawValue) - } - - func setSinkAndSubscription(sink: Disposable, subscription: Disposable) { - _sink = sink - _subscription = subscription - - let previousState = _state.fetchOr(DisposeState.sinkAndSubscriptionSet.rawValue) - if (previousState & DisposeState.sinkAndSubscriptionSet.rawValue) != 0 { - rxFatalError("Sink and subscription were already set") - } - - if (previousState & DisposeState.disposed.rawValue) != 0 { - sink.dispose() - subscription.dispose() - _sink = nil - _subscription = nil - } - } - - func dispose() { - let previousState = _state.fetchOr(DisposeState.disposed.rawValue) - - if (previousState & DisposeState.disposed.rawValue) != 0 { - return - } - - if (previousState & DisposeState.sinkAndSubscriptionSet.rawValue) != 0 { - guard let sink = _sink else { - rxFatalError("Sink not set") - } - guard let subscription = _subscription else { - rxFatalError("Subscription not set") - } - - sink.dispose() - subscription.dispose() - - _sink = nil - _subscription = nil - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Range.swift b/Example/Pods/RxSwift/RxSwift/Observables/Range.swift deleted file mode 100644 index 9b85554..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Range.swift +++ /dev/null @@ -1,73 +0,0 @@ -// -// Range.swift -// RxSwift -// -// Created by Krunoslav Zaher on 9/13/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType where E : RxAbstractInteger { - /** - Generates an observable sequence of integral numbers within a specified range, using the specified scheduler to generate and send out observer messages. - - - seealso: [range operator on reactivex.io](http://reactivex.io/documentation/operators/range.html) - - - parameter start: The value of the first integer in the sequence. - - parameter count: The number of sequential integers to generate. - - parameter scheduler: Scheduler to run the generator loop on. - - returns: An observable sequence that contains a range of sequential integral numbers. - */ - public static func range(start: E, count: E, scheduler: ImmediateSchedulerType = CurrentThreadScheduler.instance) -> Observable { - return RangeProducer(start: start, count: count, scheduler: scheduler) - } -} - -final fileprivate class RangeProducer : Producer { - fileprivate let _start: E - fileprivate let _count: E - fileprivate let _scheduler: ImmediateSchedulerType - - init(start: E, count: E, scheduler: ImmediateSchedulerType) { - if count < 0 { - rxFatalError("count can't be negative") - } - - if start &+ (count - 1) < start { - rxFatalError("overflow of count") - } - - _start = start - _count = count - _scheduler = scheduler - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E { - let sink = RangeSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - -final fileprivate class RangeSink : Sink where O.E: RxAbstractInteger { - typealias Parent = RangeProducer - - private let _parent: Parent - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - return _parent._scheduler.scheduleRecursive(0 as O.E) { i, recurse in - if i < self._parent._count { - self.forwardOn(.next(self._parent._start + i)) - recurse(i + 1) - } - else { - self.forwardOn(.completed) - self.dispose() - } - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Reduce.swift b/Example/Pods/RxSwift/RxSwift/Observables/Reduce.swift deleted file mode 100644 index 3e4a7b9..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Reduce.swift +++ /dev/null @@ -1,109 +0,0 @@ -// -// Reduce.swift -// RxSwift -// -// Created by Krunoslav Zaher on 4/1/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - - -extension ObservableType { - /** - Applies an `accumulator` function over an observable sequence, returning the result of the aggregation as a single element in the result sequence. The specified `seed` value is used as the initial accumulator value. - - For aggregation behavior with incremental intermediate results, see `scan`. - - - seealso: [reduce operator on reactivex.io](http://reactivex.io/documentation/operators/reduce.html) - - - parameter seed: The initial accumulator value. - - parameter accumulator: A accumulator function to be invoked on each element. - - parameter mapResult: A function to transform the final accumulator value into the result value. - - returns: An observable sequence containing a single element with the final accumulator value. - */ - public func reduce(_ seed: A, accumulator: @escaping (A, E) throws -> A, mapResult: @escaping (A) throws -> R) - -> Observable { - return Reduce(source: self.asObservable(), seed: seed, accumulator: accumulator, mapResult: mapResult) - } - - /** - Applies an `accumulator` function over an observable sequence, returning the result of the aggregation as a single element in the result sequence. The specified `seed` value is used as the initial accumulator value. - - For aggregation behavior with incremental intermediate results, see `scan`. - - - seealso: [reduce operator on reactivex.io](http://reactivex.io/documentation/operators/reduce.html) - - - parameter seed: The initial accumulator value. - - parameter accumulator: A accumulator function to be invoked on each element. - - returns: An observable sequence containing a single element with the final accumulator value. - */ - public func reduce(_ seed: A, accumulator: @escaping (A, E) throws -> A) - -> Observable { - return Reduce(source: self.asObservable(), seed: seed, accumulator: accumulator, mapResult: { $0 }) - } -} - -final fileprivate class ReduceSink : Sink, ObserverType { - typealias ResultType = O.E - typealias Parent = Reduce - - private let _parent: Parent - private var _accumulation: AccumulateType - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - _accumulation = parent._seed - - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - switch event { - case .next(let value): - do { - _accumulation = try _parent._accumulator(_accumulation, value) - } - catch let e { - forwardOn(.error(e)) - dispose() - } - case .error(let e): - forwardOn(.error(e)) - dispose() - case .completed: - do { - let result = try _parent._mapResult(_accumulation) - forwardOn(.next(result)) - forwardOn(.completed) - dispose() - } - catch let e { - forwardOn(.error(e)) - dispose() - } - } - } -} - -final fileprivate class Reduce : Producer { - typealias AccumulatorType = (AccumulateType, SourceType) throws -> AccumulateType - typealias ResultSelectorType = (AccumulateType) throws -> ResultType - - fileprivate let _source: Observable - fileprivate let _seed: AccumulateType - fileprivate let _accumulator: AccumulatorType - fileprivate let _mapResult: ResultSelectorType - - init(source: Observable, seed: AccumulateType, accumulator: @escaping AccumulatorType, mapResult: @escaping ResultSelectorType) { - _source = source - _seed = seed - _accumulator = accumulator - _mapResult = mapResult - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == ResultType { - let sink = ReduceSink(parent: self, observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} - diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Repeat.swift b/Example/Pods/RxSwift/RxSwift/Observables/Repeat.swift deleted file mode 100644 index 6892ec1..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Repeat.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// Repeat.swift -// RxSwift -// -// Created by Krunoslav Zaher on 9/13/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - /** - Generates an observable sequence that repeats the given element infinitely, using the specified scheduler to send out observer messages. - - - seealso: [repeat operator on reactivex.io](http://reactivex.io/documentation/operators/repeat.html) - - - parameter element: Element to repeat. - - parameter scheduler: Scheduler to run the producer loop on. - - returns: An observable sequence that repeats the given element infinitely. - */ - public static func repeatElement(_ element: E, scheduler: ImmediateSchedulerType = CurrentThreadScheduler.instance) -> Observable { - return RepeatElement(element: element, scheduler: scheduler) - } -} - -final fileprivate class RepeatElement : Producer { - fileprivate let _element: Element - fileprivate let _scheduler: ImmediateSchedulerType - - init(element: Element, scheduler: ImmediateSchedulerType) { - _element = element - _scheduler = scheduler - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = RepeatElementSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - - return (sink: sink, subscription: subscription) - } -} - -final fileprivate class RepeatElementSink : Sink { - typealias Parent = RepeatElement - - private let _parent: Parent - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - return _parent._scheduler.scheduleRecursive(_parent._element) { e, recurse in - self.forwardOn(.next(e)) - recurse(e) - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift b/Example/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift deleted file mode 100644 index 268b399..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift +++ /dev/null @@ -1,182 +0,0 @@ -// -// RetryWhen.swift -// RxSwift -// -// Created by Junior B. on 06/10/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Repeats the source observable sequence on error when the notifier emits a next value. - If the source observable errors and the notifier completes, it will complete the source sequence. - - - seealso: [retry operator on reactivex.io](http://reactivex.io/documentation/operators/retry.html) - - - parameter notificationHandler: A handler that is passed an observable sequence of errors raised by the source observable and returns and observable that either continues, completes or errors. This behavior is then applied to the source observable. - - returns: An observable sequence producing the elements of the given sequence repeatedly until it terminates successfully or is notified to error or complete. - */ - public func retryWhen(_ notificationHandler: @escaping (Observable) -> TriggerObservable) - -> Observable { - return RetryWhenSequence(sources: InfiniteSequence(repeatedValue: self.asObservable()), notificationHandler: notificationHandler) - } - - /** - Repeats the source observable sequence on error when the notifier emits a next value. - If the source observable errors and the notifier completes, it will complete the source sequence. - - - seealso: [retry operator on reactivex.io](http://reactivex.io/documentation/operators/retry.html) - - - parameter notificationHandler: A handler that is passed an observable sequence of errors raised by the source observable and returns and observable that either continues, completes or errors. This behavior is then applied to the source observable. - - returns: An observable sequence producing the elements of the given sequence repeatedly until it terminates successfully or is notified to error or complete. - */ - public func retryWhen(_ notificationHandler: @escaping (Observable) -> TriggerObservable) - -> Observable { - return RetryWhenSequence(sources: InfiniteSequence(repeatedValue: self.asObservable()), notificationHandler: notificationHandler) - } -} - -final fileprivate class RetryTriggerSink - : ObserverType where S.Iterator.Element : ObservableType, S.Iterator.Element.E == O.E { - typealias E = TriggerObservable.E - - typealias Parent = RetryWhenSequenceSinkIter - - fileprivate let _parent: Parent - - init(parent: Parent) { - _parent = parent - } - - func on(_ event: Event) { - switch event { - case .next: - _parent._parent._lastError = nil - _parent._parent.schedule(.moveNext) - case .error(let e): - _parent._parent.forwardOn(.error(e)) - _parent._parent.dispose() - case .completed: - _parent._parent.forwardOn(.completed) - _parent._parent.dispose() - } - } -} - -final fileprivate class RetryWhenSequenceSinkIter - : ObserverType - , Disposable where S.Iterator.Element : ObservableType, S.Iterator.Element.E == O.E { - typealias E = O.E - typealias Parent = RetryWhenSequenceSink - - fileprivate let _parent: Parent - fileprivate let _errorHandlerSubscription = SingleAssignmentDisposable() - fileprivate let _subscription: Disposable - - init(parent: Parent, subscription: Disposable) { - _parent = parent - _subscription = subscription - } - - func on(_ event: Event) { - switch event { - case .next: - _parent.forwardOn(event) - case .error(let error): - _parent._lastError = error - - if let failedWith = error as? Error { - // dispose current subscription - _subscription.dispose() - - let errorHandlerSubscription = _parent._notifier.subscribe(RetryTriggerSink(parent: self)) - _errorHandlerSubscription.setDisposable(errorHandlerSubscription) - _parent._errorSubject.on(.next(failedWith)) - } - else { - _parent.forwardOn(.error(error)) - _parent.dispose() - } - case .completed: - _parent.forwardOn(event) - _parent.dispose() - } - } - - final func dispose() { - _subscription.dispose() - _errorHandlerSubscription.dispose() - } -} - -final fileprivate class RetryWhenSequenceSink - : TailRecursiveSink where S.Iterator.Element : ObservableType, S.Iterator.Element.E == O.E { - typealias Element = O.E - typealias Parent = RetryWhenSequence - - let _lock = RecursiveLock() - - fileprivate let _parent: Parent - - fileprivate var _lastError: Swift.Error? - fileprivate let _errorSubject = PublishSubject() - fileprivate let _handler: Observable - fileprivate let _notifier = PublishSubject() - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - _handler = parent._notificationHandler(_errorSubject).asObservable() - super.init(observer: observer, cancel: cancel) - } - - override func done() { - if let lastError = _lastError { - forwardOn(.error(lastError)) - _lastError = nil - } - else { - forwardOn(.completed) - } - - dispose() - } - - override func extract(_ observable: Observable) -> SequenceGenerator? { - // It is important to always return `nil` here because there are sideffects in the `run` method - // that are dependant on particular `retryWhen` operator so single operator stack can't be reused in this - // case. - return nil - } - - override func subscribeToNext(_ source: Observable) -> Disposable { - let subscription = SingleAssignmentDisposable() - let iter = RetryWhenSequenceSinkIter(parent: self, subscription: subscription) - subscription.setDisposable(source.subscribe(iter)) - return iter - } - - override func run(_ sources: SequenceGenerator) -> Disposable { - let triggerSubscription = _handler.subscribe(_notifier.asObserver()) - let superSubscription = super.run(sources) - return Disposables.create(superSubscription, triggerSubscription) - } -} - -final fileprivate class RetryWhenSequence : Producer where S.Iterator.Element : ObservableType { - typealias Element = S.Iterator.Element.E - - fileprivate let _sources: S - fileprivate let _notificationHandler: (Observable) -> TriggerObservable - - init(sources: S, notificationHandler: @escaping (Observable) -> TriggerObservable) { - _sources = sources - _notificationHandler = notificationHandler - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = RetryWhenSequenceSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run((self._sources.makeIterator(), nil)) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Sample.swift b/Example/Pods/RxSwift/RxSwift/Observables/Sample.swift deleted file mode 100644 index 31f8b62..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Sample.swift +++ /dev/null @@ -1,142 +0,0 @@ -// -// Sample.swift -// RxSwift -// -// Created by Krunoslav Zaher on 5/1/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Samples the source observable sequence using a sampler observable sequence producing sampling ticks. - - Upon each sampling tick, the latest element (if any) in the source sequence during the last sampling interval is sent to the resulting sequence. - - **In case there were no new elements between sampler ticks, no element is sent to the resulting sequence.** - - - seealso: [sample operator on reactivex.io](http://reactivex.io/documentation/operators/sample.html) - - - parameter sampler: Sampling tick sequence. - - returns: Sampled observable sequence. - */ - public func sample(_ sampler: O) - -> Observable { - return Sample(source: self.asObservable(), sampler: sampler.asObservable()) - } -} - -final fileprivate class SamplerSink - : ObserverType - , LockOwnerType - , SynchronizedOnType { - typealias E = SampleType - - typealias Parent = SampleSequenceSink - - fileprivate let _parent: Parent - - var _lock: RecursiveLock { - return _parent._lock - } - - init(parent: Parent) { - _parent = parent - } - - func on(_ event: Event) { - synchronizedOn(event) - } - - func _synchronized_on(_ event: Event) { - switch event { - case .next: - if let element = _parent._element { - _parent._element = nil - _parent.forwardOn(.next(element)) - } - - if _parent._atEnd { - _parent.forwardOn(.completed) - _parent.dispose() - } - case .error(let e): - _parent.forwardOn(.error(e)) - _parent.dispose() - case .completed: - if let element = _parent._element { - _parent._element = nil - _parent.forwardOn(.next(element)) - } - if _parent._atEnd { - _parent.forwardOn(.completed) - _parent.dispose() - } - } - } -} - -final fileprivate class SampleSequenceSink - : Sink - , ObserverType - , LockOwnerType - , SynchronizedOnType { - typealias Element = O.E - typealias Parent = Sample - - fileprivate let _parent: Parent - - let _lock = RecursiveLock() - - // state - fileprivate var _element = nil as Element? - fileprivate var _atEnd = false - - fileprivate let _sourceSubscription = SingleAssignmentDisposable() - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - _sourceSubscription.setDisposable(_parent._source.subscribe(self)) - let samplerSubscription = _parent._sampler.subscribe(SamplerSink(parent: self)) - - return Disposables.create(_sourceSubscription, samplerSubscription) - } - - func on(_ event: Event) { - synchronizedOn(event) - } - - func _synchronized_on(_ event: Event) { - switch event { - case .next(let element): - _element = element - case .error: - forwardOn(event) - dispose() - case .completed: - _atEnd = true - _sourceSubscription.dispose() - } - } - -} - -final fileprivate class Sample : Producer { - fileprivate let _source: Observable - fileprivate let _sampler: Observable - - init(source: Observable, sampler: Observable) { - _source = source - _sampler = sampler - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = SampleSequenceSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Scan.swift b/Example/Pods/RxSwift/RxSwift/Observables/Scan.swift deleted file mode 100644 index 39d5e92..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Scan.swift +++ /dev/null @@ -1,101 +0,0 @@ -// -// Scan.swift -// RxSwift -// -// Created by Krunoslav Zaher on 6/14/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Applies an accumulator function over an observable sequence and returns each intermediate result. The specified seed value is used as the initial accumulator value. - - For aggregation behavior with no intermediate results, see `reduce`. - - - seealso: [scan operator on reactivex.io](http://reactivex.io/documentation/operators/scan.html) - - - parameter seed: The initial accumulator value. - - parameter accumulator: An accumulator function to be invoked on each element. - - returns: An observable sequence containing the accumulated values. - */ - public func scan(into seed: A, accumulator: @escaping (inout A, E) throws -> ()) - -> Observable { - return Scan(source: self.asObservable(), seed: seed, accumulator: accumulator) - } - - /** - Applies an accumulator function over an observable sequence and returns each intermediate result. The specified seed value is used as the initial accumulator value. - - For aggregation behavior with no intermediate results, see `reduce`. - - - seealso: [scan operator on reactivex.io](http://reactivex.io/documentation/operators/scan.html) - - - parameter seed: The initial accumulator value. - - parameter accumulator: An accumulator function to be invoked on each element. - - returns: An observable sequence containing the accumulated values. - */ - public func scan(_ seed: A, accumulator: @escaping (A, E) throws -> A) - -> Observable { - return Scan(source: self.asObservable(), seed: seed) { acc, element in - let currentAcc = acc - acc = try accumulator(currentAcc, element) - } - } -} - -final fileprivate class ScanSink : Sink, ObserverType { - typealias Accumulate = O.E - typealias Parent = Scan - typealias E = ElementType - - fileprivate let _parent: Parent - fileprivate var _accumulate: Accumulate - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - _accumulate = parent._seed - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - switch event { - case .next(let element): - do { - try _parent._accumulator(&_accumulate, element) - forwardOn(.next(_accumulate)) - } - catch let error { - forwardOn(.error(error)) - dispose() - } - case .error(let error): - forwardOn(.error(error)) - dispose() - case .completed: - forwardOn(.completed) - dispose() - } - } - -} - -final fileprivate class Scan: Producer { - typealias Accumulator = (inout Accumulate, Element) throws -> () - - fileprivate let _source: Observable - fileprivate let _seed: Accumulate - fileprivate let _accumulator: Accumulator - - init(source: Observable, seed: Accumulate, accumulator: @escaping Accumulator) { - _source = source - _seed = seed - _accumulator = accumulator - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Accumulate { - let sink = ScanSink(parent: self, observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Sequence.swift b/Example/Pods/RxSwift/RxSwift/Observables/Sequence.swift deleted file mode 100644 index e141bc7..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Sequence.swift +++ /dev/null @@ -1,89 +0,0 @@ -// -// Sequence.swift -// RxSwift -// -// Created by Krunoslav Zaher on 11/14/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - // MARK: of - - /** - This method creates a new Observable instance with a variable number of elements. - - - seealso: [from operator on reactivex.io](http://reactivex.io/documentation/operators/from.html) - - - parameter elements: Elements to generate. - - parameter scheduler: Scheduler to send elements on. If `nil`, elements are sent immediately on subscription. - - returns: The observable sequence whose elements are pulled from the given arguments. - */ - public static func of(_ elements: E ..., scheduler: ImmediateSchedulerType = CurrentThreadScheduler.instance) -> Observable { - return ObservableSequence(elements: elements, scheduler: scheduler) - } -} - -extension ObservableType { - /** - Converts an array to an observable sequence. - - - seealso: [from operator on reactivex.io](http://reactivex.io/documentation/operators/from.html) - - - returns: The observable sequence whose elements are pulled from the given enumerable sequence. - */ - public static func from(_ array: [E], scheduler: ImmediateSchedulerType = CurrentThreadScheduler.instance) -> Observable { - return ObservableSequence(elements: array, scheduler: scheduler) - } - - /** - Converts a sequence to an observable sequence. - - - seealso: [from operator on reactivex.io](http://reactivex.io/documentation/operators/from.html) - - - returns: The observable sequence whose elements are pulled from the given enumerable sequence. - */ - public static func from(_ sequence: S, scheduler: ImmediateSchedulerType = CurrentThreadScheduler.instance) -> Observable where S.Iterator.Element == E { - return ObservableSequence(elements: sequence, scheduler: scheduler) - } -} - -final fileprivate class ObservableSequenceSink : Sink where S.Iterator.Element == O.E { - typealias Parent = ObservableSequence - - private let _parent: Parent - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - return _parent._scheduler.scheduleRecursive((_parent._elements.makeIterator(), _parent._elements)) { (iterator, recurse) in - var mutableIterator = iterator - if let next = mutableIterator.0.next() { - self.forwardOn(.next(next)) - recurse(mutableIterator) - } - else { - self.forwardOn(.completed) - self.dispose() - } - } - } -} - -final fileprivate class ObservableSequence : Producer { - fileprivate let _elements: S - fileprivate let _scheduler: ImmediateSchedulerType - - init(elements: S, scheduler: ImmediateSchedulerType) { - _elements = elements - _scheduler = scheduler - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E { - let sink = ObservableSequenceSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift b/Example/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift deleted file mode 100644 index 5af102f..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift +++ /dev/null @@ -1,458 +0,0 @@ -// -// ShareReplayScope.swift -// RxSwift -// -// Created by Krunoslav Zaher on 5/28/17. -// Copyright © 2017 Krunoslav Zaher. All rights reserved. -// - -/// Subject lifetime scope -public enum SubjectLifetimeScope { - /** - **Each connection will have it's own subject instance to store replay events.** - **Connections will be isolated from each another.** - - Configures the underlying implementation to behave equivalent to. - - ``` - source.multicast(makeSubject: { MySubject() }).refCount() - ``` - - **This is the recommended default.** - - This has the following consequences: - * `retry` or `concat` operators will function as expected because terminating the sequence will clear internal state. - * Each connection to source observable sequence will use it's own subject. - * When the number of subscribers drops from 1 to 0 and connection to source sequence is disposed, subject will be cleared. - - - ``` - let xs = Observable.deferred { () -> Observable in - print("Performing work ...") - return Observable.just(Date().timeIntervalSince1970) - } - .share(replay: 1, scope: .whileConnected) - - _ = xs.subscribe(onNext: { print("next \($0)") }, onCompleted: { print("completed\n") }) - _ = xs.subscribe(onNext: { print("next \($0)") }, onCompleted: { print("completed\n") }) - _ = xs.subscribe(onNext: { print("next \($0)") }, onCompleted: { print("completed\n") }) - - ``` - - Notice how time interval is different and `Performing work ...` is printed each time) - - ``` - Performing work ... - next 1495998900.82141 - completed - - Performing work ... - next 1495998900.82359 - completed - - Performing work ... - next 1495998900.82444 - completed - - - ``` - - */ - case whileConnected - - /** - **One subject will store replay events for all connections to source.** - **Connections won't be isolated from each another.** - - Configures the underlying implementation behave equivalent to. - - ``` - source.multicast(MySubject()).refCount() - ``` - - This has the following consequences: - * Using `retry` or `concat` operators after this operator usually isn't advised. - * Each connection to source observable sequence will share the same subject. - * After number of subscribers drops from 1 to 0 and connection to source observable sequence is dispose, this operator will - continue holding a reference to the same subject. - If at some later moment a new observer initiates a new connection to source it can potentially receive - some of the stale events received during previous connection. - * After source sequence terminates any new observer will always immediately receive replayed elements and terminal event. - No new subscriptions to source observable sequence will be attempted. - - ``` - let xs = Observable.deferred { () -> Observable in - print("Performing work ...") - return Observable.just(Date().timeIntervalSince1970) - } - .share(replay: 1, scope: .forever) - - _ = xs.subscribe(onNext: { print("next \($0)") }, onCompleted: { print("completed\n") }) - _ = xs.subscribe(onNext: { print("next \($0)") }, onCompleted: { print("completed\n") }) - _ = xs.subscribe(onNext: { print("next \($0)") }, onCompleted: { print("completed\n") }) - ``` - - Notice how time interval is the same, replayed, and `Performing work ...` is printed only once - - ``` - Performing work ... - next 1495999013.76356 - completed - - next 1495999013.76356 - completed - - next 1495999013.76356 - completed - ``` - - */ - case forever -} - -extension ObservableType { - - /** - Returns an observable sequence that **shares a single subscription to the underlying sequence**, and immediately upon subscription replays elements in buffer. - - This operator is equivalent to: - * `.whileConnected` - ``` - // Each connection will have it's own subject instance to store replay events. - // Connections will be isolated from each another. - source.multicast(makeSubject: { Replay.create(bufferSize: replay) }).refCount() - ``` - * `.forever` - ``` - // One subject will store replay events for all connections to source. - // Connections won't be isolated from each another. - source.multicast(Replay.create(bufferSize: replay)).refCount() - ``` - - It uses optimized versions of the operators for most common operations. - - - parameter replay: Maximum element count of the replay buffer. - - parameter scope: Lifetime scope of sharing subject. For more information see `SubjectLifetimeScope` enum. - - - seealso: [shareReplay operator on reactivex.io](http://reactivex.io/documentation/operators/replay.html) - - - returns: An observable sequence that contains the elements of a sequence produced by multicasting the source sequence. - */ - public func share(replay: Int = 0, scope: SubjectLifetimeScope = .whileConnected) - -> Observable { - switch scope { - case .forever: - switch replay { - case 0: return self.multicast(PublishSubject()).refCount() - default: return self.multicast(ReplaySubject.create(bufferSize: replay)).refCount() - } - case .whileConnected: - switch replay { - case 0: return ShareWhileConnected(source: self.asObservable()) - case 1: return ShareReplay1WhileConnected(source: self.asObservable()) - default: return self.multicast(makeSubject: { ReplaySubject.create(bufferSize: replay) }).refCount() - } - } - } -} - -fileprivate final class ShareReplay1WhileConnectedConnection - : ObserverType - , SynchronizedUnsubscribeType { - typealias E = Element - typealias Observers = AnyObserver.s - typealias DisposeKey = Observers.KeyType - - typealias Parent = ShareReplay1WhileConnected - private let _parent: Parent - private let _subscription = SingleAssignmentDisposable() - - private let _lock: RecursiveLock - private var _disposed: Bool = false - fileprivate var _observers = Observers() - fileprivate var _element: Element? - - init(parent: Parent, lock: RecursiveLock) { - _parent = parent - _lock = lock - - #if TRACE_RESOURCES - _ = Resources.incrementTotal() - #endif - } - - final func on(_ event: Event) { - _lock.lock() - let observers = _synchronized_on(event) - _lock.unlock() - dispatch(observers, event) - } - - final private func _synchronized_on(_ event: Event) -> Observers { - if _disposed { - return Observers() - } - - switch event { - case .next(let element): - _element = element - return _observers - case .error, .completed: - let observers = _observers - self._synchronized_dispose() - return observers - } - } - - final func connect() { - _subscription.setDisposable(_parent._source.subscribe(self)) - } - - final func _synchronized_subscribe(_ observer: O) -> Disposable where O.E == Element { - _lock.lock(); defer { _lock.unlock() } - if let element = _element { - observer.on(.next(element)) - } - - let disposeKey = _observers.insert(observer.on) - - return SubscriptionDisposable(owner: self, key: disposeKey) - } - - final private func _synchronized_dispose() { - _disposed = true - if _parent._connection === self { - _parent._connection = nil - } - _observers = Observers() - } - - final func synchronizedUnsubscribe(_ disposeKey: DisposeKey) { - _lock.lock() - let shouldDisconnect = _synchronized_unsubscribe(disposeKey) - _lock.unlock() - if shouldDisconnect { - _subscription.dispose() - } - } - - @inline(__always) - final private func _synchronized_unsubscribe(_ disposeKey: DisposeKey) -> Bool { - // if already unsubscribed, just return - if self._observers.removeKey(disposeKey) == nil { - return false - } - - if _observers.count == 0 { - _synchronized_dispose() - return true - } - - return false - } - - #if TRACE_RESOURCES - deinit { - _ = Resources.decrementTotal() - } - #endif -} - -// optimized version of share replay for most common case -final fileprivate class ShareReplay1WhileConnected - : Observable { - - fileprivate typealias Connection = ShareReplay1WhileConnectedConnection - - fileprivate let _source: Observable - - fileprivate let _lock = RecursiveLock() - - fileprivate var _connection: Connection? - - init(source: Observable) { - self._source = source - } - - override func subscribe(_ observer: O) -> Disposable where O.E == E { - _lock.lock() - - let connection = _synchronized_subscribe(observer) - let count = connection._observers.count - - let disposable = connection._synchronized_subscribe(observer) - - _lock.unlock() - - if count == 0 { - connection.connect() - } - - return disposable - } - - @inline(__always) - private func _synchronized_subscribe(_ observer: O) -> Connection where O.E == E { - let connection: Connection - - if let existingConnection = _connection { - connection = existingConnection - } - else { - connection = ShareReplay1WhileConnectedConnection( - parent: self, - lock: _lock) - _connection = connection - } - - return connection - } -} - -fileprivate final class ShareWhileConnectedConnection - : ObserverType - , SynchronizedUnsubscribeType { - typealias E = Element - typealias Observers = AnyObserver.s - typealias DisposeKey = Observers.KeyType - - typealias Parent = ShareWhileConnected - private let _parent: Parent - private let _subscription = SingleAssignmentDisposable() - - private let _lock: RecursiveLock - private var _disposed: Bool = false - fileprivate var _observers = Observers() - - init(parent: Parent, lock: RecursiveLock) { - _parent = parent - _lock = lock - - #if TRACE_RESOURCES - _ = Resources.incrementTotal() - #endif - } - - final func on(_ event: Event) { - _lock.lock() - let observers = _synchronized_on(event) - _lock.unlock() - dispatch(observers, event) - } - - final private func _synchronized_on(_ event: Event) -> Observers { - if _disposed { - return Observers() - } - - switch event { - case .next: - return _observers - case .error, .completed: - let observers = _observers - self._synchronized_dispose() - return observers - } - } - - final func connect() { - _subscription.setDisposable(_parent._source.subscribe(self)) - } - - final func _synchronized_subscribe(_ observer: O) -> Disposable where O.E == Element { - _lock.lock(); defer { _lock.unlock() } - - let disposeKey = _observers.insert(observer.on) - - return SubscriptionDisposable(owner: self, key: disposeKey) - } - - final private func _synchronized_dispose() { - _disposed = true - if _parent._connection === self { - _parent._connection = nil - } - _observers = Observers() - } - - final func synchronizedUnsubscribe(_ disposeKey: DisposeKey) { - _lock.lock() - let shouldDisconnect = _synchronized_unsubscribe(disposeKey) - _lock.unlock() - if shouldDisconnect { - _subscription.dispose() - } - } - - @inline(__always) - final private func _synchronized_unsubscribe(_ disposeKey: DisposeKey) -> Bool { - // if already unsubscribed, just return - if self._observers.removeKey(disposeKey) == nil { - return false - } - - if _observers.count == 0 { - _synchronized_dispose() - return true - } - - return false - } - - #if TRACE_RESOURCES - deinit { - _ = Resources.decrementTotal() - } - #endif -} - -// optimized version of share replay for most common case -final fileprivate class ShareWhileConnected - : Observable { - - fileprivate typealias Connection = ShareWhileConnectedConnection - - fileprivate let _source: Observable - - fileprivate let _lock = RecursiveLock() - - fileprivate var _connection: Connection? - - init(source: Observable) { - self._source = source - } - - override func subscribe(_ observer: O) -> Disposable where O.E == E { - _lock.lock() - - let connection = _synchronized_subscribe(observer) - let count = connection._observers.count - - let disposable = connection._synchronized_subscribe(observer) - - _lock.unlock() - - if count == 0 { - connection.connect() - } - - return disposable - } - - @inline(__always) - private func _synchronized_subscribe(_ observer: O) -> Connection where O.E == E { - let connection: Connection - - if let existingConnection = _connection { - connection = existingConnection - } - else { - connection = ShareWhileConnectedConnection( - parent: self, - lock: _lock) - _connection = connection - } - - return connection - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift b/Example/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift deleted file mode 100644 index 1419a93..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift +++ /dev/null @@ -1,105 +0,0 @@ -// -// SingleAsync.swift -// RxSwift -// -// Created by Junior B. on 09/11/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - The single operator is similar to first, but throws a `RxError.noElements` or `RxError.moreThanOneElement` - if the source Observable does not emit exactly one element before successfully completing. - - - seealso: [single operator on reactivex.io](http://reactivex.io/documentation/operators/first.html) - - - returns: An observable sequence that emits a single element or throws an exception if more (or none) of them are emitted. - */ - public func single() - -> Observable { - return SingleAsync(source: asObservable()) - } - - /** - The single operator is similar to first, but throws a `RxError.NoElements` or `RxError.MoreThanOneElement` - if the source Observable does not emit exactly one element before successfully completing. - - - seealso: [single operator on reactivex.io](http://reactivex.io/documentation/operators/first.html) - - - parameter predicate: A function to test each source element for a condition. - - returns: An observable sequence that emits a single element or throws an exception if more (or none) of them are emitted. - */ - public func single(_ predicate: @escaping (E) throws -> Bool) - -> Observable { - return SingleAsync(source: asObservable(), predicate: predicate) - } -} - -fileprivate final class SingleAsyncSink : Sink, ObserverType { - typealias ElementType = O.E - typealias Parent = SingleAsync - typealias E = ElementType - - private let _parent: Parent - private var _seenValue: Bool = false - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - switch event { - case .next(let value): - do { - let forward = try _parent._predicate?(value) ?? true - if !forward { - return - } - } - catch let error { - forwardOn(.error(error as Swift.Error)) - dispose() - return - } - - if _seenValue { - forwardOn(.error(RxError.moreThanOneElement)) - dispose() - return - } - - _seenValue = true - forwardOn(.next(value)) - case .error: - forwardOn(event) - dispose() - case .completed: - if (_seenValue) { - forwardOn(.completed) - } else { - forwardOn(.error(RxError.noElements)) - } - dispose() - } - } -} - -final class SingleAsync: Producer { - typealias Predicate = (Element) throws -> Bool - - fileprivate let _source: Observable - fileprivate let _predicate: Predicate? - - init(source: Observable, predicate: Predicate? = nil) { - _source = source - _predicate = predicate - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = SingleAsyncSink(parent: self, observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Sink.swift b/Example/Pods/RxSwift/RxSwift/Observables/Sink.swift deleted file mode 100644 index 214cfda..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Sink.swift +++ /dev/null @@ -1,76 +0,0 @@ -// -// Sink.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/19/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -class Sink : Disposable { - fileprivate let _observer: O - fileprivate let _cancel: Cancelable - fileprivate var _disposed: Bool - - #if DEBUG - fileprivate let _synchronizationTracker = SynchronizationTracker() - #endif - - init(observer: O, cancel: Cancelable) { -#if TRACE_RESOURCES - let _ = Resources.incrementTotal() -#endif - _observer = observer - _cancel = cancel - _disposed = false - } - - final func forwardOn(_ event: Event) { - #if DEBUG - _synchronizationTracker.register(synchronizationErrorMessage: .default) - defer { _synchronizationTracker.unregister() } - #endif - if _disposed { - return - } - _observer.on(event) - } - - final func forwarder() -> SinkForward { - return SinkForward(forward: self) - } - - final var disposed: Bool { - return _disposed - } - - func dispose() { - _disposed = true - _cancel.dispose() - } - - deinit { -#if TRACE_RESOURCES - let _ = Resources.decrementTotal() -#endif - } -} - -final class SinkForward: ObserverType { - typealias E = O.E - - private let _forward: Sink - - init(forward: Sink) { - _forward = forward - } - - final func on(_ event: Event) { - switch event { - case .next: - _forward._observer.on(event) - case .error, .completed: - _forward._observer.on(event) - _forward._cancel.dispose() - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Skip.swift b/Example/Pods/RxSwift/RxSwift/Observables/Skip.swift deleted file mode 100644 index fcac9d4..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Skip.swift +++ /dev/null @@ -1,159 +0,0 @@ -// -// Skip.swift -// RxSwift -// -// Created by Krunoslav Zaher on 6/25/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Bypasses a specified number of elements in an observable sequence and then returns the remaining elements. - - - seealso: [skip operator on reactivex.io](http://reactivex.io/documentation/operators/skip.html) - - - parameter count: The number of elements to skip before returning the remaining elements. - - returns: An observable sequence that contains the elements that occur after the specified index in the input sequence. - */ - public func skip(_ count: Int) - -> Observable { - return SkipCount(source: asObservable(), count: count) - } -} - -extension ObservableType { - - /** - Skips elements for the specified duration from the start of the observable source sequence, using the specified scheduler to run timers. - - - seealso: [skip operator on reactivex.io](http://reactivex.io/documentation/operators/skip.html) - - - parameter duration: Duration for skipping elements from the start of the sequence. - - parameter scheduler: Scheduler to run the timer on. - - returns: An observable sequence with the elements skipped during the specified duration from the start of the source sequence. - */ - public func skip(_ duration: RxTimeInterval, scheduler: SchedulerType) - -> Observable { - return SkipTime(source: self.asObservable(), duration: duration, scheduler: scheduler) - } -} - -// count version - -final fileprivate class SkipCountSink : Sink, ObserverType { - typealias Element = O.E - typealias Parent = SkipCount - - let parent: Parent - - var remaining: Int - - init(parent: Parent, observer: O, cancel: Cancelable) { - self.parent = parent - self.remaining = parent.count - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - switch event { - case .next(let value): - - if remaining <= 0 { - forwardOn(.next(value)) - } - else { - remaining -= 1 - } - case .error: - forwardOn(event) - self.dispose() - case .completed: - forwardOn(event) - self.dispose() - } - } - -} - -final fileprivate class SkipCount: Producer { - let source: Observable - let count: Int - - init(source: Observable, count: Int) { - self.source = source - self.count = count - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = SkipCountSink(parent: self, observer: observer, cancel: cancel) - let subscription = source.subscribe(sink) - - return (sink: sink, subscription: subscription) - } -} - -// time version - -final fileprivate class SkipTimeSink : Sink, ObserverType where O.E == ElementType { - typealias Parent = SkipTime - typealias Element = ElementType - - let parent: Parent - - // state - var open = false - - init(parent: Parent, observer: O, cancel: Cancelable) { - self.parent = parent - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - switch event { - case .next(let value): - if open { - forwardOn(.next(value)) - } - case .error: - forwardOn(event) - self.dispose() - case .completed: - forwardOn(event) - self.dispose() - } - } - - func tick() { - open = true - } - - func run() -> Disposable { - let disposeTimer = parent.scheduler.scheduleRelative((), dueTime: self.parent.duration) { _ in - self.tick() - return Disposables.create() - } - - let disposeSubscription = parent.source.subscribe(self) - - return Disposables.create(disposeTimer, disposeSubscription) - } -} - -final fileprivate class SkipTime: Producer { - let source: Observable - let duration: RxTimeInterval - let scheduler: SchedulerType - - init(source: Observable, duration: RxTimeInterval, scheduler: SchedulerType) { - self.source = source - self.scheduler = scheduler - self.duration = duration - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = SkipTimeSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift b/Example/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift deleted file mode 100644 index f35f1fd..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift +++ /dev/null @@ -1,139 +0,0 @@ -// -// SkipUntil.swift -// RxSwift -// -// Created by Yury Korolev on 10/3/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Returns the elements from the source observable sequence that are emitted after the other observable sequence produces an element. - - - seealso: [skipUntil operator on reactivex.io](http://reactivex.io/documentation/operators/skipuntil.html) - - - parameter other: Observable sequence that starts propagation of elements of the source sequence. - - returns: An observable sequence containing the elements of the source sequence that are emitted after the other sequence emits an item. - */ - public func skipUntil(_ other: O) - -> Observable { - return SkipUntil(source: asObservable(), other: other.asObservable()) - } -} - -final fileprivate class SkipUntilSinkOther - : ObserverType - , LockOwnerType - , SynchronizedOnType { - typealias Parent = SkipUntilSink - typealias E = Other - - fileprivate let _parent: Parent - - var _lock: RecursiveLock { - return _parent._lock - } - - let _subscription = SingleAssignmentDisposable() - - init(parent: Parent) { - _parent = parent - #if TRACE_RESOURCES - let _ = Resources.incrementTotal() - #endif - } - - func on(_ event: Event) { - synchronizedOn(event) - } - - func _synchronized_on(_ event: Event) { - switch event { - case .next: - _parent._forwardElements = true - _subscription.dispose() - case .error(let e): - _parent.forwardOn(.error(e)) - _parent.dispose() - case .completed: - _subscription.dispose() - } - } - - #if TRACE_RESOURCES - deinit { - let _ = Resources.decrementTotal() - } - #endif - -} - - -final fileprivate class SkipUntilSink - : Sink - , ObserverType - , LockOwnerType - , SynchronizedOnType { - typealias E = O.E - typealias Parent = SkipUntil - - let _lock = RecursiveLock() - fileprivate let _parent: Parent - fileprivate var _forwardElements = false - - fileprivate let _sourceSubscription = SingleAssignmentDisposable() - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - synchronizedOn(event) - } - - func _synchronized_on(_ event: Event) { - switch event { - case .next: - if _forwardElements { - forwardOn(event) - } - case .error: - forwardOn(event) - self.dispose() - case .completed: - if _forwardElements { - forwardOn(event) - } - self.dispose() - } - } - - func run() -> Disposable { - let sourceSubscription = _parent._source.subscribe(self) - let otherObserver = SkipUntilSinkOther(parent: self) - let otherSubscription = _parent._other.subscribe(otherObserver) - _sourceSubscription.setDisposable(sourceSubscription) - otherObserver._subscription.setDisposable(otherSubscription) - - return Disposables.create(_sourceSubscription, otherObserver._subscription) - } -} - -final fileprivate class SkipUntil: Producer { - - fileprivate let _source: Observable - fileprivate let _other: Observable - - init(source: Observable, other: Observable) { - _source = source - _other = other - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = SkipUntilSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift b/Example/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift deleted file mode 100644 index 4bb394b..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift +++ /dev/null @@ -1,77 +0,0 @@ -// -// SkipWhile.swift -// RxSwift -// -// Created by Yury Korolev on 10/9/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Bypasses elements in an observable sequence as long as a specified condition is true and then returns the remaining elements. - - - seealso: [skipWhile operator on reactivex.io](http://reactivex.io/documentation/operators/skipwhile.html) - - - parameter predicate: A function to test each element for a condition. - - returns: An observable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. - */ - public func skipWhile(_ predicate: @escaping (E) throws -> Bool) -> Observable { - return SkipWhile(source: asObservable(), predicate: predicate) - } -} - -final fileprivate class SkipWhileSink : Sink, ObserverType { - - typealias Element = O.E - typealias Parent = SkipWhile - - fileprivate let _parent: Parent - fileprivate var _running = false - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - switch event { - case .next(let value): - if !_running { - do { - _running = try !_parent._predicate(value) - } catch let e { - forwardOn(.error(e)) - dispose() - return - } - } - - if _running { - forwardOn(.next(value)) - } - case .error, .completed: - forwardOn(event) - dispose() - } - } -} - -final fileprivate class SkipWhile: Producer { - typealias Predicate = (Element) throws -> Bool - typealias PredicateWithIndex = (Element, Int) throws -> Bool - - fileprivate let _source: Observable - fileprivate let _predicate: Predicate - - init(source: Observable, predicate: @escaping Predicate) { - _source = source - _predicate = predicate - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = SkipWhileSink(parent: self, observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/StartWith.swift b/Example/Pods/RxSwift/RxSwift/Observables/StartWith.swift deleted file mode 100644 index 14776f9..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/StartWith.swift +++ /dev/null @@ -1,42 +0,0 @@ -// -// StartWith.swift -// RxSwift -// -// Created by Krunoslav Zaher on 4/6/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Prepends a sequence of values to an observable sequence. - - - seealso: [startWith operator on reactivex.io](http://reactivex.io/documentation/operators/startwith.html) - - - parameter elements: Elements to prepend to the specified sequence. - - returns: The source sequence prepended with the specified values. - */ - public func startWith(_ elements: E ...) - -> Observable { - return StartWith(source: self.asObservable(), elements: elements) - } -} - -final fileprivate class StartWith: Producer { - let elements: [Element] - let source: Observable - - init(source: Observable, elements: [Element]) { - self.source = source - self.elements = elements - super.init() - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - for e in elements { - observer.on(.next(e)) - } - - return (sink: Disposables.create(), subscription: source.subscribe(observer)) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift b/Example/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift deleted file mode 100644 index 2a33e03..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift +++ /dev/null @@ -1,83 +0,0 @@ -// -// SubscribeOn.swift -// RxSwift -// -// Created by Krunoslav Zaher on 6/14/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Wraps the source sequence in order to run its subscription and unsubscription logic on the specified - scheduler. - - This operation is not commonly used. - - This only performs the side-effects of subscription and unsubscription on the specified scheduler. - - In order to invoke observer callbacks on a `scheduler`, use `observeOn`. - - - seealso: [subscribeOn operator on reactivex.io](http://reactivex.io/documentation/operators/subscribeon.html) - - - parameter scheduler: Scheduler to perform subscription and unsubscription actions on. - - returns: The source sequence whose subscriptions and unsubscriptions happen on the specified scheduler. - */ - public func subscribeOn(_ scheduler: ImmediateSchedulerType) - -> Observable { - return SubscribeOn(source: self, scheduler: scheduler) - } -} - -final fileprivate class SubscribeOnSink : Sink, ObserverType where Ob.E == O.E { - typealias Element = O.E - typealias Parent = SubscribeOn - - let parent: Parent - - init(parent: Parent, observer: O, cancel: Cancelable) { - self.parent = parent - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - forwardOn(event) - - if event.isStopEvent { - self.dispose() - } - } - - func run() -> Disposable { - let disposeEverything = SerialDisposable() - let cancelSchedule = SingleAssignmentDisposable() - - disposeEverything.disposable = cancelSchedule - - let disposeSchedule = parent.scheduler.schedule(()) { (_) -> Disposable in - let subscription = self.parent.source.subscribe(self) - disposeEverything.disposable = ScheduledDisposable(scheduler: self.parent.scheduler, disposable: subscription) - return Disposables.create() - } - - cancelSchedule.setDisposable(disposeSchedule) - - return disposeEverything - } -} - -final fileprivate class SubscribeOn : Producer { - let source: Ob - let scheduler: ImmediateSchedulerType - - init(source: Ob, scheduler: ImmediateSchedulerType) { - self.source = source - self.scheduler = scheduler - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Ob.E { - let sink = SubscribeOnSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Switch.swift b/Example/Pods/RxSwift/RxSwift/Observables/Switch.swift deleted file mode 100644 index 2da1000..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Switch.swift +++ /dev/null @@ -1,233 +0,0 @@ -// -// Switch.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/12/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - /** - Projects each element of an observable sequence into a new sequence of observable sequences and then - transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence. - - It is a combination of `map` + `switchLatest` operator - - - seealso: [flatMapLatest operator on reactivex.io](http://reactivex.io/documentation/operators/flatmap.html) - - - parameter selector: A transform function to apply to each element. - - returns: An observable sequence whose elements are the result of invoking the transform function on each element of source producing an - Observable of Observable sequences and that at any point in time produces the elements of the most recent inner observable sequence that has been received. - */ - public func flatMapLatest(_ selector: @escaping (E) throws -> O) - -> Observable { - return FlatMapLatest(source: asObservable(), selector: selector) - } -} - -extension ObservableType where E : ObservableConvertibleType { - - /** - Transforms an observable sequence of observable sequences into an observable sequence - producing values only from the most recent observable sequence. - - Each time a new inner observable sequence is received, unsubscribe from the - previous inner observable sequence. - - - seealso: [switch operator on reactivex.io](http://reactivex.io/documentation/operators/switch.html) - - - returns: The observable sequence that at any point in time produces the elements of the most recent inner observable sequence that has been received. - */ - public func switchLatest() -> Observable { - return Switch(source: asObservable()) - } -} - -fileprivate class SwitchSink - : Sink - , ObserverType where S.E == O.E { - typealias E = SourceType - - fileprivate let _subscriptions: SingleAssignmentDisposable = SingleAssignmentDisposable() - fileprivate let _innerSubscription: SerialDisposable = SerialDisposable() - - let _lock = RecursiveLock() - - // state - fileprivate var _stopped = false - fileprivate var _latest = 0 - fileprivate var _hasLatest = false - - override init(observer: O, cancel: Cancelable) { - super.init(observer: observer, cancel: cancel) - } - - func run(_ source: Observable) -> Disposable { - let subscription = source.subscribe(self) - _subscriptions.setDisposable(subscription) - return Disposables.create(_subscriptions, _innerSubscription) - } - - func performMap(_ element: SourceType) throws -> S { - rxAbstractMethod() - } - - @inline(__always) - final private func nextElementArrived(element: E) -> (Int, Observable)? { - _lock.lock(); defer { _lock.unlock() } // { - do { - let observable = try performMap(element).asObservable() - _hasLatest = true - _latest = _latest &+ 1 - return (_latest, observable) - } - catch let error { - forwardOn(.error(error)) - dispose() - } - - return nil - // } - } - - func on(_ event: Event) { - switch event { - case .next(let element): - if let (latest, observable) = nextElementArrived(element: element) { - let d = SingleAssignmentDisposable() - _innerSubscription.disposable = d - - let observer = SwitchSinkIter(parent: self, id: latest, _self: d) - let disposable = observable.subscribe(observer) - d.setDisposable(disposable) - } - case .error(let error): - _lock.lock(); defer { _lock.unlock() } - forwardOn(.error(error)) - dispose() - case .completed: - _lock.lock(); defer { _lock.unlock() } - _stopped = true - - _subscriptions.dispose() - - if !_hasLatest { - forwardOn(.completed) - dispose() - } - } - } -} - -final fileprivate class SwitchSinkIter - : ObserverType - , LockOwnerType - , SynchronizedOnType where S.E == O.E { - typealias E = S.E - typealias Parent = SwitchSink - - fileprivate let _parent: Parent - fileprivate let _id: Int - fileprivate let _self: Disposable - - var _lock: RecursiveLock { - return _parent._lock - } - - init(parent: Parent, id: Int, _self: Disposable) { - _parent = parent - _id = id - self._self = _self - } - - func on(_ event: Event) { - synchronizedOn(event) - } - - func _synchronized_on(_ event: Event) { - switch event { - case .next: break - case .error, .completed: - _self.dispose() - } - - if _parent._latest != _id { - return - } - - switch event { - case .next: - _parent.forwardOn(event) - case .error: - _parent.forwardOn(event) - _parent.dispose() - case .completed: - _parent._hasLatest = false - if _parent._stopped { - _parent.forwardOn(event) - _parent.dispose() - } - } - } -} - -// MARK: Specializations - -final fileprivate class SwitchIdentitySink : SwitchSink where O.E == S.E { - override init(observer: O, cancel: Cancelable) { - super.init(observer: observer, cancel: cancel) - } - - override func performMap(_ element: S) throws -> S { - return element - } -} - -final fileprivate class MapSwitchSink : SwitchSink where O.E == S.E { - typealias Selector = (SourceType) throws -> S - - fileprivate let _selector: Selector - - init(selector: @escaping Selector, observer: O, cancel: Cancelable) { - _selector = selector - super.init(observer: observer, cancel: cancel) - } - - override func performMap(_ element: SourceType) throws -> S { - return try _selector(element) - } -} - -// MARK: Producers - -final fileprivate class Switch : Producer { - fileprivate let _source: Observable - - init(source: Observable) { - _source = source - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == S.E { - let sink = SwitchIdentitySink(observer: observer, cancel: cancel) - let subscription = sink.run(_source) - return (sink: sink, subscription: subscription) - } -} - -final fileprivate class FlatMapLatest : Producer { - typealias Selector = (SourceType) throws -> S - - fileprivate let _source: Observable - fileprivate let _selector: Selector - - init(source: Observable, selector: @escaping Selector) { - _source = source - _selector = selector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == S.E { - let sink = MapSwitchSink(selector: _selector, observer: observer, cancel: cancel) - let subscription = sink.run(_source) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift b/Example/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift deleted file mode 100644 index 0b10dc6..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift +++ /dev/null @@ -1,104 +0,0 @@ -// -// SwitchIfEmpty.swift -// RxSwift -// -// Created by sergdort on 23/12/2016. -// Copyright © 2016 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - /** - Returns the elements of the specified sequence or `switchTo` sequence if the sequence is empty. - - - seealso: [DefaultIfEmpty operator on reactivex.io](http://reactivex.io/documentation/operators/defaultifempty.html) - - - parameter switchTo: Observable sequence being returned when source sequence is empty. - - returns: Observable sequence that contains elements from switchTo sequence if source is empty, otherwise returns source sequence elements. - */ - public func ifEmpty(switchTo other: Observable) -> Observable { - return SwitchIfEmpty(source: asObservable(), ifEmpty: other) - } -} - -final fileprivate class SwitchIfEmpty: Producer { - - private let _source: Observable - private let _ifEmpty: Observable - - init(source: Observable, ifEmpty: Observable) { - _source = source - _ifEmpty = ifEmpty - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = SwitchIfEmptySink(ifEmpty: _ifEmpty, - observer: observer, - cancel: cancel) - let subscription = sink.run(_source.asObservable()) - - return (sink: sink, subscription: subscription) - } -} - -final fileprivate class SwitchIfEmptySink: Sink - , ObserverType { - typealias E = O.E - - private let _ifEmpty: Observable - private var _isEmpty = true - private let _ifEmptySubscription = SingleAssignmentDisposable() - - init(ifEmpty: Observable, observer: O, cancel: Cancelable) { - _ifEmpty = ifEmpty - super.init(observer: observer, cancel: cancel) - } - - func run(_ source: Observable) -> Disposable { - let subscription = source.subscribe(self) - return Disposables.create(subscription, _ifEmptySubscription) - } - - func on(_ event: Event) { - switch event { - case .next: - _isEmpty = false - forwardOn(event) - case .error: - forwardOn(event) - dispose() - case .completed: - guard _isEmpty else { - forwardOn(.completed) - dispose() - return - } - let ifEmptySink = SwitchIfEmptySinkIter(parent: self) - _ifEmptySubscription.setDisposable(_ifEmpty.subscribe(ifEmptySink)) - } - } -} - -final fileprivate class SwitchIfEmptySinkIter - : ObserverType { - typealias E = O.E - typealias Parent = SwitchIfEmptySink - - private let _parent: Parent - - init(parent: Parent) { - _parent = parent - } - - func on(_ event: Event) { - switch event { - case .next: - _parent.forwardOn(event) - case .error: - _parent.forwardOn(event) - _parent.dispose() - case .completed: - _parent.forwardOn(event) - _parent.dispose() - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Take.swift b/Example/Pods/RxSwift/RxSwift/Observables/Take.swift deleted file mode 100644 index 661f858..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Take.swift +++ /dev/null @@ -1,180 +0,0 @@ -// -// Take.swift -// RxSwift -// -// Created by Krunoslav Zaher on 6/12/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Returns a specified number of contiguous elements from the start of an observable sequence. - - - seealso: [take operator on reactivex.io](http://reactivex.io/documentation/operators/take.html) - - - parameter count: The number of elements to return. - - returns: An observable sequence that contains the specified number of elements from the start of the input sequence. - */ - public func take(_ count: Int) - -> Observable { - if count == 0 { - return Observable.empty() - } - else { - return TakeCount(source: asObservable(), count: count) - } - } -} - -extension ObservableType { - - /** - Takes elements for the specified duration from the start of the observable source sequence, using the specified scheduler to run timers. - - - seealso: [take operator on reactivex.io](http://reactivex.io/documentation/operators/take.html) - - - parameter duration: Duration for taking elements from the start of the sequence. - - parameter scheduler: Scheduler to run the timer on. - - returns: An observable sequence with the elements taken during the specified duration from the start of the source sequence. - */ - public func take(_ duration: RxTimeInterval, scheduler: SchedulerType) - -> Observable { - return TakeTime(source: self.asObservable(), duration: duration, scheduler: scheduler) - } -} - -// count version - -final fileprivate class TakeCountSink : Sink, ObserverType { - typealias E = O.E - typealias Parent = TakeCount - - private let _parent: Parent - - private var _remaining: Int - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - _remaining = parent._count - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - switch event { - case .next(let value): - - if _remaining > 0 { - _remaining -= 1 - - forwardOn(.next(value)) - - if _remaining == 0 { - forwardOn(.completed) - dispose() - } - } - case .error: - forwardOn(event) - dispose() - case .completed: - forwardOn(event) - dispose() - } - } - -} - -final fileprivate class TakeCount: Producer { - fileprivate let _source: Observable - fileprivate let _count: Int - - init(source: Observable, count: Int) { - if count < 0 { - rxFatalError("count can't be negative") - } - _source = source - _count = count - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = TakeCountSink(parent: self, observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} - -// time version - -final fileprivate class TakeTimeSink - : Sink - , LockOwnerType - , ObserverType - , SynchronizedOnType where O.E == ElementType { - typealias Parent = TakeTime - typealias E = ElementType - - fileprivate let _parent: Parent - - let _lock = RecursiveLock() - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - synchronizedOn(event) - } - - func _synchronized_on(_ event: Event) { - switch event { - case .next(let value): - forwardOn(.next(value)) - case .error: - forwardOn(event) - dispose() - case .completed: - forwardOn(event) - dispose() - } - } - - func tick() { - _lock.lock(); defer { _lock.unlock() } - - forwardOn(.completed) - dispose() - } - - func run() -> Disposable { - let disposeTimer = _parent._scheduler.scheduleRelative((), dueTime: _parent._duration) { _ in - self.tick() - return Disposables.create() - } - - let disposeSubscription = _parent._source.subscribe(self) - - return Disposables.create(disposeTimer, disposeSubscription) - } -} - -final fileprivate class TakeTime : Producer { - typealias TimeInterval = RxTimeInterval - - fileprivate let _source: Observable - fileprivate let _duration: TimeInterval - fileprivate let _scheduler: SchedulerType - - init(source: Observable, duration: TimeInterval, scheduler: SchedulerType) { - _source = source - _scheduler = scheduler - _duration = duration - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = TakeTimeSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/TakeLast.swift b/Example/Pods/RxSwift/RxSwift/Observables/TakeLast.swift deleted file mode 100644 index 7bf1664..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/TakeLast.swift +++ /dev/null @@ -1,78 +0,0 @@ -// -// TakeLast.swift -// RxSwift -// -// Created by Tomi Koskinen on 25/10/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Returns a specified number of contiguous elements from the end of an observable sequence. - - This operator accumulates a buffer with a length enough to store elements count elements. Upon completion of the source sequence, this buffer is drained on the result sequence. This causes the elements to be delayed. - - - seealso: [takeLast operator on reactivex.io](http://reactivex.io/documentation/operators/takelast.html) - - - parameter count: Number of elements to take from the end of the source sequence. - - returns: An observable sequence containing the specified number of elements from the end of the source sequence. - */ - public func takeLast(_ count: Int) - -> Observable { - return TakeLast(source: asObservable(), count: count) - } -} - -final fileprivate class TakeLastSink : Sink, ObserverType { - typealias E = O.E - typealias Parent = TakeLast - - private let _parent: Parent - - private var _elements: Queue - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - _elements = Queue(capacity: parent._count + 1) - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - switch event { - case .next(let value): - _elements.enqueue(value) - if _elements.count > self._parent._count { - let _ = _elements.dequeue() - } - case .error: - forwardOn(event) - dispose() - case .completed: - for e in _elements { - forwardOn(.next(e)) - } - forwardOn(.completed) - dispose() - } - } -} - -final fileprivate class TakeLast: Producer { - fileprivate let _source: Observable - fileprivate let _count: Int - - init(source: Observable, count: Int) { - if count < 0 { - rxFatalError("count can't be negative") - } - _source = source - _count = count - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = TakeLastSink(parent: self, observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift b/Example/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift deleted file mode 100644 index f2e5f98..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift +++ /dev/null @@ -1,131 +0,0 @@ -// -// TakeUntil.swift -// RxSwift -// -// Created by Krunoslav Zaher on 6/7/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Returns the elements from the source observable sequence until the other observable sequence produces an element. - - - seealso: [takeUntil operator on reactivex.io](http://reactivex.io/documentation/operators/takeuntil.html) - - - parameter other: Observable sequence that terminates propagation of elements of the source sequence. - - returns: An observable sequence containing the elements of the source sequence up to the point the other sequence interrupted further propagation. - */ - public func takeUntil(_ other: O) - -> Observable { - return TakeUntil(source: asObservable(), other: other.asObservable()) - } -} - -final fileprivate class TakeUntilSinkOther - : ObserverType - , LockOwnerType - , SynchronizedOnType { - typealias Parent = TakeUntilSink - typealias E = Other - - fileprivate let _parent: Parent - - var _lock: RecursiveLock { - return _parent._lock - } - - fileprivate let _subscription = SingleAssignmentDisposable() - - init(parent: Parent) { - _parent = parent -#if TRACE_RESOURCES - let _ = Resources.incrementTotal() -#endif - } - - func on(_ event: Event) { - synchronizedOn(event) - } - - func _synchronized_on(_ event: Event) { - switch event { - case .next: - _parent.forwardOn(.completed) - _parent.dispose() - case .error(let e): - _parent.forwardOn(.error(e)) - _parent.dispose() - case .completed: - _subscription.dispose() - } - } - -#if TRACE_RESOURCES - deinit { - let _ = Resources.decrementTotal() - } -#endif -} - -final fileprivate class TakeUntilSink - : Sink - , LockOwnerType - , ObserverType - , SynchronizedOnType { - typealias E = O.E - typealias Parent = TakeUntil - - fileprivate let _parent: Parent - - let _lock = RecursiveLock() - - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - synchronizedOn(event) - } - - func _synchronized_on(_ event: Event) { - switch event { - case .next: - forwardOn(event) - case .error: - forwardOn(event) - dispose() - case .completed: - forwardOn(event) - dispose() - } - } - - func run() -> Disposable { - let otherObserver = TakeUntilSinkOther(parent: self) - let otherSubscription = _parent._other.subscribe(otherObserver) - otherObserver._subscription.setDisposable(otherSubscription) - let sourceSubscription = _parent._source.subscribe(self) - - return Disposables.create(sourceSubscription, otherObserver._subscription) - } -} - -final fileprivate class TakeUntil: Producer { - - fileprivate let _source: Observable - fileprivate let _other: Observable - - init(source: Observable, other: Observable) { - _source = source - _other = other - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = TakeUntilSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift b/Example/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift deleted file mode 100644 index 2b7b551..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift +++ /dev/null @@ -1,85 +0,0 @@ -// -// TakeWhile.swift -// RxSwift -// -// Created by Krunoslav Zaher on 6/7/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Returns elements from an observable sequence as long as a specified condition is true. - - - seealso: [takeWhile operator on reactivex.io](http://reactivex.io/documentation/operators/takewhile.html) - - - parameter predicate: A function to test each element for a condition. - - returns: An observable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. - */ - public func takeWhile(_ predicate: @escaping (E) throws -> Bool) - -> Observable { - return TakeWhile(source: asObservable(), predicate: predicate) - } -} - -final fileprivate class TakeWhileSink - : Sink - , ObserverType { - typealias Element = O.E - typealias Parent = TakeWhile - - fileprivate let _parent: Parent - - fileprivate var _running = true - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - switch event { - case .next(let value): - if !_running { - return - } - - do { - _running = try _parent._predicate(value) - } catch let e { - forwardOn(.error(e)) - dispose() - return - } - - if _running { - forwardOn(.next(value)) - } else { - forwardOn(.completed) - dispose() - } - case .error, .completed: - forwardOn(event) - dispose() - } - } - -} - -final fileprivate class TakeWhile: Producer { - typealias Predicate = (Element) throws -> Bool - - fileprivate let _source: Observable - fileprivate let _predicate: Predicate - - init(source: Observable, predicate: @escaping Predicate) { - _source = source - _predicate = predicate - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = TakeWhileSink(parent: self, observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Throttle.swift b/Example/Pods/RxSwift/RxSwift/Observables/Throttle.swift deleted file mode 100644 index 0c4ca74..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Throttle.swift +++ /dev/null @@ -1,163 +0,0 @@ -// -// Throttle.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/22/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -import struct Foundation.Date - -extension ObservableType { - - /** - Returns an Observable that emits the first and the latest item emitted by the source Observable during sequential time windows of a specified duration. - - This operator makes sure that no two elements are emitted in less then dueTime. - - - seealso: [debounce operator on reactivex.io](http://reactivex.io/documentation/operators/debounce.html) - - - parameter dueTime: Throttling duration for each element. - - parameter latest: Should latest element received in a dueTime wide time window since last element emission be emitted. - - parameter scheduler: Scheduler to run the throttle timers on. - - returns: The throttled sequence. - */ - public func throttle(_ dueTime: RxTimeInterval, latest: Bool = true, scheduler: SchedulerType) - -> Observable { - return Throttle(source: self.asObservable(), dueTime: dueTime, latest: latest, scheduler: scheduler) - } -} - -final fileprivate class ThrottleSink - : Sink - , ObserverType - , LockOwnerType - , SynchronizedOnType { - typealias Element = O.E - typealias ParentType = Throttle - - private let _parent: ParentType - - let _lock = RecursiveLock() - - // state - private var _lastUnsentElement: Element? = nil - private var _lastSentTime: Date? = nil - private var _completed: Bool = false - - let cancellable = SerialDisposable() - - init(parent: ParentType, observer: O, cancel: Cancelable) { - _parent = parent - - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - let subscription = _parent._source.subscribe(self) - - return Disposables.create(subscription, cancellable) - } - - func on(_ event: Event) { - synchronizedOn(event) - } - - func _synchronized_on(_ event: Event) { - switch event { - case .next(let element): - let now = _parent._scheduler.now - - let timeIntervalSinceLast: RxTimeInterval - - if let lastSendingTime = _lastSentTime { - timeIntervalSinceLast = now.timeIntervalSince(lastSendingTime) - } - else { - timeIntervalSinceLast = _parent._dueTime - } - - let couldSendNow = timeIntervalSinceLast >= _parent._dueTime - - if couldSendNow { - self.sendNow(element: element) - return - } - - if !_parent._latest { - return - } - - let isThereAlreadyInFlightRequest = _lastUnsentElement != nil - - _lastUnsentElement = element - - if isThereAlreadyInFlightRequest { - return - } - - let scheduler = _parent._scheduler - let dueTime = _parent._dueTime - - let d = SingleAssignmentDisposable() - self.cancellable.disposable = d - - d.setDisposable(scheduler.scheduleRelative(0, dueTime: dueTime - timeIntervalSinceLast, action: self.propagate)) - case .error: - _lastUnsentElement = nil - forwardOn(event) - dispose() - case .completed: - if let _ = _lastUnsentElement { - _completed = true - } - else { - forwardOn(.completed) - dispose() - } - } - } - - private func sendNow(element: Element) { - _lastUnsentElement = nil - self.forwardOn(.next(element)) - // in case element processing takes a while, this should give some more room - _lastSentTime = _parent._scheduler.now - } - - func propagate(_: Int) -> Disposable { - _lock.lock(); defer { _lock.unlock() } // { - if let lastUnsentElement = _lastUnsentElement { - sendNow(element: lastUnsentElement) - } - - if _completed { - forwardOn(.completed) - dispose() - } - // } - return Disposables.create() - } -} - -final fileprivate class Throttle : Producer { - - fileprivate let _source: Observable - fileprivate let _dueTime: RxTimeInterval - fileprivate let _latest: Bool - fileprivate let _scheduler: SchedulerType - - init(source: Observable, dueTime: RxTimeInterval, latest: Bool, scheduler: SchedulerType) { - _source = source - _dueTime = dueTime - _latest = latest - _scheduler = scheduler - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = ThrottleSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } - -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Timeout.swift b/Example/Pods/RxSwift/RxSwift/Observables/Timeout.swift deleted file mode 100644 index 7008de8..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Timeout.swift +++ /dev/null @@ -1,152 +0,0 @@ -// -// Timeout.swift -// RxSwift -// -// Created by Tomi Koskinen on 13/11/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Applies a timeout policy for each element in the observable sequence. If the next element isn't received within the specified timeout duration starting from its predecessor, a TimeoutError is propagated to the observer. - - - seealso: [timeout operator on reactivex.io](http://reactivex.io/documentation/operators/timeout.html) - - - parameter dueTime: Maximum duration between values before a timeout occurs. - - parameter scheduler: Scheduler to run the timeout timer on. - - returns: An observable sequence with a `RxError.timeout` in case of a timeout. - */ - public func timeout(_ dueTime: RxTimeInterval, scheduler: SchedulerType) - -> Observable { - return Timeout(source: self.asObservable(), dueTime: dueTime, other: Observable.error(RxError.timeout), scheduler: scheduler) - } - - /** - Applies a timeout policy for each element in the observable sequence, using the specified scheduler to run timeout timers. If the next element isn't received within the specified timeout duration starting from its predecessor, the other observable sequence is used to produce future messages from that point on. - - - seealso: [timeout operator on reactivex.io](http://reactivex.io/documentation/operators/timeout.html) - - - parameter dueTime: Maximum duration between values before a timeout occurs. - - parameter other: Sequence to return in case of a timeout. - - parameter scheduler: Scheduler to run the timeout timer on. - - returns: The source sequence switching to the other sequence in case of a timeout. - */ - public func timeout(_ dueTime: RxTimeInterval, other: O, scheduler: SchedulerType) - -> Observable where E == O.E { - return Timeout(source: self.asObservable(), dueTime: dueTime, other: other.asObservable(), scheduler: scheduler) - } -} - -final fileprivate class TimeoutSink: Sink, LockOwnerType, ObserverType { - typealias E = O.E - typealias Parent = Timeout - - private let _parent: Parent - - let _lock = RecursiveLock() - - private let _timerD = SerialDisposable() - private let _subscription = SerialDisposable() - - private var _id = 0 - private var _switched = false - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - let original = SingleAssignmentDisposable() - _subscription.disposable = original - - _createTimeoutTimer() - - original.setDisposable(_parent._source.subscribe(self)) - - return Disposables.create(_subscription, _timerD) - } - - func on(_ event: Event) { - switch event { - case .next: - var onNextWins = false - - _lock.performLocked() { - onNextWins = !self._switched - if onNextWins { - self._id = self._id &+ 1 - } - } - - if onNextWins { - forwardOn(event) - self._createTimeoutTimer() - } - case .error, .completed: - var onEventWins = false - - _lock.performLocked() { - onEventWins = !self._switched - if onEventWins { - self._id = self._id &+ 1 - } - } - - if onEventWins { - forwardOn(event) - self.dispose() - } - } - } - - private func _createTimeoutTimer() { - if _timerD.isDisposed { - return - } - - let nextTimer = SingleAssignmentDisposable() - _timerD.disposable = nextTimer - - let disposeSchedule = _parent._scheduler.scheduleRelative(_id, dueTime: _parent._dueTime) { state in - - var timerWins = false - - self._lock.performLocked() { - self._switched = (state == self._id) - timerWins = self._switched - } - - if timerWins { - self._subscription.disposable = self._parent._other.subscribe(self.forwarder()) - } - - return Disposables.create() - } - - nextTimer.setDisposable(disposeSchedule) - } -} - - -final fileprivate class Timeout : Producer { - - fileprivate let _source: Observable - fileprivate let _dueTime: RxTimeInterval - fileprivate let _other: Observable - fileprivate let _scheduler: SchedulerType - - init(source: Observable, dueTime: RxTimeInterval, other: Observable, scheduler: SchedulerType) { - _source = source - _dueTime = dueTime - _other = other - _scheduler = scheduler - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element { - let sink = TimeoutSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Timer.swift b/Example/Pods/RxSwift/RxSwift/Observables/Timer.swift deleted file mode 100644 index dec69e1..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Timer.swift +++ /dev/null @@ -1,111 +0,0 @@ -// -// Timer.swift -// RxSwift -// -// Created by Krunoslav Zaher on 6/7/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType where E : RxAbstractInteger { - /** - Returns an observable sequence that produces a value after each period, using the specified scheduler to run timers and to send out observer messages. - - - seealso: [interval operator on reactivex.io](http://reactivex.io/documentation/operators/interval.html) - - - parameter period: Period for producing the values in the resulting sequence. - - parameter scheduler: Scheduler to run the timer on. - - returns: An observable sequence that produces a value after each period. - */ - public static func interval(_ period: RxTimeInterval, scheduler: SchedulerType) - -> Observable { - return Timer(dueTime: period, - period: period, - scheduler: scheduler - ) - } -} - -extension ObservableType where E: RxAbstractInteger { - /** - Returns an observable sequence that periodically produces a value after the specified initial relative due time has elapsed, using the specified scheduler to run timers. - - - seealso: [timer operator on reactivex.io](http://reactivex.io/documentation/operators/timer.html) - - - parameter dueTime: Relative time at which to produce the first value. - - parameter period: Period to produce subsequent values. - - parameter scheduler: Scheduler to run timers on. - - returns: An observable sequence that produces a value after due time has elapsed and then each period. - */ - public static func timer(_ dueTime: RxTimeInterval, period: RxTimeInterval? = nil, scheduler: SchedulerType) - -> Observable { - return Timer( - dueTime: dueTime, - period: period, - scheduler: scheduler - ) - } -} - -final fileprivate class TimerSink : Sink where O.E : RxAbstractInteger { - typealias Parent = Timer - - private let _parent: Parent - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - return _parent._scheduler.schedulePeriodic(0 as O.E, startAfter: _parent._dueTime, period: _parent._period!) { state in - self.forwardOn(.next(state)) - return state &+ 1 - } - } -} - -final fileprivate class TimerOneOffSink : Sink where O.E : RxAbstractInteger { - typealias Parent = Timer - - private let _parent: Parent - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - return _parent._scheduler.scheduleRelative(self, dueTime: _parent._dueTime) { (`self`) -> Disposable in - self.forwardOn(.next(0)) - self.forwardOn(.completed) - self.dispose() - - return Disposables.create() - } - } -} - -final fileprivate class Timer: Producer { - fileprivate let _scheduler: SchedulerType - fileprivate let _dueTime: RxTimeInterval - fileprivate let _period: RxTimeInterval? - - init(dueTime: RxTimeInterval, period: RxTimeInterval?, scheduler: SchedulerType) { - _scheduler = scheduler - _dueTime = dueTime - _period = period - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E { - if let _ = _period { - let sink = TimerSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } - else { - let sink = TimerOneOffSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/ToArray.swift b/Example/Pods/RxSwift/RxSwift/Observables/ToArray.swift deleted file mode 100644 index 93fcb80..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/ToArray.swift +++ /dev/null @@ -1,66 +0,0 @@ -// -// ToArray.swift -// RxSwift -// -// Created by Junior B. on 20/10/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - - -extension ObservableType { - - /** - Converts an Observable into another Observable that emits the whole sequence as a single array and then terminates. - - For aggregation behavior see `reduce`. - - - seealso: [toArray operator on reactivex.io](http://reactivex.io/documentation/operators/to.html) - - - returns: An observable sequence containing all the emitted elements as array. - */ - public func toArray() - -> Observable<[E]> { - return ToArray(source: self.asObservable()) - } -} - -final fileprivate class ToArraySink : Sink, ObserverType where O.E == [SourceType] { - typealias Parent = ToArray - - let _parent: Parent - var _list = Array() - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event) { - switch event { - case .next(let value): - self._list.append(value) - case .error(let e): - forwardOn(.error(e)) - self.dispose() - case .completed: - forwardOn(.next(_list)) - forwardOn(.completed) - self.dispose() - } - } -} - -final fileprivate class ToArray : Producer<[SourceType]> { - let _source: Observable - - init(source: Observable) { - _source = source - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == [SourceType] { - let sink = ToArraySink(parent: self, observer: observer, cancel: cancel) - let subscription = _source.subscribe(sink) - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Using.swift b/Example/Pods/RxSwift/RxSwift/Observables/Using.swift deleted file mode 100644 index 8ea8326..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Using.swift +++ /dev/null @@ -1,90 +0,0 @@ -// -// Using.swift -// RxSwift -// -// Created by Yury Korolev on 10/15/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - /** - Constructs an observable sequence that depends on a resource object, whose lifetime is tied to the resulting observable sequence's lifetime. - - - seealso: [using operator on reactivex.io](http://reactivex.io/documentation/operators/using.html) - - - parameter resourceFactory: Factory function to obtain a resource object. - - parameter observableFactory: Factory function to obtain an observable sequence that depends on the obtained resource. - - returns: An observable sequence whose lifetime controls the lifetime of the dependent resource object. - */ - public static func using(_ resourceFactory: @escaping () throws -> Resource, observableFactory: @escaping (Resource) throws -> Observable) -> Observable { - return Using(resourceFactory: resourceFactory, observableFactory: observableFactory) - } -} - -final fileprivate class UsingSink : Sink, ObserverType { - typealias SourceType = O.E - typealias Parent = Using - - private let _parent: Parent - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - var disposable = Disposables.create() - - do { - let resource = try _parent._resourceFactory() - disposable = resource - let source = try _parent._observableFactory(resource) - - return Disposables.create( - source.subscribe(self), - disposable - ) - } catch let error { - return Disposables.create( - Observable.error(error).subscribe(self), - disposable - ) - } - } - - func on(_ event: Event) { - switch event { - case let .next(value): - forwardOn(.next(value)) - case let .error(error): - forwardOn(.error(error)) - dispose() - case .completed: - forwardOn(.completed) - dispose() - } - } -} - -final fileprivate class Using: Producer { - - typealias E = SourceType - - typealias ResourceFactory = () throws -> ResourceType - typealias ObservableFactory = (ResourceType) throws -> Observable - - fileprivate let _resourceFactory: ResourceFactory - fileprivate let _observableFactory: ObservableFactory - - - init(resourceFactory: @escaping ResourceFactory, observableFactory: @escaping ObservableFactory) { - _resourceFactory = resourceFactory - _observableFactory = observableFactory - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E { - let sink = UsingSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Window.swift b/Example/Pods/RxSwift/RxSwift/Observables/Window.swift deleted file mode 100644 index c862dfb..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Window.swift +++ /dev/null @@ -1,170 +0,0 @@ -// -// Window.swift -// RxSwift -// -// Created by Junior B. on 29/10/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Projects each element of an observable sequence into a window that is completed when either it’s full or a given amount of time has elapsed. - - - seealso: [window operator on reactivex.io](http://reactivex.io/documentation/operators/window.html) - - - parameter timeSpan: Maximum time length of a window. - - parameter count: Maximum element count of a window. - - parameter scheduler: Scheduler to run windowing timers on. - - returns: An observable sequence of windows (instances of `Observable`). - */ - public func window(timeSpan: RxTimeInterval, count: Int, scheduler: SchedulerType) - -> Observable> { - return WindowTimeCount(source: self.asObservable(), timeSpan: timeSpan, count: count, scheduler: scheduler) - } -} - -final fileprivate class WindowTimeCountSink - : Sink - , ObserverType - , LockOwnerType - , SynchronizedOnType where O.E == Observable { - typealias Parent = WindowTimeCount - typealias E = Element - - private let _parent: Parent - - let _lock = RecursiveLock() - - private var _subject = PublishSubject() - private var _count = 0 - private var _windowId = 0 - - private let _timerD = SerialDisposable() - private let _refCountDisposable: RefCountDisposable - private let _groupDisposable = CompositeDisposable() - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - - let _ = _groupDisposable.insert(_timerD) - - _refCountDisposable = RefCountDisposable(disposable: _groupDisposable) - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - - forwardOn(.next(AddRef(source: _subject, refCount: _refCountDisposable).asObservable())) - createTimer(_windowId) - - let _ = _groupDisposable.insert(_parent._source.subscribe(self)) - return _refCountDisposable - } - - func startNewWindowAndCompleteCurrentOne() { - _subject.on(.completed) - _subject = PublishSubject() - - forwardOn(.next(AddRef(source: _subject, refCount: _refCountDisposable).asObservable())) - } - - func on(_ event: Event) { - synchronizedOn(event) - } - - func _synchronized_on(_ event: Event) { - var newWindow = false - var newId = 0 - - switch event { - case .next(let element): - _subject.on(.next(element)) - - do { - let _ = try incrementChecked(&_count) - } catch (let e) { - _subject.on(.error(e as Swift.Error)) - dispose() - } - - if (_count == _parent._count) { - newWindow = true - _count = 0 - _windowId += 1 - newId = _windowId - self.startNewWindowAndCompleteCurrentOne() - } - - case .error(let error): - _subject.on(.error(error)) - forwardOn(.error(error)) - dispose() - case .completed: - _subject.on(.completed) - forwardOn(.completed) - dispose() - } - - if newWindow { - createTimer(newId) - } - } - - func createTimer(_ windowId: Int) { - if _timerD.isDisposed { - return - } - - if _windowId != windowId { - return - } - - let nextTimer = SingleAssignmentDisposable() - - _timerD.disposable = nextTimer - - let scheduledRelative = _parent._scheduler.scheduleRelative(windowId, dueTime: _parent._timeSpan) { previousWindowId in - - var newId = 0 - - self._lock.performLocked { - if previousWindowId != self._windowId { - return - } - - self._count = 0 - self._windowId = self._windowId &+ 1 - newId = self._windowId - self.startNewWindowAndCompleteCurrentOne() - } - - self.createTimer(newId) - - return Disposables.create() - } - - nextTimer.setDisposable(scheduledRelative) - } -} - -final fileprivate class WindowTimeCount : Producer> { - - fileprivate let _timeSpan: RxTimeInterval - fileprivate let _count: Int - fileprivate let _scheduler: SchedulerType - fileprivate let _source: Observable - - init(source: Observable, timeSpan: RxTimeInterval, count: Int, scheduler: SchedulerType) { - _source = source - _timeSpan = timeSpan - _count = count - _scheduler = scheduler - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Observable { - let sink = WindowTimeCountSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift b/Example/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift deleted file mode 100644 index bd22e2f..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift +++ /dev/null @@ -1,149 +0,0 @@ -// -// WithLatestFrom.swift -// RxSwift -// -// Created by Yury Korolev on 10/19/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - - /** - Merges two observable sequences into one observable sequence by combining each element from self with the latest element from the second source, if any. - - - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - parameter second: Second observable source. - - parameter resultSelector: Function to invoke for each element from the self combined with the latest element from the second source, if any. - - returns: An observable sequence containing the result of combining each element of the self with the latest element from the second source, if any, using the specified result selector function. - */ - public func withLatestFrom(_ second: SecondO, resultSelector: @escaping (E, SecondO.E) throws -> ResultType) -> Observable { - return WithLatestFrom(first: asObservable(), second: second.asObservable(), resultSelector: resultSelector) - } - - /** - Merges two observable sequences into one observable sequence by using latest element from the second sequence every time when `self` emits an element. - - - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html) - - - parameter second: Second observable source. - - returns: An observable sequence containing the result of combining each element of the self with the latest element from the second source, if any, using the specified result selector function. - */ - public func withLatestFrom(_ second: SecondO) -> Observable { - return WithLatestFrom(first: asObservable(), second: second.asObservable(), resultSelector: { $1 }) - } -} - -final fileprivate class WithLatestFromSink - : Sink - , ObserverType - , LockOwnerType - , SynchronizedOnType { - typealias ResultType = O.E - typealias Parent = WithLatestFrom - typealias E = FirstType - - fileprivate let _parent: Parent - - var _lock = RecursiveLock() - fileprivate var _latest: SecondType? - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - - super.init(observer: observer, cancel: cancel) - } - - func run() -> Disposable { - let sndSubscription = SingleAssignmentDisposable() - let sndO = WithLatestFromSecond(parent: self, disposable: sndSubscription) - - sndSubscription.setDisposable(_parent._second.subscribe(sndO)) - let fstSubscription = _parent._first.subscribe(self) - - return Disposables.create(fstSubscription, sndSubscription) - } - - func on(_ event: Event) { - synchronizedOn(event) - } - - func _synchronized_on(_ event: Event) { - switch event { - case let .next(value): - guard let latest = _latest else { return } - do { - let res = try _parent._resultSelector(value, latest) - - forwardOn(.next(res)) - } catch let e { - forwardOn(.error(e)) - dispose() - } - case .completed: - forwardOn(.completed) - dispose() - case let .error(error): - forwardOn(.error(error)) - dispose() - } - } -} - -final fileprivate class WithLatestFromSecond - : ObserverType - , LockOwnerType - , SynchronizedOnType { - - typealias ResultType = O.E - typealias Parent = WithLatestFromSink - typealias E = SecondType - - private let _parent: Parent - private let _disposable: Disposable - - var _lock: RecursiveLock { - return _parent._lock - } - - init(parent: Parent, disposable: Disposable) { - _parent = parent - _disposable = disposable - } - - func on(_ event: Event) { - synchronizedOn(event) - } - - func _synchronized_on(_ event: Event) { - switch event { - case let .next(value): - _parent._latest = value - case .completed: - _disposable.dispose() - case let .error(error): - _parent.forwardOn(.error(error)) - _parent.dispose() - } - } -} - -final fileprivate class WithLatestFrom: Producer { - typealias ResultSelector = (FirstType, SecondType) throws -> ResultType - - fileprivate let _first: Observable - fileprivate let _second: Observable - fileprivate let _resultSelector: ResultSelector - - init(first: Observable, second: Observable, resultSelector: @escaping ResultSelector) { - _first = first - _second = second - _resultSelector = resultSelector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == ResultType { - let sink = WithLatestFromSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift b/Example/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift deleted file mode 100644 index 1a871c1..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift +++ /dev/null @@ -1,169 +0,0 @@ -// -// Zip+Collection.swift -// RxSwift -// -// Created by Krunoslav Zaher on 8/30/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -extension ObservableType { - /** - Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index. - - - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html) - - - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources. - - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function. - */ - public static func zip(_ collection: C, _ resultSelector: @escaping ([C.Iterator.Element.E]) throws -> E) -> Observable - where C.Iterator.Element: ObservableType { - return ZipCollectionType(sources: collection, resultSelector: resultSelector) - } - - /** - Merges the specified observable sequences into one observable sequence whenever all of the observable sequences have produced an element at a corresponding index. - - - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html) - - - returns: An observable sequence containing the result of combining elements of the sources. - */ - public static func zip(_ collection: C) -> Observable<[E]> - where C.Iterator.Element: ObservableType, C.Iterator.Element.E == E { - return ZipCollectionType(sources: collection, resultSelector: { $0 }) - } - -} - -final fileprivate class ZipCollectionTypeSink - : Sink where C.Iterator.Element : ObservableConvertibleType { - typealias R = O.E - typealias Parent = ZipCollectionType - typealias SourceElement = C.Iterator.Element.E - - private let _parent: Parent - - private let _lock = RecursiveLock() - - // state - private var _numberOfValues = 0 - private var _values: [Queue] - private var _isDone: [Bool] - private var _numberOfDone = 0 - private var _subscriptions: [SingleAssignmentDisposable] - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - _values = [Queue](repeating: Queue(capacity: 4), count: parent.count) - _isDone = [Bool](repeating: false, count: parent.count) - _subscriptions = Array() - _subscriptions.reserveCapacity(parent.count) - - for _ in 0 ..< parent.count { - _subscriptions.append(SingleAssignmentDisposable()) - } - - super.init(observer: observer, cancel: cancel) - } - - func on(_ event: Event, atIndex: Int) { - _lock.lock(); defer { _lock.unlock() } // { - switch event { - case .next(let element): - _values[atIndex].enqueue(element) - - if _values[atIndex].count == 1 { - _numberOfValues += 1 - } - - if _numberOfValues < _parent.count { - if _numberOfDone == _parent.count - 1 { - self.forwardOn(.completed) - self.dispose() - } - return - } - - do { - var arguments = [SourceElement]() - arguments.reserveCapacity(_parent.count) - - // recalculate number of values - _numberOfValues = 0 - - for i in 0 ..< _values.count { - arguments.append(_values[i].dequeue()!) - if !_values[i].isEmpty { - _numberOfValues += 1 - } - } - - let result = try _parent.resultSelector(arguments) - self.forwardOn(.next(result)) - } - catch let error { - self.forwardOn(.error(error)) - self.dispose() - } - - case .error(let error): - self.forwardOn(.error(error)) - self.dispose() - case .completed: - if _isDone[atIndex] { - return - } - - _isDone[atIndex] = true - _numberOfDone += 1 - - if _numberOfDone == _parent.count { - self.forwardOn(.completed) - self.dispose() - } - else { - _subscriptions[atIndex].dispose() - } - } - // } - } - - func run() -> Disposable { - var j = 0 - for i in _parent.sources { - let index = j - let source = i.asObservable() - - let disposable = source.subscribe(AnyObserver { event in - self.on(event, atIndex: index) - }) - _subscriptions[j].setDisposable(disposable) - j += 1 - } - - if _parent.sources.isEmpty { - self.forwardOn(.completed) - } - - return Disposables.create(_subscriptions) - } -} - -final fileprivate class ZipCollectionType : Producer where C.Iterator.Element : ObservableConvertibleType { - typealias ResultSelector = ([C.Iterator.Element.E]) throws -> R - - let sources: C - let resultSelector: ResultSelector - let count: Int - - init(sources: C, resultSelector: @escaping ResultSelector) { - self.sources = sources - self.resultSelector = resultSelector - self.count = Int(Int64(self.sources.count)) - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R { - let sink = ZipCollectionTypeSink(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift b/Example/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift deleted file mode 100644 index 434543e..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift +++ /dev/null @@ -1,948 +0,0 @@ -// This file is autogenerated. Take a look at `Preprocessor` target in RxSwift project -// -// Zip+arity.swift -// RxSwift -// -// Created by Krunoslav Zaher on 5/23/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - - - -// 2 - -extension ObservableType { - /** - Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index. - - - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html) - - - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources. - - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function. - */ - public static func zip - (_ source1: O1, _ source2: O2, resultSelector: @escaping (O1.E, O2.E) throws -> E) - -> Observable { - return Zip2( - source1: source1.asObservable(), source2: source2.asObservable(), - resultSelector: resultSelector - ) - } -} - -extension ObservableType where E == Any { - /** - Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index. - - - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html) - - - returns: An observable sequence containing the result of combining elements of the sources. - */ - public static func zip - (_ source1: O1, _ source2: O2) - -> Observable<(O1.E, O2.E)> { - return Zip2( - source1: source1.asObservable(), source2: source2.asObservable(), - resultSelector: { ($0, $1) } - ) - } -} - -final class ZipSink2_ : ZipSink { - typealias R = O.E - typealias Parent = Zip2 - - let _parent: Parent - - var _values1: Queue = Queue(capacity: 2) - var _values2: Queue = Queue(capacity: 2) - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(arity: 2, observer: observer, cancel: cancel) - } - - override func hasElements(_ index: Int) -> Bool { - switch (index) { - case 0: return !_values1.isEmpty - case 1: return !_values2.isEmpty - - default: - rxFatalError("Unhandled case (Function)") - } - - return false - } - - func run() -> Disposable { - let subscription1 = SingleAssignmentDisposable() - let subscription2 = SingleAssignmentDisposable() - - let observer1 = ZipObserver(lock: _lock, parent: self, index: 0, setNextValue: { self._values1.enqueue($0) }, this: subscription1) - let observer2 = ZipObserver(lock: _lock, parent: self, index: 1, setNextValue: { self._values2.enqueue($0) }, this: subscription2) - - subscription1.setDisposable(_parent.source1.subscribe(observer1)) - subscription2.setDisposable(_parent.source2.subscribe(observer2)) - - return Disposables.create([ - subscription1, - subscription2 - ]) - } - - override func getResult() throws -> R { - return try _parent._resultSelector(_values1.dequeue()!, _values2.dequeue()!) - } -} - -final class Zip2 : Producer { - typealias ResultSelector = (E1, E2) throws -> R - - let source1: Observable - let source2: Observable - - let _resultSelector: ResultSelector - - init(source1: Observable, source2: Observable, resultSelector: @escaping ResultSelector) { - self.source1 = source1 - self.source2 = source2 - - _resultSelector = resultSelector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R { - let sink = ZipSink2_(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - - - -// 3 - -extension ObservableType { - /** - Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index. - - - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html) - - - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources. - - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function. - */ - public static func zip - (_ source1: O1, _ source2: O2, _ source3: O3, resultSelector: @escaping (O1.E, O2.E, O3.E) throws -> E) - -> Observable { - return Zip3( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), - resultSelector: resultSelector - ) - } -} - -extension ObservableType where E == Any { - /** - Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index. - - - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html) - - - returns: An observable sequence containing the result of combining elements of the sources. - */ - public static func zip - (_ source1: O1, _ source2: O2, _ source3: O3) - -> Observable<(O1.E, O2.E, O3.E)> { - return Zip3( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), - resultSelector: { ($0, $1, $2) } - ) - } -} - -final class ZipSink3_ : ZipSink { - typealias R = O.E - typealias Parent = Zip3 - - let _parent: Parent - - var _values1: Queue = Queue(capacity: 2) - var _values2: Queue = Queue(capacity: 2) - var _values3: Queue = Queue(capacity: 2) - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(arity: 3, observer: observer, cancel: cancel) - } - - override func hasElements(_ index: Int) -> Bool { - switch (index) { - case 0: return !_values1.isEmpty - case 1: return !_values2.isEmpty - case 2: return !_values3.isEmpty - - default: - rxFatalError("Unhandled case (Function)") - } - - return false - } - - func run() -> Disposable { - let subscription1 = SingleAssignmentDisposable() - let subscription2 = SingleAssignmentDisposable() - let subscription3 = SingleAssignmentDisposable() - - let observer1 = ZipObserver(lock: _lock, parent: self, index: 0, setNextValue: { self._values1.enqueue($0) }, this: subscription1) - let observer2 = ZipObserver(lock: _lock, parent: self, index: 1, setNextValue: { self._values2.enqueue($0) }, this: subscription2) - let observer3 = ZipObserver(lock: _lock, parent: self, index: 2, setNextValue: { self._values3.enqueue($0) }, this: subscription3) - - subscription1.setDisposable(_parent.source1.subscribe(observer1)) - subscription2.setDisposable(_parent.source2.subscribe(observer2)) - subscription3.setDisposable(_parent.source3.subscribe(observer3)) - - return Disposables.create([ - subscription1, - subscription2, - subscription3 - ]) - } - - override func getResult() throws -> R { - return try _parent._resultSelector(_values1.dequeue()!, _values2.dequeue()!, _values3.dequeue()!) - } -} - -final class Zip3 : Producer { - typealias ResultSelector = (E1, E2, E3) throws -> R - - let source1: Observable - let source2: Observable - let source3: Observable - - let _resultSelector: ResultSelector - - init(source1: Observable, source2: Observable, source3: Observable, resultSelector: @escaping ResultSelector) { - self.source1 = source1 - self.source2 = source2 - self.source3 = source3 - - _resultSelector = resultSelector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R { - let sink = ZipSink3_(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - - - -// 4 - -extension ObservableType { - /** - Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index. - - - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html) - - - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources. - - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function. - */ - public static func zip - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E) throws -> E) - -> Observable { - return Zip4( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), - resultSelector: resultSelector - ) - } -} - -extension ObservableType where E == Any { - /** - Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index. - - - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html) - - - returns: An observable sequence containing the result of combining elements of the sources. - */ - public static func zip - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4) - -> Observable<(O1.E, O2.E, O3.E, O4.E)> { - return Zip4( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), - resultSelector: { ($0, $1, $2, $3) } - ) - } -} - -final class ZipSink4_ : ZipSink { - typealias R = O.E - typealias Parent = Zip4 - - let _parent: Parent - - var _values1: Queue = Queue(capacity: 2) - var _values2: Queue = Queue(capacity: 2) - var _values3: Queue = Queue(capacity: 2) - var _values4: Queue = Queue(capacity: 2) - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(arity: 4, observer: observer, cancel: cancel) - } - - override func hasElements(_ index: Int) -> Bool { - switch (index) { - case 0: return !_values1.isEmpty - case 1: return !_values2.isEmpty - case 2: return !_values3.isEmpty - case 3: return !_values4.isEmpty - - default: - rxFatalError("Unhandled case (Function)") - } - - return false - } - - func run() -> Disposable { - let subscription1 = SingleAssignmentDisposable() - let subscription2 = SingleAssignmentDisposable() - let subscription3 = SingleAssignmentDisposable() - let subscription4 = SingleAssignmentDisposable() - - let observer1 = ZipObserver(lock: _lock, parent: self, index: 0, setNextValue: { self._values1.enqueue($0) }, this: subscription1) - let observer2 = ZipObserver(lock: _lock, parent: self, index: 1, setNextValue: { self._values2.enqueue($0) }, this: subscription2) - let observer3 = ZipObserver(lock: _lock, parent: self, index: 2, setNextValue: { self._values3.enqueue($0) }, this: subscription3) - let observer4 = ZipObserver(lock: _lock, parent: self, index: 3, setNextValue: { self._values4.enqueue($0) }, this: subscription4) - - subscription1.setDisposable(_parent.source1.subscribe(observer1)) - subscription2.setDisposable(_parent.source2.subscribe(observer2)) - subscription3.setDisposable(_parent.source3.subscribe(observer3)) - subscription4.setDisposable(_parent.source4.subscribe(observer4)) - - return Disposables.create([ - subscription1, - subscription2, - subscription3, - subscription4 - ]) - } - - override func getResult() throws -> R { - return try _parent._resultSelector(_values1.dequeue()!, _values2.dequeue()!, _values3.dequeue()!, _values4.dequeue()!) - } -} - -final class Zip4 : Producer { - typealias ResultSelector = (E1, E2, E3, E4) throws -> R - - let source1: Observable - let source2: Observable - let source3: Observable - let source4: Observable - - let _resultSelector: ResultSelector - - init(source1: Observable, source2: Observable, source3: Observable, source4: Observable, resultSelector: @escaping ResultSelector) { - self.source1 = source1 - self.source2 = source2 - self.source3 = source3 - self.source4 = source4 - - _resultSelector = resultSelector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R { - let sink = ZipSink4_(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - - - -// 5 - -extension ObservableType { - /** - Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index. - - - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html) - - - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources. - - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function. - */ - public static func zip - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E, O5.E) throws -> E) - -> Observable { - return Zip5( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), - resultSelector: resultSelector - ) - } -} - -extension ObservableType where E == Any { - /** - Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index. - - - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html) - - - returns: An observable sequence containing the result of combining elements of the sources. - */ - public static func zip - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5) - -> Observable<(O1.E, O2.E, O3.E, O4.E, O5.E)> { - return Zip5( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), - resultSelector: { ($0, $1, $2, $3, $4) } - ) - } -} - -final class ZipSink5_ : ZipSink { - typealias R = O.E - typealias Parent = Zip5 - - let _parent: Parent - - var _values1: Queue = Queue(capacity: 2) - var _values2: Queue = Queue(capacity: 2) - var _values3: Queue = Queue(capacity: 2) - var _values4: Queue = Queue(capacity: 2) - var _values5: Queue = Queue(capacity: 2) - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(arity: 5, observer: observer, cancel: cancel) - } - - override func hasElements(_ index: Int) -> Bool { - switch (index) { - case 0: return !_values1.isEmpty - case 1: return !_values2.isEmpty - case 2: return !_values3.isEmpty - case 3: return !_values4.isEmpty - case 4: return !_values5.isEmpty - - default: - rxFatalError("Unhandled case (Function)") - } - - return false - } - - func run() -> Disposable { - let subscription1 = SingleAssignmentDisposable() - let subscription2 = SingleAssignmentDisposable() - let subscription3 = SingleAssignmentDisposable() - let subscription4 = SingleAssignmentDisposable() - let subscription5 = SingleAssignmentDisposable() - - let observer1 = ZipObserver(lock: _lock, parent: self, index: 0, setNextValue: { self._values1.enqueue($0) }, this: subscription1) - let observer2 = ZipObserver(lock: _lock, parent: self, index: 1, setNextValue: { self._values2.enqueue($0) }, this: subscription2) - let observer3 = ZipObserver(lock: _lock, parent: self, index: 2, setNextValue: { self._values3.enqueue($0) }, this: subscription3) - let observer4 = ZipObserver(lock: _lock, parent: self, index: 3, setNextValue: { self._values4.enqueue($0) }, this: subscription4) - let observer5 = ZipObserver(lock: _lock, parent: self, index: 4, setNextValue: { self._values5.enqueue($0) }, this: subscription5) - - subscription1.setDisposable(_parent.source1.subscribe(observer1)) - subscription2.setDisposable(_parent.source2.subscribe(observer2)) - subscription3.setDisposable(_parent.source3.subscribe(observer3)) - subscription4.setDisposable(_parent.source4.subscribe(observer4)) - subscription5.setDisposable(_parent.source5.subscribe(observer5)) - - return Disposables.create([ - subscription1, - subscription2, - subscription3, - subscription4, - subscription5 - ]) - } - - override func getResult() throws -> R { - return try _parent._resultSelector(_values1.dequeue()!, _values2.dequeue()!, _values3.dequeue()!, _values4.dequeue()!, _values5.dequeue()!) - } -} - -final class Zip5 : Producer { - typealias ResultSelector = (E1, E2, E3, E4, E5) throws -> R - - let source1: Observable - let source2: Observable - let source3: Observable - let source4: Observable - let source5: Observable - - let _resultSelector: ResultSelector - - init(source1: Observable, source2: Observable, source3: Observable, source4: Observable, source5: Observable, resultSelector: @escaping ResultSelector) { - self.source1 = source1 - self.source2 = source2 - self.source3 = source3 - self.source4 = source4 - self.source5 = source5 - - _resultSelector = resultSelector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R { - let sink = ZipSink5_(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - - - -// 6 - -extension ObservableType { - /** - Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index. - - - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html) - - - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources. - - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function. - */ - public static func zip - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E, O5.E, O6.E) throws -> E) - -> Observable { - return Zip6( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), - resultSelector: resultSelector - ) - } -} - -extension ObservableType where E == Any { - /** - Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index. - - - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html) - - - returns: An observable sequence containing the result of combining elements of the sources. - */ - public static func zip - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6) - -> Observable<(O1.E, O2.E, O3.E, O4.E, O5.E, O6.E)> { - return Zip6( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), - resultSelector: { ($0, $1, $2, $3, $4, $5) } - ) - } -} - -final class ZipSink6_ : ZipSink { - typealias R = O.E - typealias Parent = Zip6 - - let _parent: Parent - - var _values1: Queue = Queue(capacity: 2) - var _values2: Queue = Queue(capacity: 2) - var _values3: Queue = Queue(capacity: 2) - var _values4: Queue = Queue(capacity: 2) - var _values5: Queue = Queue(capacity: 2) - var _values6: Queue = Queue(capacity: 2) - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(arity: 6, observer: observer, cancel: cancel) - } - - override func hasElements(_ index: Int) -> Bool { - switch (index) { - case 0: return !_values1.isEmpty - case 1: return !_values2.isEmpty - case 2: return !_values3.isEmpty - case 3: return !_values4.isEmpty - case 4: return !_values5.isEmpty - case 5: return !_values6.isEmpty - - default: - rxFatalError("Unhandled case (Function)") - } - - return false - } - - func run() -> Disposable { - let subscription1 = SingleAssignmentDisposable() - let subscription2 = SingleAssignmentDisposable() - let subscription3 = SingleAssignmentDisposable() - let subscription4 = SingleAssignmentDisposable() - let subscription5 = SingleAssignmentDisposable() - let subscription6 = SingleAssignmentDisposable() - - let observer1 = ZipObserver(lock: _lock, parent: self, index: 0, setNextValue: { self._values1.enqueue($0) }, this: subscription1) - let observer2 = ZipObserver(lock: _lock, parent: self, index: 1, setNextValue: { self._values2.enqueue($0) }, this: subscription2) - let observer3 = ZipObserver(lock: _lock, parent: self, index: 2, setNextValue: { self._values3.enqueue($0) }, this: subscription3) - let observer4 = ZipObserver(lock: _lock, parent: self, index: 3, setNextValue: { self._values4.enqueue($0) }, this: subscription4) - let observer5 = ZipObserver(lock: _lock, parent: self, index: 4, setNextValue: { self._values5.enqueue($0) }, this: subscription5) - let observer6 = ZipObserver(lock: _lock, parent: self, index: 5, setNextValue: { self._values6.enqueue($0) }, this: subscription6) - - subscription1.setDisposable(_parent.source1.subscribe(observer1)) - subscription2.setDisposable(_parent.source2.subscribe(observer2)) - subscription3.setDisposable(_parent.source3.subscribe(observer3)) - subscription4.setDisposable(_parent.source4.subscribe(observer4)) - subscription5.setDisposable(_parent.source5.subscribe(observer5)) - subscription6.setDisposable(_parent.source6.subscribe(observer6)) - - return Disposables.create([ - subscription1, - subscription2, - subscription3, - subscription4, - subscription5, - subscription6 - ]) - } - - override func getResult() throws -> R { - return try _parent._resultSelector(_values1.dequeue()!, _values2.dequeue()!, _values3.dequeue()!, _values4.dequeue()!, _values5.dequeue()!, _values6.dequeue()!) - } -} - -final class Zip6 : Producer { - typealias ResultSelector = (E1, E2, E3, E4, E5, E6) throws -> R - - let source1: Observable - let source2: Observable - let source3: Observable - let source4: Observable - let source5: Observable - let source6: Observable - - let _resultSelector: ResultSelector - - init(source1: Observable, source2: Observable, source3: Observable, source4: Observable, source5: Observable, source6: Observable, resultSelector: @escaping ResultSelector) { - self.source1 = source1 - self.source2 = source2 - self.source3 = source3 - self.source4 = source4 - self.source5 = source5 - self.source6 = source6 - - _resultSelector = resultSelector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R { - let sink = ZipSink6_(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - - - -// 7 - -extension ObservableType { - /** - Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index. - - - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html) - - - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources. - - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function. - */ - public static func zip - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, _ source7: O7, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E, O5.E, O6.E, O7.E) throws -> E) - -> Observable { - return Zip7( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), source7: source7.asObservable(), - resultSelector: resultSelector - ) - } -} - -extension ObservableType where E == Any { - /** - Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index. - - - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html) - - - returns: An observable sequence containing the result of combining elements of the sources. - */ - public static func zip - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, _ source7: O7) - -> Observable<(O1.E, O2.E, O3.E, O4.E, O5.E, O6.E, O7.E)> { - return Zip7( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), source7: source7.asObservable(), - resultSelector: { ($0, $1, $2, $3, $4, $5, $6) } - ) - } -} - -final class ZipSink7_ : ZipSink { - typealias R = O.E - typealias Parent = Zip7 - - let _parent: Parent - - var _values1: Queue = Queue(capacity: 2) - var _values2: Queue = Queue(capacity: 2) - var _values3: Queue = Queue(capacity: 2) - var _values4: Queue = Queue(capacity: 2) - var _values5: Queue = Queue(capacity: 2) - var _values6: Queue = Queue(capacity: 2) - var _values7: Queue = Queue(capacity: 2) - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(arity: 7, observer: observer, cancel: cancel) - } - - override func hasElements(_ index: Int) -> Bool { - switch (index) { - case 0: return !_values1.isEmpty - case 1: return !_values2.isEmpty - case 2: return !_values3.isEmpty - case 3: return !_values4.isEmpty - case 4: return !_values5.isEmpty - case 5: return !_values6.isEmpty - case 6: return !_values7.isEmpty - - default: - rxFatalError("Unhandled case (Function)") - } - - return false - } - - func run() -> Disposable { - let subscription1 = SingleAssignmentDisposable() - let subscription2 = SingleAssignmentDisposable() - let subscription3 = SingleAssignmentDisposable() - let subscription4 = SingleAssignmentDisposable() - let subscription5 = SingleAssignmentDisposable() - let subscription6 = SingleAssignmentDisposable() - let subscription7 = SingleAssignmentDisposable() - - let observer1 = ZipObserver(lock: _lock, parent: self, index: 0, setNextValue: { self._values1.enqueue($0) }, this: subscription1) - let observer2 = ZipObserver(lock: _lock, parent: self, index: 1, setNextValue: { self._values2.enqueue($0) }, this: subscription2) - let observer3 = ZipObserver(lock: _lock, parent: self, index: 2, setNextValue: { self._values3.enqueue($0) }, this: subscription3) - let observer4 = ZipObserver(lock: _lock, parent: self, index: 3, setNextValue: { self._values4.enqueue($0) }, this: subscription4) - let observer5 = ZipObserver(lock: _lock, parent: self, index: 4, setNextValue: { self._values5.enqueue($0) }, this: subscription5) - let observer6 = ZipObserver(lock: _lock, parent: self, index: 5, setNextValue: { self._values6.enqueue($0) }, this: subscription6) - let observer7 = ZipObserver(lock: _lock, parent: self, index: 6, setNextValue: { self._values7.enqueue($0) }, this: subscription7) - - subscription1.setDisposable(_parent.source1.subscribe(observer1)) - subscription2.setDisposable(_parent.source2.subscribe(observer2)) - subscription3.setDisposable(_parent.source3.subscribe(observer3)) - subscription4.setDisposable(_parent.source4.subscribe(observer4)) - subscription5.setDisposable(_parent.source5.subscribe(observer5)) - subscription6.setDisposable(_parent.source6.subscribe(observer6)) - subscription7.setDisposable(_parent.source7.subscribe(observer7)) - - return Disposables.create([ - subscription1, - subscription2, - subscription3, - subscription4, - subscription5, - subscription6, - subscription7 - ]) - } - - override func getResult() throws -> R { - return try _parent._resultSelector(_values1.dequeue()!, _values2.dequeue()!, _values3.dequeue()!, _values4.dequeue()!, _values5.dequeue()!, _values6.dequeue()!, _values7.dequeue()!) - } -} - -final class Zip7 : Producer { - typealias ResultSelector = (E1, E2, E3, E4, E5, E6, E7) throws -> R - - let source1: Observable - let source2: Observable - let source3: Observable - let source4: Observable - let source5: Observable - let source6: Observable - let source7: Observable - - let _resultSelector: ResultSelector - - init(source1: Observable, source2: Observable, source3: Observable, source4: Observable, source5: Observable, source6: Observable, source7: Observable, resultSelector: @escaping ResultSelector) { - self.source1 = source1 - self.source2 = source2 - self.source3 = source3 - self.source4 = source4 - self.source5 = source5 - self.source6 = source6 - self.source7 = source7 - - _resultSelector = resultSelector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R { - let sink = ZipSink7_(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - - - -// 8 - -extension ObservableType { - /** - Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index. - - - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html) - - - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources. - - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function. - */ - public static func zip - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, _ source7: O7, _ source8: O8, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E, O5.E, O6.E, O7.E, O8.E) throws -> E) - -> Observable { - return Zip8( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), source7: source7.asObservable(), source8: source8.asObservable(), - resultSelector: resultSelector - ) - } -} - -extension ObservableType where E == Any { - /** - Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index. - - - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html) - - - returns: An observable sequence containing the result of combining elements of the sources. - */ - public static func zip - (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, _ source7: O7, _ source8: O8) - -> Observable<(O1.E, O2.E, O3.E, O4.E, O5.E, O6.E, O7.E, O8.E)> { - return Zip8( - source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), source7: source7.asObservable(), source8: source8.asObservable(), - resultSelector: { ($0, $1, $2, $3, $4, $5, $6, $7) } - ) - } -} - -final class ZipSink8_ : ZipSink { - typealias R = O.E - typealias Parent = Zip8 - - let _parent: Parent - - var _values1: Queue = Queue(capacity: 2) - var _values2: Queue = Queue(capacity: 2) - var _values3: Queue = Queue(capacity: 2) - var _values4: Queue = Queue(capacity: 2) - var _values5: Queue = Queue(capacity: 2) - var _values6: Queue = Queue(capacity: 2) - var _values7: Queue = Queue(capacity: 2) - var _values8: Queue = Queue(capacity: 2) - - init(parent: Parent, observer: O, cancel: Cancelable) { - _parent = parent - super.init(arity: 8, observer: observer, cancel: cancel) - } - - override func hasElements(_ index: Int) -> Bool { - switch (index) { - case 0: return !_values1.isEmpty - case 1: return !_values2.isEmpty - case 2: return !_values3.isEmpty - case 3: return !_values4.isEmpty - case 4: return !_values5.isEmpty - case 5: return !_values6.isEmpty - case 6: return !_values7.isEmpty - case 7: return !_values8.isEmpty - - default: - rxFatalError("Unhandled case (Function)") - } - - return false - } - - func run() -> Disposable { - let subscription1 = SingleAssignmentDisposable() - let subscription2 = SingleAssignmentDisposable() - let subscription3 = SingleAssignmentDisposable() - let subscription4 = SingleAssignmentDisposable() - let subscription5 = SingleAssignmentDisposable() - let subscription6 = SingleAssignmentDisposable() - let subscription7 = SingleAssignmentDisposable() - let subscription8 = SingleAssignmentDisposable() - - let observer1 = ZipObserver(lock: _lock, parent: self, index: 0, setNextValue: { self._values1.enqueue($0) }, this: subscription1) - let observer2 = ZipObserver(lock: _lock, parent: self, index: 1, setNextValue: { self._values2.enqueue($0) }, this: subscription2) - let observer3 = ZipObserver(lock: _lock, parent: self, index: 2, setNextValue: { self._values3.enqueue($0) }, this: subscription3) - let observer4 = ZipObserver(lock: _lock, parent: self, index: 3, setNextValue: { self._values4.enqueue($0) }, this: subscription4) - let observer5 = ZipObserver(lock: _lock, parent: self, index: 4, setNextValue: { self._values5.enqueue($0) }, this: subscription5) - let observer6 = ZipObserver(lock: _lock, parent: self, index: 5, setNextValue: { self._values6.enqueue($0) }, this: subscription6) - let observer7 = ZipObserver(lock: _lock, parent: self, index: 6, setNextValue: { self._values7.enqueue($0) }, this: subscription7) - let observer8 = ZipObserver(lock: _lock, parent: self, index: 7, setNextValue: { self._values8.enqueue($0) }, this: subscription8) - - subscription1.setDisposable(_parent.source1.subscribe(observer1)) - subscription2.setDisposable(_parent.source2.subscribe(observer2)) - subscription3.setDisposable(_parent.source3.subscribe(observer3)) - subscription4.setDisposable(_parent.source4.subscribe(observer4)) - subscription5.setDisposable(_parent.source5.subscribe(observer5)) - subscription6.setDisposable(_parent.source6.subscribe(observer6)) - subscription7.setDisposable(_parent.source7.subscribe(observer7)) - subscription8.setDisposable(_parent.source8.subscribe(observer8)) - - return Disposables.create([ - subscription1, - subscription2, - subscription3, - subscription4, - subscription5, - subscription6, - subscription7, - subscription8 - ]) - } - - override func getResult() throws -> R { - return try _parent._resultSelector(_values1.dequeue()!, _values2.dequeue()!, _values3.dequeue()!, _values4.dequeue()!, _values5.dequeue()!, _values6.dequeue()!, _values7.dequeue()!, _values8.dequeue()!) - } -} - -final class Zip8 : Producer { - typealias ResultSelector = (E1, E2, E3, E4, E5, E6, E7, E8) throws -> R - - let source1: Observable - let source2: Observable - let source3: Observable - let source4: Observable - let source5: Observable - let source6: Observable - let source7: Observable - let source8: Observable - - let _resultSelector: ResultSelector - - init(source1: Observable, source2: Observable, source3: Observable, source4: Observable, source5: Observable, source6: Observable, source7: Observable, source8: Observable, resultSelector: @escaping ResultSelector) { - self.source1 = source1 - self.source2 = source2 - self.source3 = source3 - self.source4 = source4 - self.source5 = source5 - self.source6 = source6 - self.source7 = source7 - self.source8 = source8 - - _resultSelector = resultSelector - } - - override func run(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R { - let sink = ZipSink8_(parent: self, observer: observer, cancel: cancel) - let subscription = sink.run() - return (sink: sink, subscription: subscription) - } -} - - diff --git a/Example/Pods/RxSwift/RxSwift/Observables/Zip.swift b/Example/Pods/RxSwift/RxSwift/Observables/Zip.swift deleted file mode 100644 index a283bf2..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observables/Zip.swift +++ /dev/null @@ -1,155 +0,0 @@ -// -// Zip.swift -// RxSwift -// -// Created by Krunoslav Zaher on 5/23/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -protocol ZipSinkProtocol : class -{ - func next(_ index: Int) - func fail(_ error: Swift.Error) - func done(_ index: Int) -} - -class ZipSink : Sink, ZipSinkProtocol { - typealias Element = O.E - - let _arity: Int - - let _lock = RecursiveLock() - - // state - private var _isDone: [Bool] - - init(arity: Int, observer: O, cancel: Cancelable) { - _isDone = [Bool](repeating: false, count: arity) - _arity = arity - - super.init(observer: observer, cancel: cancel) - } - - func getResult() throws -> Element { - rxAbstractMethod() - } - - func hasElements(_ index: Int) -> Bool { - rxAbstractMethod() - } - - func next(_ index: Int) { - var hasValueAll = true - - for i in 0 ..< _arity { - if !hasElements(i) { - hasValueAll = false - break - } - } - - if hasValueAll { - do { - let result = try getResult() - self.forwardOn(.next(result)) - } - catch let e { - self.forwardOn(.error(e)) - dispose() - } - } - else { - var allOthersDone = true - - let arity = _isDone.count - for i in 0 ..< arity { - if i != index && !_isDone[i] { - allOthersDone = false - break - } - } - - if allOthersDone { - forwardOn(.completed) - self.dispose() - } - } - } - - func fail(_ error: Swift.Error) { - forwardOn(.error(error)) - dispose() - } - - func done(_ index: Int) { - _isDone[index] = true - - var allDone = true - - for done in _isDone { - if !done { - allDone = false - break - } - } - - if allDone { - forwardOn(.completed) - dispose() - } - } -} - -final class ZipObserver - : ObserverType - , LockOwnerType - , SynchronizedOnType { - typealias E = ElementType - typealias ValueSetter = (ElementType) -> () - - private var _parent: ZipSinkProtocol? - - let _lock: RecursiveLock - - // state - private let _index: Int - private let _this: Disposable - private let _setNextValue: ValueSetter - - init(lock: RecursiveLock, parent: ZipSinkProtocol, index: Int, setNextValue: @escaping ValueSetter, this: Disposable) { - _lock = lock - _parent = parent - _index = index - _this = this - _setNextValue = setNextValue - } - - func on(_ event: Event) { - synchronizedOn(event) - } - - func _synchronized_on(_ event: Event) { - if let _ = _parent { - switch event { - case .next(_): - break - case .error(_): - _this.dispose() - case .completed: - _this.dispose() - } - } - - if let parent = _parent { - switch event { - case .next(let value): - _setNextValue(value) - parent.next(_index) - case .error(let error): - parent.fail(error) - case .completed: - parent.done(_index) - } - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/ObserverType.swift b/Example/Pods/RxSwift/RxSwift/ObserverType.swift deleted file mode 100644 index e3ed7aa..0000000 --- a/Example/Pods/RxSwift/RxSwift/ObserverType.swift +++ /dev/null @@ -1,40 +0,0 @@ -// -// ObserverType.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/8/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Supports push-style iteration over an observable sequence. -public protocol ObserverType { - /// The type of elements in sequence that observer can observe. - associatedtype E - - /// Notify observer about sequence event. - /// - /// - parameter event: Event that occurred. - func on(_ event: Event) -} - -/// Convenience API extensions to provide alternate next, error, completed events -extension ObserverType { - - /// Convenience method equivalent to `on(.next(element: E))` - /// - /// - parameter element: Next element to send to observer(s) - public func onNext(_ element: E) { - on(.next(element)) - } - - /// Convenience method equivalent to `on(.completed)` - public func onCompleted() { - on(.completed) - } - - /// Convenience method equivalent to `on(.error(Swift.Error))` - /// - parameter error: Swift.Error to send to observer(s) - public func onError(_ error: Swift.Error) { - on(.error(error)) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift b/Example/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift deleted file mode 100644 index 54e83f5..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift +++ /dev/null @@ -1,32 +0,0 @@ -// -// AnonymousObserver.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/8/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -final class AnonymousObserver : ObserverBase { - typealias Element = ElementType - - typealias EventHandler = (Event) -> Void - - private let _eventHandler : EventHandler - - init(_ eventHandler: @escaping EventHandler) { -#if TRACE_RESOURCES - let _ = Resources.incrementTotal() -#endif - _eventHandler = eventHandler - } - - override func onCore(_ event: Event) { - return _eventHandler(event) - } - -#if TRACE_RESOURCES - deinit { - let _ = Resources.decrementTotal() - } -#endif -} diff --git a/Example/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift b/Example/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift deleted file mode 100644 index 9648daf..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift +++ /dev/null @@ -1,34 +0,0 @@ -// -// ObserverBase.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/15/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -class ObserverBase : Disposable, ObserverType { - typealias E = ElementType - - private var _isStopped = AtomicInt(0) - - func on(_ event: Event) { - switch event { - case .next: - if _isStopped.load() == 0 { - onCore(event) - } - case .error, .completed: - if _isStopped.fetchOr(1) == 0 { - onCore(event) - } - } - } - - func onCore(_ event: Event) { - rxAbstractMethod() - } - - func dispose() { - _isStopped.fetchOr(1) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift b/Example/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift deleted file mode 100644 index 48a599d..0000000 --- a/Example/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift +++ /dev/null @@ -1,151 +0,0 @@ -// -// TailRecursiveSink.swift -// RxSwift -// -// Created by Krunoslav Zaher on 3/21/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -enum TailRecursiveSinkCommand { - case moveNext - case dispose -} - -#if DEBUG || TRACE_RESOURCES - public var maxTailRecursiveSinkStackSize = 0 -#endif - -/// This class is usually used with `Generator` version of the operators. -class TailRecursiveSink - : Sink - , InvocableWithValueType where S.Iterator.Element: ObservableConvertibleType, S.Iterator.Element.E == O.E { - typealias Value = TailRecursiveSinkCommand - typealias E = O.E - typealias SequenceGenerator = (generator: S.Iterator, remaining: IntMax?) - - var _generators: [SequenceGenerator] = [] - var _isDisposed = false - var _subscription = SerialDisposable() - - // this is thread safe object - var _gate = AsyncLock>>() - - override init(observer: O, cancel: Cancelable) { - super.init(observer: observer, cancel: cancel) - } - - func run(_ sources: SequenceGenerator) -> Disposable { - _generators.append(sources) - - schedule(.moveNext) - - return _subscription - } - - func invoke(_ command: TailRecursiveSinkCommand) { - switch command { - case .dispose: - disposeCommand() - case .moveNext: - moveNextCommand() - } - } - - // simple implementation for now - func schedule(_ command: TailRecursiveSinkCommand) { - _gate.invoke(InvocableScheduledItem(invocable: self, state: command)) - } - - func done() { - forwardOn(.completed) - dispose() - } - - func extract(_ observable: Observable) -> SequenceGenerator? { - rxAbstractMethod() - } - - // should be done on gate locked - - private func moveNextCommand() { - var next: Observable? = nil - - repeat { - guard let (g, left) = _generators.last else { - break - } - - if _isDisposed { - return - } - - _generators.removeLast() - - var e = g - - guard let nextCandidate = e.next()?.asObservable() else { - continue - } - - // `left` is a hint of how many elements are left in generator. - // In case this is the last element, then there is no need to push - // that generator on stack. - // - // This is an optimization used to make sure in tail recursive case - // there is no memory leak in case this operator is used to generate non terminating - // sequence. - - if let knownOriginalLeft = left { - // `- 1` because generator.next() has just been called - if knownOriginalLeft - 1 >= 1 { - _generators.append((e, knownOriginalLeft - 1)) - } - } - else { - _generators.append((e, nil)) - } - - let nextGenerator = extract(nextCandidate) - - if let nextGenerator = nextGenerator { - _generators.append(nextGenerator) - #if DEBUG || TRACE_RESOURCES - if maxTailRecursiveSinkStackSize < _generators.count { - maxTailRecursiveSinkStackSize = _generators.count - } - #endif - } - else { - next = nextCandidate - } - } while next == nil - - guard let existingNext = next else { - done() - return - } - - let disposable = SingleAssignmentDisposable() - _subscription.disposable = disposable - disposable.setDisposable(subscribeToNext(existingNext)) - } - - func subscribeToNext(_ source: Observable) -> Disposable { - rxAbstractMethod() - } - - func disposeCommand() { - _isDisposed = true - _generators.removeAll(keepingCapacity: false) - } - - override func dispose() { - super.dispose() - - _subscription.dispose() - _gate.dispose() - - schedule(.dispose) - } -} - diff --git a/Example/Pods/RxSwift/RxSwift/Reactive.swift b/Example/Pods/RxSwift/RxSwift/Reactive.swift deleted file mode 100644 index b873996..0000000 --- a/Example/Pods/RxSwift/RxSwift/Reactive.swift +++ /dev/null @@ -1,74 +0,0 @@ -// -// Reactive.swift -// RxSwift -// -// Created by Yury Korolev on 5/2/16. -// Copyright © 2016 Krunoslav Zaher. All rights reserved. -// - -/** - Use `Reactive` proxy as customization point for constrained protocol extensions. - - General pattern would be: - - // 1. Extend Reactive protocol with constrain on Base - // Read as: Reactive Extension where Base is a SomeType - extension Reactive where Base: SomeType { - // 2. Put any specific reactive extension for SomeType here - } - - With this approach we can have more specialized methods and properties using - `Base` and not just specialized on common base type. - - */ - -public struct Reactive { - /// Base object to extend. - public let base: Base - - /// Creates extensions with base object. - /// - /// - parameter base: Base object. - public init(_ base: Base) { - self.base = base - } -} - -/// A type that has reactive extensions. -public protocol ReactiveCompatible { - /// Extended type - associatedtype CompatibleType - - /// Reactive extensions. - static var rx: Reactive.Type { get set } - - /// Reactive extensions. - var rx: Reactive { get set } -} - -extension ReactiveCompatible { - /// Reactive extensions. - public static var rx: Reactive.Type { - get { - return Reactive.self - } - set { - // this enables using Reactive to "mutate" base type - } - } - - /// Reactive extensions. - public var rx: Reactive { - get { - return Reactive(self) - } - set { - // this enables using Reactive to "mutate" base object - } - } -} - -import class Foundation.NSObject - -/// Extend NSObject with `rx` proxy. -extension NSObject: ReactiveCompatible { } diff --git a/Example/Pods/RxSwift/RxSwift/Rx.swift b/Example/Pods/RxSwift/RxSwift/Rx.swift deleted file mode 100644 index af948fc..0000000 --- a/Example/Pods/RxSwift/RxSwift/Rx.swift +++ /dev/null @@ -1,142 +0,0 @@ -// -// Rx.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/14/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -#if TRACE_RESOURCES - fileprivate var resourceCount = AtomicInt(0) - - /// Resource utilization information - public struct Resources { - /// Counts internal Rx resource allocations (Observables, Observers, Disposables, etc.). This provides a simple way to detect leaks during development. - public static var total: Int32 { - return resourceCount.load() - } - - /// Increments `Resources.total` resource count. - /// - /// - returns: New resource count - public static func incrementTotal() -> Int32 { - return resourceCount.increment() - } - - /// Decrements `Resources.total` resource count - /// - /// - returns: New resource count - public static func decrementTotal() -> Int32 { - return resourceCount.decrement() - } - } -#endif - -/// Swift does not implement abstract methods. This method is used as a runtime check to ensure that methods which intended to be abstract (i.e., they should be implemented in subclasses) are not called directly on the superclass. -func rxAbstractMethod(file: StaticString = #file, line: UInt = #line) -> Swift.Never { - rxFatalError("Abstract method", file: file, line: line) -} - -func rxFatalError(_ lastMessage: @autoclosure () -> String, file: StaticString = #file, line: UInt = #line) -> Swift.Never { - // The temptation to comment this line is great, but please don't, it's for your own good. The choice is yours. - fatalError(lastMessage(), file: file, line: line) -} - -func rxFatalErrorInDebug(_ lastMessage: @autoclosure () -> String, file: StaticString = #file, line: UInt = #line) { - #if DEBUG - fatalError(lastMessage(), file: file, line: line) - #else - print("\(file):\(line): \(lastMessage())") - #endif -} - -func incrementChecked(_ i: inout Int) throws -> Int { - if i == Int.max { - throw RxError.overflow - } - defer { i += 1 } - return i -} - -func decrementChecked(_ i: inout Int) throws -> Int { - if i == Int.min { - throw RxError.overflow - } - defer { i -= 1 } - return i -} - -#if DEBUG - import class Foundation.Thread - final class SynchronizationTracker { - private let _lock = RecursiveLock() - - public enum SynchronizationErrorMessages: String { - case variable = "Two different threads are trying to assign the same `Variable.value` unsynchronized.\n This is undefined behavior because the end result (variable value) is nondeterministic and depends on the \n operating system thread scheduler. This will cause random behavior of your program.\n" - case `default` = "Two different unsynchronized threads are trying to send some event simultaneously.\n This is undefined behavior because the ordering of the effects caused by these events is nondeterministic and depends on the \n operating system thread scheduler. This will result in a random behavior of your program.\n" - } - - private var _threads = Dictionary() - - private func synchronizationError(_ message: String) { - #if FATAL_SYNCHRONIZATION - rxFatalError(message) - #else - print(message) - #endif - } - - func register(synchronizationErrorMessage: SynchronizationErrorMessages) { - _lock.lock(); defer { _lock.unlock() } - let pointer = Unmanaged.passUnretained(Thread.current).toOpaque() - let count = (_threads[pointer] ?? 0) + 1 - - if count > 1 { - synchronizationError( - "⚠️ Reentrancy anomaly was detected.\n" + - " > Debugging: To debug this issue you can set a breakpoint in \(#file):\(#line) and observe the call stack.\n" + - " > Problem: This behavior is breaking the observable sequence grammar. `next (error | completed)?`\n" + - " This behavior breaks the grammar because there is overlapping between sequence events.\n" + - " Observable sequence is trying to send an event before sending of previous event has finished.\n" + - " > Interpretation: This could mean that there is some kind of unexpected cyclic dependency in your code,\n" + - " or that the system is not behaving in the expected way.\n" + - " > Remedy: If this is the expected behavior this message can be suppressed by adding `.observeOn(MainScheduler.asyncInstance)`\n" + - " or by enqueing sequence events in some other way.\n" - ) - } - - _threads[pointer] = count - - if _threads.count > 1 { - synchronizationError( - "⚠️ Synchronization anomaly was detected.\n" + - " > Debugging: To debug this issue you can set a breakpoint in \(#file):\(#line) and observe the call stack.\n" + - " > Problem: This behavior is breaking the observable sequence grammar. `next (error | completed)?`\n" + - " This behavior breaks the grammar because there is overlapping between sequence events.\n" + - " Observable sequence is trying to send an event before sending of previous event has finished.\n" + - " > Interpretation: " + synchronizationErrorMessage.rawValue + - " > Remedy: If this is the expected behavior this message can be suppressed by adding `.observeOn(MainScheduler.asyncInstance)`\n" + - " or by synchronizing sequence events in some other way.\n" - ) - } - } - - func unregister() { - _lock.lock(); defer { _lock.unlock() } - let pointer = Unmanaged.passUnretained(Thread.current).toOpaque() - _threads[pointer] = (_threads[pointer] ?? 1) - 1 - if _threads[pointer] == 0 { - _threads[pointer] = nil - } - } - } - -#endif - -/// RxSwift global hooks -public enum Hooks { - - // Should capture call stack - public static var recordCallStackOnError: Bool = false - -} diff --git a/Example/Pods/RxSwift/RxSwift/RxMutableBox.swift b/Example/Pods/RxSwift/RxSwift/RxMutableBox.swift deleted file mode 100644 index 7f3c333..0000000 --- a/Example/Pods/RxSwift/RxSwift/RxMutableBox.swift +++ /dev/null @@ -1,27 +0,0 @@ -// -// RxMutableBox.swift -// RxSwift -// -// Created by Krunoslav Zaher on 5/22/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Creates mutable reference wrapper for any type. -final class RxMutableBox : CustomDebugStringConvertible { - /// Wrapped value - var value : T - - /// Creates reference wrapper for `value`. - /// - /// - parameter value: Value to wrap. - init (_ value: T) { - self.value = value - } -} - -extension RxMutableBox { - /// - returns: Box description. - var debugDescription: String { - return "MutatingBox(\(self.value))" - } -} diff --git a/Example/Pods/RxSwift/RxSwift/SchedulerType.swift b/Example/Pods/RxSwift/RxSwift/SchedulerType.swift deleted file mode 100644 index bdfcf8b..0000000 --- a/Example/Pods/RxSwift/RxSwift/SchedulerType.swift +++ /dev/null @@ -1,71 +0,0 @@ -// -// SchedulerType.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/8/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -import struct Foundation.TimeInterval -import struct Foundation.Date - -// Type that represents time interval in the context of RxSwift. -public typealias RxTimeInterval = TimeInterval - -/// Type that represents absolute time in the context of RxSwift. -public typealias RxTime = Date - -/// Represents an object that schedules units of work. -public protocol SchedulerType: ImmediateSchedulerType { - - /// - returns: Current time. - var now : RxTime { - get - } - - /** - Schedules an action to be executed. - - - parameter state: State passed to the action to be executed. - - parameter dueTime: Relative time after which to execute the action. - - parameter action: Action to be executed. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - func scheduleRelative(_ state: StateType, dueTime: RxTimeInterval, action: @escaping (StateType) -> Disposable) -> Disposable - - /** - Schedules a periodic piece of work. - - - parameter state: State passed to the action to be executed. - - parameter startAfter: Period after which initial work should be run. - - parameter period: Period for running the work periodically. - - parameter action: Action to be executed. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - func schedulePeriodic(_ state: StateType, startAfter: RxTimeInterval, period: RxTimeInterval, action: @escaping (StateType) -> StateType) -> Disposable -} - -extension SchedulerType { - - /** - Periodic task will be emulated using recursive scheduling. - - - parameter state: Initial state passed to the action upon the first iteration. - - parameter startAfter: Period after which initial work should be run. - - parameter period: Period for running the work periodically. - - returns: The disposable object used to cancel the scheduled recurring action (best effort). - */ - public func schedulePeriodic(_ state: StateType, startAfter: RxTimeInterval, period: RxTimeInterval, action: @escaping (StateType) -> StateType) -> Disposable { - let schedule = SchedulePeriodicRecursive(scheduler: self, startAfter: startAfter, period: period, action: action, state: state) - - return schedule.start() - } - - func scheduleRecursive(_ state: State, dueTime: RxTimeInterval, action: @escaping (State, AnyRecursiveScheduler) -> ()) -> Disposable { - let scheduler = AnyRecursiveScheduler(scheduler: self, action: action) - - scheduler.schedule(state, dueTime: dueTime) - - return Disposables.create(with: scheduler.dispose) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift b/Example/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift deleted file mode 100644 index aa1f480..0000000 --- a/Example/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift +++ /dev/null @@ -1,84 +0,0 @@ -// -// ConcurrentDispatchQueueScheduler.swift -// RxSwift -// -// Created by Krunoslav Zaher on 7/5/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -import struct Foundation.Date -import struct Foundation.TimeInterval -import Dispatch - -/// Abstracts the work that needs to be performed on a specific `dispatch_queue_t`. You can also pass a serial dispatch queue, it shouldn't cause any problems. -/// -/// This scheduler is suitable when some work needs to be performed in background. -public class ConcurrentDispatchQueueScheduler: SchedulerType { - public typealias TimeInterval = Foundation.TimeInterval - public typealias Time = Date - - public var now : Date { - return Date() - } - - let configuration: DispatchQueueConfiguration - - /// Constructs new `ConcurrentDispatchQueueScheduler` that wraps `queue`. - /// - /// - parameter queue: Target dispatch queue. - /// - parameter leeway: The amount of time, in nanoseconds, that the system will defer the timer. - public init(queue: DispatchQueue, leeway: DispatchTimeInterval = DispatchTimeInterval.nanoseconds(0)) { - configuration = DispatchQueueConfiguration(queue: queue, leeway: leeway) - } - - /// Convenience init for scheduler that wraps one of the global concurrent dispatch queues. - /// - /// - parameter qos: Target global dispatch queue, by quality of service class. - /// - parameter leeway: The amount of time, in nanoseconds, that the system will defer the timer. - @available(iOS 8, OSX 10.10, *) - public convenience init(qos: DispatchQoS, leeway: DispatchTimeInterval = DispatchTimeInterval.nanoseconds(0)) { - self.init(queue: DispatchQueue( - label: "rxswift.queue.\(qos)", - qos: qos, - attributes: [DispatchQueue.Attributes.concurrent], - target: nil), - leeway: leeway - ) - } - - /** - Schedules an action to be executed immediately. - - - parameter state: State passed to the action to be executed. - - parameter action: Action to be executed. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - public final func schedule(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable { - return self.configuration.schedule(state, action: action) - } - - /** - Schedules an action to be executed. - - - parameter state: State passed to the action to be executed. - - parameter dueTime: Relative time after which to execute the action. - - parameter action: Action to be executed. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - public final func scheduleRelative(_ state: StateType, dueTime: Foundation.TimeInterval, action: @escaping (StateType) -> Disposable) -> Disposable { - return self.configuration.scheduleRelative(state, dueTime: dueTime, action: action) - } - - /** - Schedules a periodic piece of work. - - - parameter state: State passed to the action to be executed. - - parameter startAfter: Period after which initial work should be run. - - parameter period: Period for running the work periodically. - - parameter action: Action to be executed. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - public func schedulePeriodic(_ state: StateType, startAfter: TimeInterval, period: TimeInterval, action: @escaping (StateType) -> StateType) -> Disposable { - return self.configuration.schedulePeriodic(state, startAfter: startAfter, period: period, action: action) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift b/Example/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift deleted file mode 100644 index a98ad21..0000000 --- a/Example/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift +++ /dev/null @@ -1,88 +0,0 @@ -// -// ConcurrentMainScheduler.swift -// RxSwift -// -// Created by Krunoslav Zaher on 10/17/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -import struct Foundation.Date -import struct Foundation.TimeInterval -import Dispatch - -/** -Abstracts work that needs to be performed on `MainThread`. In case `schedule` methods are called from main thread, it will perform action immediately without scheduling. - -This scheduler is optimized for `subscribeOn` operator. If you want to observe observable sequence elements on main thread using `observeOn` operator, -`MainScheduler` is more suitable for that purpose. -*/ -public final class ConcurrentMainScheduler : SchedulerType { - public typealias TimeInterval = Foundation.TimeInterval - public typealias Time = Date - - private let _mainScheduler: MainScheduler - private let _mainQueue: DispatchQueue - - /// - returns: Current time. - public var now : Date { - return _mainScheduler.now as Date - } - - private init(mainScheduler: MainScheduler) { - _mainQueue = DispatchQueue.main - _mainScheduler = mainScheduler - } - - /// Singleton instance of `ConcurrentMainScheduler` - public static let instance = ConcurrentMainScheduler(mainScheduler: MainScheduler.instance) - - /** - Schedules an action to be executed immediately. - - - parameter state: State passed to the action to be executed. - - parameter action: Action to be executed. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - public func schedule(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable { - if DispatchQueue.isMain { - return action(state) - } - - let cancel = SingleAssignmentDisposable() - - _mainQueue.async { - if cancel.isDisposed { - return - } - - cancel.setDisposable(action(state)) - } - - return cancel - } - - /** - Schedules an action to be executed. - - - parameter state: State passed to the action to be executed. - - parameter dueTime: Relative time after which to execute the action. - - parameter action: Action to be executed. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - public final func scheduleRelative(_ state: StateType, dueTime: Foundation.TimeInterval, action: @escaping (StateType) -> Disposable) -> Disposable { - return _mainScheduler.scheduleRelative(state, dueTime: dueTime, action: action) - } - - /** - Schedules a periodic piece of work. - - - parameter state: State passed to the action to be executed. - - parameter startAfter: Period after which initial work should be run. - - parameter period: Period for running the work periodically. - - parameter action: Action to be executed. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - public func schedulePeriodic(_ state: StateType, startAfter: TimeInterval, period: TimeInterval, action: @escaping (StateType) -> StateType) -> Disposable { - return _mainScheduler.schedulePeriodic(state, startAfter: startAfter, period: period, action: action) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift b/Example/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift deleted file mode 100644 index 0676444..0000000 --- a/Example/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift +++ /dev/null @@ -1,144 +0,0 @@ -// -// CurrentThreadScheduler.swift -// RxSwift -// -// Created by Krunoslav Zaher on 8/30/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -import class Foundation.NSObject -import protocol Foundation.NSCopying -import class Foundation.Thread -import Dispatch - -#if os(Linux) - import struct Foundation.pthread_key_t - import func Foundation.pthread_setspecific - import func Foundation.pthread_getspecific - import func Foundation.pthread_key_create - - fileprivate enum CurrentThreadSchedulerQueueKey { - fileprivate static let instance = "RxSwift.CurrentThreadScheduler.Queue" - } -#else - fileprivate class CurrentThreadSchedulerQueueKey: NSObject, NSCopying { - static let instance = CurrentThreadSchedulerQueueKey() - private override init() { - super.init() - } - - override var hash: Int { - return 0 - } - - public func copy(with zone: NSZone? = nil) -> Any { - return self - } - } -#endif - -/// Represents an object that schedules units of work on the current thread. -/// -/// This is the default scheduler for operators that generate elements. -/// -/// This scheduler is also sometimes called `trampoline scheduler`. -public class CurrentThreadScheduler : ImmediateSchedulerType { - typealias ScheduleQueue = RxMutableBox> - - /// The singleton instance of the current thread scheduler. - public static let instance = CurrentThreadScheduler() - - private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in - let key = UnsafeMutablePointer.allocate(capacity: 1) - defer { -#if swift(>=4.1) - key.deallocate() -#else - key.deallocate(capacity: 1) -#endif - } - - guard pthread_key_create(key, nil) == 0 else { - rxFatalError("isScheduleRequired key creation failed") - } - - return key.pointee - }() - - private static var scheduleInProgressSentinel: UnsafeRawPointer = { () -> UnsafeRawPointer in - return UnsafeRawPointer(UnsafeMutablePointer.allocate(capacity: 1)) - }() - - static var queue : ScheduleQueue? { - get { - return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance) - } - set { - Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance) - } - } - - /// Gets a value that indicates whether the caller must call a `schedule` method. - public static fileprivate(set) var isScheduleRequired: Bool { - get { - return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil - } - set(isScheduleRequired) { - if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 { - rxFatalError("pthread_setspecific failed") - } - } - } - - /** - Schedules an action to be executed as soon as possible on current thread. - - If this method is called on some thread that doesn't have `CurrentThreadScheduler` installed, scheduler will be - automatically installed and uninstalled after all work is performed. - - - parameter state: State passed to the action to be executed. - - parameter action: Action to be executed. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - public func schedule(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable { - if CurrentThreadScheduler.isScheduleRequired { - CurrentThreadScheduler.isScheduleRequired = false - - let disposable = action(state) - - defer { - CurrentThreadScheduler.isScheduleRequired = true - CurrentThreadScheduler.queue = nil - } - - guard let queue = CurrentThreadScheduler.queue else { - return disposable - } - - while let latest = queue.value.dequeue() { - if latest.isDisposed { - continue - } - latest.invoke() - } - - return disposable - } - - let existingQueue = CurrentThreadScheduler.queue - - let queue: RxMutableBox> - if let existingQueue = existingQueue { - queue = existingQueue - } - else { - queue = RxMutableBox(Queue(capacity: 1)) - CurrentThreadScheduler.queue = queue - } - - let scheduledItem = ScheduledItem(action: action, state: state) - queue.value.enqueue(scheduledItem) - - return scheduledItem - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift b/Example/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift deleted file mode 100644 index 11af238..0000000 --- a/Example/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift +++ /dev/null @@ -1,22 +0,0 @@ -// -// HistoricalScheduler.swift -// RxSwift -// -// Created by Krunoslav Zaher on 12/27/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -import struct Foundation.Date - -/// Provides a virtual time scheduler that uses `Date` for absolute time and `NSTimeInterval` for relative time. -public class HistoricalScheduler : VirtualTimeScheduler { - - /** - Creates a new historical scheduler with initial clock value. - - - parameter initialClock: Initial value for virtual clock. - */ - public init(initialClock: RxTime = Date(timeIntervalSince1970: 0)) { - super.init(initialClock: initialClock, converter: HistoricalSchedulerTimeConverter()) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift b/Example/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift deleted file mode 100644 index 930ca37..0000000 --- a/Example/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift +++ /dev/null @@ -1,67 +0,0 @@ -// -// HistoricalSchedulerTimeConverter.swift -// RxSwift -// -// Created by Krunoslav Zaher on 12/27/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -import struct Foundation.Date - -/// Converts historical virtual time into real time. -/// -/// Since historical virtual time is also measured in `Date`, this converter is identity function. -public struct HistoricalSchedulerTimeConverter : VirtualTimeConverterType { - /// Virtual time unit used that represents ticks of virtual clock. - public typealias VirtualTimeUnit = RxTime - - /// Virtual time unit used to represent differences of virtual times. - public typealias VirtualTimeIntervalUnit = RxTimeInterval - - /// Returns identical value of argument passed because historical virtual time is equal to real time, just - /// decoupled from local machine clock. - public func convertFromVirtualTime(_ virtualTime: VirtualTimeUnit) -> RxTime { - return virtualTime - } - - /// Returns identical value of argument passed because historical virtual time is equal to real time, just - /// decoupled from local machine clock. - public func convertToVirtualTime(_ time: RxTime) -> VirtualTimeUnit { - return time - } - - /// Returns identical value of argument passed because historical virtual time is equal to real time, just - /// decoupled from local machine clock. - public func convertFromVirtualTimeInterval(_ virtualTimeInterval: VirtualTimeIntervalUnit) -> RxTimeInterval { - return virtualTimeInterval - } - - /// Returns identical value of argument passed because historical virtual time is equal to real time, just - /// decoupled from local machine clock. - public func convertToVirtualTimeInterval(_ timeInterval: RxTimeInterval) -> VirtualTimeIntervalUnit { - return timeInterval - } - - /** - Offsets `Date` by time interval. - - - parameter time: Time. - - parameter timeInterval: Time interval offset. - - returns: Time offsetted by time interval. - */ - public func offsetVirtualTime(_ time: VirtualTimeUnit, offset: VirtualTimeIntervalUnit) -> VirtualTimeUnit { - return time.addingTimeInterval(offset) - } - - /// Compares two `Date`s. - public func compareVirtualTime(_ lhs: VirtualTimeUnit, _ rhs: VirtualTimeUnit) -> VirtualTimeComparison { - switch lhs.compare(rhs as Date) { - case .orderedAscending: - return .lessThan - case .orderedSame: - return .equal - case .orderedDescending: - return .greaterThan - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift b/Example/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift deleted file mode 100644 index f2dfb90..0000000 --- a/Example/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift +++ /dev/null @@ -1,104 +0,0 @@ -// -// DispatchQueueConfiguration.swift -// RxSwift -// -// Created by Krunoslav Zaher on 7/23/16. -// Copyright © 2016 Krunoslav Zaher. All rights reserved. -// - -import Dispatch -import struct Foundation.TimeInterval - -struct DispatchQueueConfiguration { - let queue: DispatchQueue - let leeway: DispatchTimeInterval -} - -private func dispatchInterval(_ interval: Foundation.TimeInterval) -> DispatchTimeInterval { - precondition(interval >= 0.0) - // TODO: Replace 1000 with something that actually works - // NSEC_PER_MSEC returns 1000000 - return DispatchTimeInterval.milliseconds(Int(interval * 1000.0)) -} - -extension DispatchQueueConfiguration { - func schedule(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable { - let cancel = SingleAssignmentDisposable() - - queue.async { - if cancel.isDisposed { - return - } - - - cancel.setDisposable(action(state)) - } - - return cancel - } - - func scheduleRelative(_ state: StateType, dueTime: Foundation.TimeInterval, action: @escaping (StateType) -> Disposable) -> Disposable { - let deadline = DispatchTime.now() + dispatchInterval(dueTime) - - let compositeDisposable = CompositeDisposable() - - let timer = DispatchSource.makeTimerSource(queue: queue) - timer.schedule(deadline: deadline, leeway: leeway) - - // TODO: - // This looks horrible, and yes, it is. - // It looks like Apple has made a conceputal change here, and I'm unsure why. - // Need more info on this. - // It looks like just setting timer to fire and not holding a reference to it - // until deadline causes timer cancellation. - var timerReference: DispatchSourceTimer? = timer - let cancelTimer = Disposables.create { - timerReference?.cancel() - timerReference = nil - } - - timer.setEventHandler(handler: { - if compositeDisposable.isDisposed { - return - } - _ = compositeDisposable.insert(action(state)) - cancelTimer.dispose() - }) - timer.resume() - - _ = compositeDisposable.insert(cancelTimer) - - return compositeDisposable - } - - func schedulePeriodic(_ state: StateType, startAfter: TimeInterval, period: TimeInterval, action: @escaping (StateType) -> StateType) -> Disposable { - let initial = DispatchTime.now() + dispatchInterval(startAfter) - - var timerState = state - - let timer = DispatchSource.makeTimerSource(queue: queue) - timer.schedule(deadline: initial, repeating: dispatchInterval(period), leeway: leeway) - - // TODO: - // This looks horrible, and yes, it is. - // It looks like Apple has made a conceputal change here, and I'm unsure why. - // Need more info on this. - // It looks like just setting timer to fire and not holding a reference to it - // until deadline causes timer cancellation. - var timerReference: DispatchSourceTimer? = timer - let cancelTimer = Disposables.create { - timerReference?.cancel() - timerReference = nil - } - - timer.setEventHandler(handler: { - if cancelTimer.isDisposed { - return - } - timerState = action(timerState) - }) - timer.resume() - - return cancelTimer - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift b/Example/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift deleted file mode 100644 index 90445f8..0000000 --- a/Example/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift +++ /dev/null @@ -1,22 +0,0 @@ -// -// InvocableScheduledItem.swift -// RxSwift -// -// Created by Krunoslav Zaher on 11/7/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -struct InvocableScheduledItem : InvocableType { - - let _invocable: I - let _state: I.Value - - init(invocable: I, state: I.Value) { - _invocable = invocable - _state = state - } - - func invoke() { - _invocable.invoke(_state) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift b/Example/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift deleted file mode 100644 index 0dba433..0000000 --- a/Example/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift +++ /dev/null @@ -1,17 +0,0 @@ -// -// InvocableType.swift -// RxSwift -// -// Created by Krunoslav Zaher on 11/7/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -protocol InvocableType { - func invoke() -} - -protocol InvocableWithValueType { - associatedtype Value - - func invoke(_ value: Value) -} diff --git a/Example/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift b/Example/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift deleted file mode 100644 index 454fb34..0000000 --- a/Example/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift +++ /dev/null @@ -1,35 +0,0 @@ -// -// ScheduledItem.swift -// RxSwift -// -// Created by Krunoslav Zaher on 9/2/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -struct ScheduledItem - : ScheduledItemType - , InvocableType { - typealias Action = (T) -> Disposable - - private let _action: Action - private let _state: T - - private let _disposable = SingleAssignmentDisposable() - - var isDisposed: Bool { - return _disposable.isDisposed - } - - init(action: @escaping Action, state: T) { - _action = action - _state = state - } - - func invoke() { - _disposable.setDisposable(_action(_state)) - } - - func dispose() { - _disposable.dispose() - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift b/Example/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift deleted file mode 100644 index d2b16ca..0000000 --- a/Example/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift +++ /dev/null @@ -1,13 +0,0 @@ -// -// ScheduledItemType.swift -// RxSwift -// -// Created by Krunoslav Zaher on 11/7/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -protocol ScheduledItemType - : Cancelable - , InvocableType { - func invoke() -} diff --git a/Example/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift b/Example/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift deleted file mode 100644 index 2a72137..0000000 --- a/Example/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift +++ /dev/null @@ -1,68 +0,0 @@ -// -// MainScheduler.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/8/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -import Dispatch - -/** -Abstracts work that needs to be performed on `DispatchQueue.main`. In case `schedule` methods are called from `DispatchQueue.main`, it will perform action immediately without scheduling. - -This scheduler is usually used to perform UI work. - -Main scheduler is a specialization of `SerialDispatchQueueScheduler`. - -This scheduler is optimized for `observeOn` operator. To ensure observable sequence is subscribed on main thread using `subscribeOn` -operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose. -*/ -public final class MainScheduler : SerialDispatchQueueScheduler { - - private let _mainQueue: DispatchQueue - - var numberEnqueued = AtomicInt(0) - - /// Initializes new instance of `MainScheduler`. - public init() { - _mainQueue = DispatchQueue.main - super.init(serialQueue: _mainQueue) - } - - /// Singleton instance of `MainScheduler` - public static let instance = MainScheduler() - - /// Singleton instance of `MainScheduler` that always schedules work asynchronously - /// and doesn't perform optimizations for calls scheduled from main queue. - public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main) - - /// In case this method is called on a background thread it will throw an exception. - public class func ensureExecutingOnScheduler(errorMessage: String? = nil) { - if !DispatchQueue.isMain { - rxFatalError(errorMessage ?? "Executing on background thread. Please use `MainScheduler.instance.schedule` to schedule work on main thread.") - } - } - - override func scheduleInternal(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable { - let previousNumberEnqueued = numberEnqueued.increment() - - if DispatchQueue.isMain && previousNumberEnqueued == 0 { - let disposable = action(state) - numberEnqueued.decrement() - return disposable - } - - let cancel = SingleAssignmentDisposable() - - _mainQueue.async { - if !cancel.isDisposed { - _ = action(state) - } - - self.numberEnqueued.decrement() - } - - return cancel - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift b/Example/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift deleted file mode 100644 index 81ba59f..0000000 --- a/Example/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift +++ /dev/null @@ -1,56 +0,0 @@ -// -// OperationQueueScheduler.swift -// RxSwift -// -// Created by Krunoslav Zaher on 4/4/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -import class Foundation.Operation -import class Foundation.OperationQueue -import class Foundation.BlockOperation -import Dispatch - -/// Abstracts the work that needs to be performed on a specific `NSOperationQueue`. -/// -/// This scheduler is suitable for cases when there is some bigger chunk of work that needs to be performed in background and you want to fine tune concurrent processing using `maxConcurrentOperationCount`. -public class OperationQueueScheduler: ImmediateSchedulerType { - public let operationQueue: OperationQueue - public let queuePriority: Operation.QueuePriority - - /// Constructs new instance of `OperationQueueScheduler` that performs work on `operationQueue`. - /// - /// - parameter operationQueue: Operation queue targeted to perform work on. - /// - parameter queuePriority: Queue priority which will be assigned to new operations. - public init(operationQueue: OperationQueue, queuePriority: Operation.QueuePriority = .normal) { - self.operationQueue = operationQueue - self.queuePriority = queuePriority - } - - /** - Schedules an action to be executed recursively. - - - parameter state: State passed to the action to be executed. - - parameter action: Action to execute recursively. The last parameter passed to the action is used to trigger recursive scheduling of the action, passing in recursive invocation state. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - public func schedule(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable { - let cancel = SingleAssignmentDisposable() - - let operation = BlockOperation { - if cancel.isDisposed { - return - } - - - cancel.setDisposable(action(state)) - } - - operation.queuePriority = self.queuePriority - - self.operationQueue.addOperation(operation) - - return cancel - } - -} diff --git a/Example/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift b/Example/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift deleted file mode 100644 index 24d19cc..0000000 --- a/Example/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift +++ /dev/null @@ -1,226 +0,0 @@ -// -// RecursiveScheduler.swift -// RxSwift -// -// Created by Krunoslav Zaher on 6/7/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -fileprivate enum ScheduleState { - case initial - case added(CompositeDisposable.DisposeKey) - case done -} - -/// Type erased recursive scheduler. -final class AnyRecursiveScheduler { - - typealias Action = (State, AnyRecursiveScheduler) -> Void - - private let _lock = RecursiveLock() - - // state - private let _group = CompositeDisposable() - - private var _scheduler: SchedulerType - private var _action: Action? - - init(scheduler: SchedulerType, action: @escaping Action) { - _action = action - _scheduler = scheduler - } - - /** - Schedules an action to be executed recursively. - - - parameter state: State passed to the action to be executed. - - parameter dueTime: Relative time after which to execute the recursive action. - */ - func schedule(_ state: State, dueTime: RxTimeInterval) { - var scheduleState: ScheduleState = .initial - - let d = _scheduler.scheduleRelative(state, dueTime: dueTime) { (state) -> Disposable in - // best effort - if self._group.isDisposed { - return Disposables.create() - } - - let action = self._lock.calculateLocked { () -> Action? in - switch scheduleState { - case let .added(removeKey): - self._group.remove(for: removeKey) - case .initial: - break - case .done: - break - } - - scheduleState = .done - - return self._action - } - - if let action = action { - action(state, self) - } - - return Disposables.create() - } - - _lock.performLocked { - switch scheduleState { - case .added: - rxFatalError("Invalid state") - break - case .initial: - if let removeKey = _group.insert(d) { - scheduleState = .added(removeKey) - } - else { - scheduleState = .done - } - break - case .done: - break - } - } - } - - /// Schedules an action to be executed recursively. - /// - /// - parameter state: State passed to the action to be executed. - func schedule(_ state: State) { - var scheduleState: ScheduleState = .initial - - let d = _scheduler.schedule(state) { (state) -> Disposable in - // best effort - if self._group.isDisposed { - return Disposables.create() - } - - let action = self._lock.calculateLocked { () -> Action? in - switch scheduleState { - case let .added(removeKey): - self._group.remove(for: removeKey) - case .initial: - break - case .done: - break - } - - scheduleState = .done - - return self._action - } - - if let action = action { - action(state, self) - } - - return Disposables.create() - } - - _lock.performLocked { - switch scheduleState { - case .added: - rxFatalError("Invalid state") - break - case .initial: - if let removeKey = _group.insert(d) { - scheduleState = .added(removeKey) - } - else { - scheduleState = .done - } - break - case .done: - break - } - } - } - - func dispose() { - _lock.performLocked { - _action = nil - } - _group.dispose() - } -} - -/// Type erased recursive scheduler. -final class RecursiveImmediateScheduler { - typealias Action = (_ state: State, _ recurse: (State) -> Void) -> Void - - private var _lock = SpinLock() - private let _group = CompositeDisposable() - - private var _action: Action? - private let _scheduler: ImmediateSchedulerType - - init(action: @escaping Action, scheduler: ImmediateSchedulerType) { - _action = action - _scheduler = scheduler - } - - // immediate scheduling - - /// Schedules an action to be executed recursively. - /// - /// - parameter state: State passed to the action to be executed. - func schedule(_ state: State) { - var scheduleState: ScheduleState = .initial - - let d = _scheduler.schedule(state) { (state) -> Disposable in - // best effort - if self._group.isDisposed { - return Disposables.create() - } - - let action = self._lock.calculateLocked { () -> Action? in - switch scheduleState { - case let .added(removeKey): - self._group.remove(for: removeKey) - case .initial: - break - case .done: - break - } - - scheduleState = .done - - return self._action - } - - if let action = action { - action(state, self.schedule) - } - - return Disposables.create() - } - - _lock.performLocked { - switch scheduleState { - case .added: - rxFatalError("Invalid state") - break - case .initial: - if let removeKey = _group.insert(d) { - scheduleState = .added(removeKey) - } - else { - scheduleState = .done - } - break - case .done: - break - } - } - } - - func dispose() { - _lock.performLocked { - _action = nil - } - _group.dispose() - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift b/Example/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift deleted file mode 100644 index ca0a04a..0000000 --- a/Example/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// SchedulerServices+Emulation.swift -// RxSwift -// -// Created by Krunoslav Zaher on 6/6/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -enum SchedulePeriodicRecursiveCommand { - case tick - case dispatchStart -} - -final class SchedulePeriodicRecursive { - typealias RecursiveAction = (State) -> State - typealias RecursiveScheduler = AnyRecursiveScheduler - - private let _scheduler: SchedulerType - private let _startAfter: RxTimeInterval - private let _period: RxTimeInterval - private let _action: RecursiveAction - - private var _state: State - private var _pendingTickCount = AtomicInt(0) - - init(scheduler: SchedulerType, startAfter: RxTimeInterval, period: RxTimeInterval, action: @escaping RecursiveAction, state: State) { - _scheduler = scheduler - _startAfter = startAfter - _period = period - _action = action - _state = state - } - - func start() -> Disposable { - return _scheduler.scheduleRecursive(SchedulePeriodicRecursiveCommand.tick, dueTime: _startAfter, action: self.tick) - } - - func tick(_ command: SchedulePeriodicRecursiveCommand, scheduler: RecursiveScheduler) -> Void { - // Tries to emulate periodic scheduling as best as possible. - // The problem that could arise is if handling periodic ticks take too long, or - // tick interval is short. - switch command { - case .tick: - scheduler.schedule(.tick, dueTime: _period) - - // The idea is that if on tick there wasn't any item enqueued, schedule to perform work immediately. - // Else work will be scheduled after previous enqueued work completes. - if _pendingTickCount.increment() == 0 { - self.tick(.dispatchStart, scheduler: scheduler) - } - - case .dispatchStart: - _state = _action(_state) - // Start work and schedule check is this last batch of work - if _pendingTickCount.decrement() > 1 { - // This gives priority to scheduler emulation, it's not perfect, but helps - scheduler.schedule(SchedulePeriodicRecursiveCommand.dispatchStart) - } - } - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift b/Example/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift deleted file mode 100644 index 1a38a73..0000000 --- a/Example/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift +++ /dev/null @@ -1,132 +0,0 @@ -// -// SerialDispatchQueueScheduler.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/8/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -import struct Foundation.TimeInterval -import struct Foundation.Date -import Dispatch - -/** -Abstracts the work that needs to be performed on a specific `dispatch_queue_t`. It will make sure -that even if concurrent dispatch queue is passed, it's transformed into a serial one. - -It is extremely important that this scheduler is serial, because -certain operator perform optimizations that rely on that property. - -Because there is no way of detecting is passed dispatch queue serial or -concurrent, for every queue that is being passed, worst case (concurrent) -will be assumed, and internal serial proxy dispatch queue will be created. - -This scheduler can also be used with internal serial queue alone. - -In case some customization need to be made on it before usage, -internal serial queue can be customized using `serialQueueConfiguration` -callback. -*/ -public class SerialDispatchQueueScheduler : SchedulerType { - public typealias TimeInterval = Foundation.TimeInterval - public typealias Time = Date - - /// - returns: Current time. - public var now : Date { - return Date() - } - - let configuration: DispatchQueueConfiguration - - /** - Constructs new `SerialDispatchQueueScheduler` that wraps `serialQueue`. - - - parameter serialQueue: Target dispatch queue. - - parameter leeway: The amount of time, in nanoseconds, that the system will defer the timer. - */ - init(serialQueue: DispatchQueue, leeway: DispatchTimeInterval = DispatchTimeInterval.nanoseconds(0)) { - configuration = DispatchQueueConfiguration(queue: serialQueue, leeway: leeway) - } - - /** - Constructs new `SerialDispatchQueueScheduler` with internal serial queue named `internalSerialQueueName`. - - Additional dispatch queue properties can be set after dispatch queue is created using `serialQueueConfiguration`. - - - parameter internalSerialQueueName: Name of internal serial dispatch queue. - - parameter serialQueueConfiguration: Additional configuration of internal serial dispatch queue. - - parameter leeway: The amount of time, in nanoseconds, that the system will defer the timer. - */ - public convenience init(internalSerialQueueName: String, serialQueueConfiguration: ((DispatchQueue) -> Void)? = nil, leeway: DispatchTimeInterval = DispatchTimeInterval.nanoseconds(0)) { - let queue = DispatchQueue(label: internalSerialQueueName, attributes: []) - serialQueueConfiguration?(queue) - self.init(serialQueue: queue, leeway: leeway) - } - - /** - Constructs new `SerialDispatchQueueScheduler` named `internalSerialQueueName` that wraps `queue`. - - - parameter queue: Possibly concurrent dispatch queue used to perform work. - - parameter internalSerialQueueName: Name of internal serial dispatch queue proxy. - - parameter leeway: The amount of time, in nanoseconds, that the system will defer the timer. - */ - public convenience init(queue: DispatchQueue, internalSerialQueueName: String, leeway: DispatchTimeInterval = DispatchTimeInterval.nanoseconds(0)) { - // Swift 3.0 IUO - let serialQueue = DispatchQueue(label: internalSerialQueueName, - attributes: [], - target: queue) - self.init(serialQueue: serialQueue, leeway: leeway) - } - - /** - Constructs new `SerialDispatchQueueScheduler` that wraps on of the global concurrent dispatch queues. - - - parameter qos: Identifier for global dispatch queue with specified quality of service class. - - parameter internalSerialQueueName: Custom name for internal serial dispatch queue proxy. - - parameter leeway: The amount of time, in nanoseconds, that the system will defer the timer. - */ - @available(iOS 8, OSX 10.10, *) - public convenience init(qos: DispatchQoS, internalSerialQueueName: String = "rx.global_dispatch_queue.serial", leeway: DispatchTimeInterval = DispatchTimeInterval.nanoseconds(0)) { - self.init(queue: DispatchQueue.global(qos: qos.qosClass), internalSerialQueueName: internalSerialQueueName, leeway: leeway) - } - - /** - Schedules an action to be executed immediately. - - - parameter state: State passed to the action to be executed. - - parameter action: Action to be executed. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - public final func schedule(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable { - return self.scheduleInternal(state, action: action) - } - - func scheduleInternal(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable { - return self.configuration.schedule(state, action: action) - } - - /** - Schedules an action to be executed. - - - parameter state: State passed to the action to be executed. - - parameter dueTime: Relative time after which to execute the action. - - parameter action: Action to be executed. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - public final func scheduleRelative(_ state: StateType, dueTime: Foundation.TimeInterval, action: @escaping (StateType) -> Disposable) -> Disposable { - return self.configuration.scheduleRelative(state, dueTime: dueTime, action: action) - } - - /** - Schedules a periodic piece of work. - - - parameter state: State passed to the action to be executed. - - parameter startAfter: Period after which initial work should be run. - - parameter period: Period for running the work periodically. - - parameter action: Action to be executed. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - public func schedulePeriodic(_ state: StateType, startAfter: TimeInterval, period: TimeInterval, action: @escaping (StateType) -> StateType) -> Disposable { - return self.configuration.schedulePeriodic(state, startAfter: startAfter, period: period, action: action) - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift b/Example/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift deleted file mode 100644 index a17475a..0000000 --- a/Example/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift +++ /dev/null @@ -1,95 +0,0 @@ -// -// VirtualTimeConverterType.swift -// RxSwift -// -// Created by Krunoslav Zaher on 12/23/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Parametrization for virtual time used by `VirtualTimeScheduler`s. -public protocol VirtualTimeConverterType { - /// Virtual time unit used that represents ticks of virtual clock. - associatedtype VirtualTimeUnit - - /// Virtual time unit used to represent differences of virtual times. - associatedtype VirtualTimeIntervalUnit - - /** - Converts virtual time to real time. - - - parameter virtualTime: Virtual time to convert to `Date`. - - returns: `Date` corresponding to virtual time. - */ - func convertFromVirtualTime(_ virtualTime: VirtualTimeUnit) -> RxTime - - /** - Converts real time to virtual time. - - - parameter time: `Date` to convert to virtual time. - - returns: Virtual time corresponding to `Date`. - */ - func convertToVirtualTime(_ time: RxTime) -> VirtualTimeUnit - - /** - Converts from virtual time interval to `NSTimeInterval`. - - - parameter virtualTimeInterval: Virtual time interval to convert to `NSTimeInterval`. - - returns: `NSTimeInterval` corresponding to virtual time interval. - */ - func convertFromVirtualTimeInterval(_ virtualTimeInterval: VirtualTimeIntervalUnit) -> RxTimeInterval - - /** - Converts from `NSTimeInterval` to virtual time interval. - - - parameter timeInterval: `NSTimeInterval` to convert to virtual time interval. - - returns: Virtual time interval corresponding to time interval. - */ - func convertToVirtualTimeInterval(_ timeInterval: RxTimeInterval) -> VirtualTimeIntervalUnit - - /** - Offsets virtual time by virtual time interval. - - - parameter time: Virtual time. - - parameter offset: Virtual time interval. - - returns: Time corresponding to time offsetted by virtual time interval. - */ - func offsetVirtualTime(_ time: VirtualTimeUnit, offset: VirtualTimeIntervalUnit) -> VirtualTimeUnit - - /** - This is additional abstraction because `Date` is unfortunately not comparable. - Extending `Date` with `Comparable` would be too risky because of possible collisions with other libraries. - */ - func compareVirtualTime(_ lhs: VirtualTimeUnit, _ rhs: VirtualTimeUnit) -> VirtualTimeComparison -} - -/** - Virtual time comparison result. - - This is additional abstraction because `Date` is unfortunately not comparable. - Extending `Date` with `Comparable` would be too risky because of possible collisions with other libraries. -*/ -public enum VirtualTimeComparison { - /// lhs < rhs. - case lessThan - /// lhs == rhs. - case equal - /// lhs > rhs. - case greaterThan -} - -extension VirtualTimeComparison { - /// lhs < rhs. - var lessThen: Bool { - return self == .lessThan - } - - /// lhs > rhs - var greaterThan: Bool { - return self == .greaterThan - } - - /// lhs == rhs - var equal: Bool { - return self == .equal - } -} diff --git a/Example/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift b/Example/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift deleted file mode 100644 index c0e1aa5..0000000 --- a/Example/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift +++ /dev/null @@ -1,269 +0,0 @@ -// -// VirtualTimeScheduler.swift -// RxSwift -// -// Created by Krunoslav Zaher on 2/14/15. -// Copyright © 2015 Krunoslav Zaher. All rights reserved. -// - -/// Base class for virtual time schedulers using a priority queue for scheduled items. -open class VirtualTimeScheduler - : SchedulerType { - - public typealias VirtualTime = Converter.VirtualTimeUnit - public typealias VirtualTimeInterval = Converter.VirtualTimeIntervalUnit - - private var _running : Bool - - private var _clock: VirtualTime - - fileprivate var _schedulerQueue : PriorityQueue> - private var _converter: Converter - - private var _nextId = 0 - - /// - returns: Current time. - public var now: RxTime { - return _converter.convertFromVirtualTime(clock) - } - - /// - returns: Scheduler's absolute time clock value. - public var clock: VirtualTime { - return _clock - } - - /// Creates a new virtual time scheduler. - /// - /// - parameter initialClock: Initial value for the clock. - public init(initialClock: VirtualTime, converter: Converter) { - _clock = initialClock - _running = false - _converter = converter - _schedulerQueue = PriorityQueue(hasHigherPriority: { - switch converter.compareVirtualTime($0.time, $1.time) { - case .lessThan: - return true - case .equal: - return $0.id < $1.id - case .greaterThan: - return false - } - }, isEqual: { $0 === $1 }) - #if TRACE_RESOURCES - let _ = Resources.incrementTotal() - #endif - } - - /** - Schedules an action to be executed immediately. - - - parameter state: State passed to the action to be executed. - - parameter action: Action to be executed. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - public func schedule(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable { - return self.scheduleRelative(state, dueTime: 0.0) { a in - return action(a) - } - } - - /** - Schedules an action to be executed. - - - parameter state: State passed to the action to be executed. - - parameter dueTime: Relative time after which to execute the action. - - parameter action: Action to be executed. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - public func scheduleRelative(_ state: StateType, dueTime: RxTimeInterval, action: @escaping (StateType) -> Disposable) -> Disposable { - let time = self.now.addingTimeInterval(dueTime) - let absoluteTime = _converter.convertToVirtualTime(time) - let adjustedTime = self.adjustScheduledTime(absoluteTime) - return scheduleAbsoluteVirtual(state, time: adjustedTime, action: action) - } - - /** - Schedules an action to be executed after relative time has passed. - - - parameter state: State passed to the action to be executed. - - parameter time: Absolute time when to execute the action. If this is less or equal then `now`, `now + 1` will be used. - - parameter action: Action to be executed. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - public func scheduleRelativeVirtual(_ state: StateType, dueTime: VirtualTimeInterval, action: @escaping (StateType) -> Disposable) -> Disposable { - let time = _converter.offsetVirtualTime(self.clock, offset: dueTime) - return scheduleAbsoluteVirtual(state, time: time, action: action) - } - - /** - Schedules an action to be executed at absolute virtual time. - - - parameter state: State passed to the action to be executed. - - parameter time: Absolute time when to execute the action. - - parameter action: Action to be executed. - - returns: The disposable object used to cancel the scheduled action (best effort). - */ - public func scheduleAbsoluteVirtual(_ state: StateType, time: Converter.VirtualTimeUnit, action: @escaping (StateType) -> Disposable) -> Disposable { - MainScheduler.ensureExecutingOnScheduler() - - let compositeDisposable = CompositeDisposable() - - let item = VirtualSchedulerItem(action: { - let dispose = action(state) - return dispose - }, time: time, id: _nextId) - - _nextId += 1 - - _schedulerQueue.enqueue(item) - - _ = compositeDisposable.insert(item) - - return compositeDisposable - } - - /// Adjusts time of scheduling before adding item to schedule queue. - open func adjustScheduledTime(_ time: Converter.VirtualTimeUnit) -> Converter.VirtualTimeUnit { - return time - } - - /// Starts the virtual time scheduler. - public func start() { - MainScheduler.ensureExecutingOnScheduler() - - if _running { - return - } - - _running = true - repeat { - guard let next = findNext() else { - break - } - - if _converter.compareVirtualTime(next.time, self.clock).greaterThan { - _clock = next.time - } - - next.invoke() - _schedulerQueue.remove(next) - } while _running - - _running = false - } - - func findNext() -> VirtualSchedulerItem? { - while let front = _schedulerQueue.peek() { - if front.isDisposed { - _schedulerQueue.remove(front) - continue - } - - return front - } - - return nil - } - - /// Advances the scheduler's clock to the specified time, running all work till that point. - /// - /// - parameter virtualTime: Absolute time to advance the scheduler's clock to. - public func advanceTo(_ virtualTime: VirtualTime) { - MainScheduler.ensureExecutingOnScheduler() - - if _running { - fatalError("Scheduler is already running") - } - - _running = true - repeat { - guard let next = findNext() else { - break - } - - if _converter.compareVirtualTime(next.time, virtualTime).greaterThan { - break - } - - if _converter.compareVirtualTime(next.time, self.clock).greaterThan { - _clock = next.time - } - - next.invoke() - _schedulerQueue.remove(next) - } while _running - - _clock = virtualTime - _running = false - } - - /// Advances the scheduler's clock by the specified relative time. - public func sleep(_ virtualInterval: VirtualTimeInterval) { - MainScheduler.ensureExecutingOnScheduler() - - let sleepTo = _converter.offsetVirtualTime(clock, offset: virtualInterval) - if _converter.compareVirtualTime(sleepTo, clock).lessThen { - fatalError("Can't sleep to past.") - } - - _clock = sleepTo - } - - /// Stops the virtual time scheduler. - public func stop() { - MainScheduler.ensureExecutingOnScheduler() - - _running = false - } - - #if TRACE_RESOURCES - deinit { - _ = Resources.decrementTotal() - } - #endif -} - -// MARK: description - -extension VirtualTimeScheduler: CustomDebugStringConvertible { - /// A textual representation of `self`, suitable for debugging. - public var debugDescription: String { - return self._schedulerQueue.debugDescription - } -} - -final class VirtualSchedulerItem