Commit Graph

202 Commits

Author SHA1 Message Date
Douglas Heriot 76b1c00661 Make Bool as KVORepresentable, to avoid ambiguty in observe()
Also mark rx_text usage as deprecated, to avoid warning.
2016-08-29 12:00:04 +10:00
Krunoslav Zaher 72122e3e43 Updates documentation for 3.0.0.alpha.1 2016-08-21 18:40:08 +02:00
Krunoslav Zaher 7208a8d1cc Improves deprecation messages for table and collection views. #841 2016-08-21 15:09:14 +02:00
Krunoslav Zaher b68fc4260e Adds UITests. 2016-08-20 22:59:34 +02:00
Krunoslav Zaher 1998e54085 Fixes RxCocoa compilation issues. 2016-08-19 01:59:06 +02:00
Krunoslav Zaher a4f15128bf Deprecates `RxTextInput` in favor of `TextInput`. 2016-08-19 01:46:27 +02:00
Krunoslav Zaher 5610073ca9 Adds comments to `Reactive`. 2016-08-19 01:46:09 +02:00
Krunoslav Zaher 9ce054936d Merge branch 'swift-3.0-removing-rx_-prefix' of https://github.com/JegnuX/RxSwift into JegnuX-swift-3.0-removing-rx_-prefix 2016-08-19 00:45:51 +02:00
Mo Ramezanpoor b9b593d740 Adds a nullability annotation to `_RXDelegateProxy`.
`AllTests` now passes.
2016-08-17 09:28:56 +01:00
Krunoslav Zaher 6763f1a4b7 Replaces `open` with `public`. 2016-08-16 22:10:41 +02:00
Mo Ramezanpoor d43e717415 WIP: AllTests compiles. 2016-08-16 16:09:08 +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 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
Krunoslav Zaher 7adc86f7d2 Adds `onSubscribe` and `onDispose` for `do` operator. #583 2016-08-16 00:03:30 +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
Mo Ramezanpoor 75971c61c6 Replaces all calls to `AnonymousDisposable.init()` with `Disposables.create()`. 2016-08-10 15:00:29 +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
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
Krunoslav Zaher aef4e69339 Modernizes APIs. 2016-08-07 20:14:19 +02:00
Krunoslav Zaher 8a58deaa2b Deprecates `toObservable` in favor of `from` operator. 2016-08-07 18:54:23 +02:00
Krunoslav Zaher 441a4a22db Modernizes doOn operator. 2016-08-07 18:24:33 +02:00
Krunoslav Zaher 7b6a244f45 Fixes problem with data sources. 2016-08-07 15:23:17 +02:00
Yuki Nagai a9d0cfeb5b Add Error extension instead of NSError for Workaround; NSError extension returns a type which conforms to Error protocol 2016-08-02 21:48:01 +09:00
Yuki Nagai 7f84ec604e WIP. Update for Xcode 8 beta 4. 2016-08-02 15:46:11 +09:00
Krunoslav Zaher 490b6cbbc5 Merge pull request #790 from sunshinejr/swift-3.0
[Swift 3.0] Remove first parameter names for Observables.
2016-07-29 12:11:35 +02:00
Łukasz Mróz 181a94bbc9 [Swift3] doOn syntax. 2016-07-25 20:39:01 +02:00
Krunoslav Zaher 1301e9925a Fixes for Swift 3.0 2016-07-23 16:05:04 +02:00
Krunoslav Zaher e79457dcd3 Fixes for Xcode beta 3. 2016-07-20 22:14:59 +02:00
Krunoslav Zaher edf423d42e Improves KVOObservable code. 2016-07-08 00:20:24 +02:00
Krunoslav Zaher e2edffc39d Fixes `@warn_unused_result(message: "http://git.io/rxs.ud")` warnings. 2016-07-08 00:04:44 +02:00
sergdort 7e2a492895 Fixed the bug with determining property attributes in KVOObservable 2016-07-06 10:29:38 +03:00
sergdort cfb8b1558a Merge branch 'master' into swift-3.0
Conflicts:
	RxExample/RxDataSources/DataSources/CollectionViewSectionedDataSource.swift
	RxExample/RxDataSources/DataSources/Differentiator.swift
	RxExample/RxDataSources/DataSources/TableViewSectionedDataSource.swift
	RxExample/RxExample.xcodeproj/project.pbxproj
	RxExample/RxExample.xcodeproj/xcshareddata/xcschemes/RxExample-iOS-no-module.xcscheme
	RxExample/RxExample/Examples/TableViewPartialUpdates/PartialUpdatesViewController.swift
	RxExample/RxExample/Examples/TableViewWithEditingCommands/TableViewWithEditingCommandsViewController.swift
	RxExample/RxExample/Services/HtmlParsing.swift
	Tests/RxCocoaTests/CLLocationManager+RxTests.swift
	Tests/RxCocoaTests/UICollectionView+RxTests.swift
