Commit Graph

1829 Commits

Author SHA1 Message Date
Mo Ramezanpoor 819635d9aa Fixes RxTests. 2016-08-16 15:36:44 +01:00
Mo Ramezanpoor b0026d65eb Fixes RxCocoa for macOS. 2016-08-16 15:36:20 +01:00
Mo Ramezanpoor 695ea19e02 WIP: Fixes warnings in RxCocoa. 2016-08-16 15:31:51 +01:00
Mo Ramezanpoor e55c6675f4 Removes the KVOCallback type alias.
The compiler wouldn’t recognise that it should be imported as escaping.
2016-08-16 15:13:47 +01:00
Mo Ramezanpoor 301ad9f438 WIP: Fix a bunch of RxCocoa compilation issues. 2016-08-16 15:01:07 +01:00
Mo Ramezanpoor 047c77a698 WIP: Removes a call to `unsafeAddress(of:)`. 2016-08-16 14:28:35 +01:00
Mo Ramezanpoor a2be331fee WIP: Fixes signature of `ReplaySubject.create()`. 2016-08-16 14:25:57 +01:00
Mo Ramezanpoor 2d36297601 WIP: Marks escaping closures as such. 2016-08-16 14:25:15 +01:00
Mo Ramezanpoor c12b315149 WIP: Fixes private access issues. 2016-08-16 14:25:01 +01:00
Mo Ramezanpoor 74464a4940 WIP: Clarifies references to `Swift.Never`. 2016-08-16 14:01:52 +01:00
Mo Ramezanpoor fcf8e4d092 WIP: Updates code for Xcode 8 beta 6 using the migrator with manual auditing.
The code doesn’t compile yet.
2016-08-16 14:00:14 +01:00
Jérôme Alves 43c0b952ec Remove `AnyObject` constraint and add a new protocol `ReactiveCompatible` to mark types which should be extended with the `rx` var. 2016-08-16 10:47:26 +02:00
Jérôme Alves 96ef70cc2f Update documentation (.md files) 2016-08-16 09:05:24 +02:00
Krunoslav Zaher 7adc86f7d2 Adds `onSubscribe` and `onDispose` for `do` operator. #583 2016-08-16 00:03:30 +02:00
Jérôme Alves cbb0ed5d29 Merge branch 'swift-3.0' into swift-3.0-removing-rx_-prefix 2016-08-15 19:19:22 +02:00
Krunoslav Zaher e2f4bad2bb Merge pull request #831 from JegnuX/swift-3.0-type-fix
[Swift 3.0] Fix ActivityToken dispose type.
2016-08-15 18:57:08 +02:00
Jérôme Alves 7f65914f93 Fix ActivityToken dispose type. 2016-08-15 17:53:13 +02:00
Jérôme Alves e59adc3ae9 Updates Unit Tests and makes them succeed. 2016-08-15 17:46:13 +02:00
Jérôme Alves e4e422c4f1 Merge branch 'swift-3.0' into swift-3.0-removing-rx_-prefix
Conflicts:
	RxCocoa/Common/Observables/NSNotificationCenter+Rx.swift
	RxCocoa/OSX/NSImageView+Rx.swift
	RxCocoa/iOS/UICollectionView+Rx.swift
	RxCocoa/iOS/UIControl+Rx.swift
	RxCocoa/iOS/UIImageView+Rx.swift
	RxCocoa/iOS/UILabel+Rx.swift
	RxCocoa/iOS/UITableView+Rx.swift
	RxExample/RxDataSources/DataSources+Rx/UISectionedViewType+RxAnimatedDataSource.swift
	RxExample/RxExample/Examples/APIWrappers/APIWrappersViewController.swift
	RxExample/RxExample/Examples/GitHubSearchRepositories/GitHubSearchRepositoriesViewController.swift
	RxExample/RxExample/Examples/GitHubSignup/UsingDriver/GitHubSignupViewController2.swift
	RxExample/RxExample/Examples/GitHubSignup/UsingVanillaObservables/GitHubSignupViewController1.swift
	RxExample/RxExample/Examples/ImagePicker/UIImagePickerController+RxCreate.swift
	RxExample/RxExample/Examples/OSX simple example/IntroductionExampleViewController.swift
	RxExample/RxExample/Examples/SimpleTableViewExample/SimpleTableViewExampleViewController.swift
	RxExample/RxExample/Examples/SimpleTableViewExampleSectioned/SimpleTableViewExampleSectionedViewController.swift
	RxExample/RxExample/Examples/SimpleValidation/SimpleValidationViewController.swift
	RxExample/RxExample/Examples/TableViewPartialUpdates/PartialUpdatesViewController.swift
	RxExample/RxExample/Examples/TableViewWithEditingCommands/TableViewWithEditingCommandsViewController.swift
	RxExample/RxExample/Examples/WikipediaImageSearch/Views/WikipediaSearchCell.swift
	RxExample/RxExample/Examples/WikipediaImageSearch/Views/WikipediaSearchViewController.swift
	Tests/RxCocoaTests/DelegateProxyTest.swift
	Tests/RxCocoaTests/KVOObservableTests.swift
	Tests/RxCocoaTests/RxTest+Controls.swift
	Tests/RxCocoaTests/UICollectionView+RxTests.swift
	Tests/RxCocoaTests/UIScrollView+RxTests.swift
	Tests/RxCocoaTests/UITableView+RxTests.swift
2016-08-15 12:17:26 +02:00
Krunoslav Zaher 4f54c9bf5a Merge branch 'swift-3.0' of github.com:kzaher/RxSwift into swift-3.0 2016-08-15 01:12:21 +02:00
Krunoslav Zaher 8b00921da7 Merge branch 'develop' into swift-3.0 2016-08-15 01:08:36 +02:00
Krunoslav Zaher bdbcb5bc87 Improves UITableView and UICollection view bindings behavior. 2016-08-14 23:25:54 +02:00
Krunoslav Zaher 55f4bb3b65 Merge pull request #828 from mohsenr/swift-3.0-disposables-rebased
[Swift 3.0] Collect all immutable Disposable constructors in `Disposables` type
2016-08-10 23:06:45 +02:00
Mo Ramezanpoor f1b4e0f6b7 Merge with 'swift-3.0' 2016-08-10 15:24:27 +01:00
Mo Ramezanpoor f8a11aa0cb Document `Disposables`. 2016-08-10 15:16:58 +01:00
Mo Ramezanpoor 8754166f35 Hides `Disposables.init()` internally by making it private. 2016-08-10 15:03:52 +01:00
Mo Ramezanpoor 75971c61c6 Replaces all calls to `AnonymousDisposable.init()` with `Disposables.create()`. 2016-08-10 15:00:29 +01:00
Mo Ramezanpoor c643d4c0b5 Returns `Cancelable` instead of `Disposable` from all overloads of `Disposables.create()` except for no-op (which is stateless). 2016-08-10 15:00:02 +01:00
Mo Ramezanpoor 64526c8dcd Replaces all calls to `StableCompositeDisposable.create()` with `Disposables.create()`. 2016-08-10 14:49:21 +01:00
Mo Ramezanpoor 1fe15bb9da Replaces all calls to `NopDisposable.instance` with `Disposables.create()`. 2016-08-10 14:47:53 +01:00
Mo Ramezanpoor a981d4caab Overloads `Disposables.create()` with a version accepting variadics after the third argument. 2016-08-10 14:43:51 +01:00
Mo Ramezanpoor 6d17e711ab Changes implementation of two overloads of `Disposables.create()` to avoid deprecation warnings. 2016-08-10 14:33:39 +01:00
Mo Ramezanpoor 341ef8fc3b Rename `Disposables.empty()` to `.create()`. 2016-08-10 14:28:13 +01:00
Mo Ramezanpoor 2812da1f5e Replace immutable initialisations of `CompositeDisposable` with `Disposables.create()`.
The factory methods will select specialised implementations based on the case.
2016-08-10 14:27:45 +01:00
Krunoslav Zaher 2498b3194d Merge pull request #829 from rhx/swift-3.0
Update for Xcode 8 beta 5
2016-08-10 15:04:12 +02:00
Rene Hexel 2e4b6990e8 Update for Xcode 8 beta 5 2016-08-10 09:45:23 +10:00
Krunoslav Zaher 6eda820476 Merge pull request #827 from mohsenr/swift-3.0-isDisposed
[Swift 3.0] Renames `disposed` to `isDisposed`
2016-08-09 21:34:53 +02:00
Mo Ramezanpoor 2df8c43077 Deprecates `StableCompositeDisposable.create()` in favour of `Disposables.create()`. 2016-08-09 10:45:29 +01:00
Mo Ramezanpoor ac876f35db Deprecates `AnonymousDisposable.init` in favour of `Disposables.create()`. 2016-08-09 10:34:43 +01:00
Mo Ramezanpoor 0058d2ff67 Deprecates `NopDisposable.instance` in favour of `Disposables.empty()`. 2016-08-09 10:32:35 +01:00
Mo Ramezanpoor 23ae9692e7 Change Disposables.empty from a property to a method to mirror `Observable.empty()`. 2016-08-09 10:30:18 +01:00
Mo Ramezanpoor eb646a97a6 Makes `BinaryDisposable` private.
Uses `Disposables.create()` instead.
2016-08-09 10:24:02 +01:00
Mo Ramezanpoor b0a819981b Implement `Cancelable.disposed` as an extension. 2016-08-09 10:12:55 +01:00
Mo Ramezanpoor d3eacdfcb5 BinaryDisposable is no longer public. 2016-08-09 10:05:49 +01:00
Mo Ramezanpoor dbc635d6e7 Create Disposables type. 2016-08-09 09:55:11 +01:00
Mo Ramezanpoor cb5d23c757 Removes defunct NAryDisposable.(swift|tt) files. 2016-08-09 09:54:39 +01:00
Mo Ramezanpoor 38e5a500c7 Makes some disposable classes marked as final. 2016-08-09 09:54:20 +01:00
Mo Ramezanpoor 6887745089 Renames `MySubject.diposed` (with a typo) to `.isDisposed`. 2016-08-09 09:50:36 +01:00
Mo Ramezanpoor e530858bd0 Renames `disposed` to `isDisposed` in any place that it makes semantically. 2016-08-09 09:50:13 +01:00
Jérôme Alves 10ff55cfba Moves RxCocoa extensions from `rx_` syntax to `rx.` syntax.
The main work is done in this commit but the feature it's still "work in progress"
2016-08-09 00:17:38 +02:00