2016-07-05 18:00:36 +03:00
Krunoslav Zaher f95b1ed122 Unit tests, documents and improves data source/delegate interfaces. 2016-07-04 01:02:08 +02:00
Krunoslav Zaher e730955869 Merge pull request #770 from tonyarnold/fix/static-analysis-issues
Resolve minor static analysis issues
2016-06-29 13:37:57 +02:00
Tony Arnold e4219c8423 Add RX_CATCH_ERROR macro to work around implicit nullable state of NSError parameters in Objective-C methods 2016-06-29 10:59:13 +10:00
Tony Arnold c50efe34c7 Initialise targetClass to NULL to silence a static analysis issue 2016-06-28 13:17:17 +10:00
林達也 fc0fdb4850 Change _forwardToDelegate to weak reference 2016-06-27 23:31:38 +09:00
Jamie Pinkham 5d47db7609 fix errors with RxCocoa introduced by merge 2016-06-22 10:15:37 -04:00
Jamie Pinkham 7ff150aafc clean up changes from merge 2016-06-22 10:01:59 -04:00
Jamie Pinkham 5a9f47262a Merge branch 'upstream-develop' into swift-3.0
# Conflicts:
#	RxCocoa/Common/CocoaUnits/Driver/Driver+Subscription.swift
#	RxCocoa/Common/CocoaUnits/UIBindingObserver.swift
#	RxSwift/Schedulers/MainScheduler.swift
2016-06-22 09:54:44 -04:00
Jamie Pinkham 924a9a4983 clean up syntax to get test building
still trying to work out the ambiguious use compiler error
2016-06-22 09:34:04 -04:00
Jamie Pinkham c35136fe0b get example projects working.. woo! 2016-06-18 15:21:44 -07:00
Jamie Pinkham 39a20441e1 begin fixing up the examples 2016-06-18 01:24:07 -07:00
Jamie Pinkham c4cf2e0d12 builds ios, ios rx cocoa and ios rx blocking 2016-06-17 23:19:16 -07:00
Jamie Pinkham 0e38ecbc87 Merge branch 'develop' into swift-3.0
# Conflicts:
#	Documentation/DesignRationale.md
#	Rx.playground/Pages/Introduction.xcplaygroundpage/Contents.swift
#	RxCocoa/Common/DelegateProxyType.swift
#	RxCocoa/iOS/UICollectionView+Rx.swift
#	RxCocoa/iOS/UIControl+Rx.swift
#	RxCocoa/iOS/UIScrollView+Rx.swift
#	RxCocoa/iOS/UITableView+Rx.swift
#	RxExample/RxDataSources/DataSources+Rx/ObservableConvertibleType+Differentiator.swift
#	RxSwift/Concurrency/Lock.swift
#	RxSwift/Disposables/CompositeDisposable.swift
#	RxSwift/Event.swift
#	RxSwift/Extensions/String+Rx.swift
#	RxSwift/Schedulers/OperationQueueScheduler.swift
2016-06-17 21:14:06 -07:00