Sebastian Osiński
ba5b61dde2
Update testcase to use new method
2018-01-01 19:37:14 +01:00
beeth0ven
162f9117c1
Remove timeless function public
keyword
2017-12-28 17:30:53 +01:00
beeth0ven
9379cd9107
Remove global timeless functions
2017-12-28 17:30:53 +01:00
beeth0ven
51c408503c
Use static timeless method in Tests
2017-12-28 17:30:53 +01:00
beeth0ven
b924b28ac4
Add Recorded Event timeless factory method
2017-12-28 17:30:53 +01:00
Krunoslav Zaher
49eba516f1
Release 4.1.0
2017-12-27 22:55:44 +01:00
Lucas Nelaupe
c21a302d6a
Implement error Hook for Traits
2017-12-27 17:23:15 +01:00
beeth0ven
e337cca7de
Add two missing cases
2017-12-23 00:55:31 +01:00
beeth0ven
ef12808322
Use array factory method to create multiple events in Tests
2017-12-23 00:55:31 +01:00
Krunoslav Zaher
649365d76c
Merge branch 'introduce-recored-event-static-func' of https://github.com/beeth0ven/RxSwift into beeth0ven-introduce-recored-event-static-func
2017-12-14 11:29:59 +01:00
Krunoslav Zaher
91f6cbedcc
Fixes iOS 11.2 leak.
2017-12-12 23:25:16 +01:00
beeth0ven
3d06918ffe
Delete file Recorded+Event.swift
2017-12-01 15:39:57 +08:00
beeth0ven
4aa4ec63d5
Clean up remain warnings
2017-11-30 14:50:18 +08:00
beeth0ven
41fd9c3341
Replace completed with Recorded.completed in Tests
2017-11-30 14:27:59 +08:00
beeth0ven
7bb26bf8a6
Replace error with Recorded.error in Tests
2017-11-30 14:04:36 +08:00
beeth0ven
7c4273afcd
Replace next with Recorded.next in Tests
2017-11-30 13:42:48 +08:00
Krunoslav Zaher
7fbdb02610
Merge branch 'develop' of https://github.com/biboran/RxSwift into biboran-develop
2017-11-26 18:28:47 +01:00
Krunoslav Zaher
f639ff4504
Adds asSignal
to ControlEvent
.
2017-11-01 19:50:44 +01:00
Krunoslav Zaher
123bf7b1e2
Removes deprecation attribute from asSharedSequence
.
2017-11-01 18:10:01 +01:00
Krunoslav Zaher
9c98fdef11
Modernizes the API and improves unit test.
2017-11-01 17:51:48 +01:00
Stefan van den Oord
101d4bce53
Use old XCTAssertEqualsWithAccuracy for Xcode 8 compatibility
2017-11-01 17:42:08 +01:00
Stefan van den Oord
b959e79100
Added unit test for UIStepper stepValue reactive wrapper
2017-11-01 17:42:07 +01:00
Krunoslav Zaher
582da06b1b
Adds sanity check implementation for pure Swift delegate proxy.
2017-11-01 17:32:52 +01:00
tarunon
a42c66bf6a
Remove DelegateProxy.Delegate type condition.
2017-11-01 17:32:52 +01:00
Pablo Bendersky
1c0462237b
Added reactive wrapper for UISegmentedControl's setEnabled(_:forSegmentAt:).
2017-10-29 17:26:13 +01:00
Timofey Solonin
bbd2ddccd5
Added bind(to:) methods for PublishRelay and BehaviorRelay. Added relevant tests for binding.
2017-10-23 16:38:47 +03:00
Krunoslav Zaher
36c82998a6
Adds global Hooks and implements error handling hook.
2017-10-16 12:54:49 +02:00
Krunoslav Zaher
05e26184d9
Adds unit tests for didUpdateFocusInContextWithAnimationCoordinator
.
2017-10-13 21:39:15 +02:00
Krunoslav Zaher
f20c35ab16
Publicly exposes controlProperty
.
2017-10-10 14:54:36 +02:00
Krunoslav Zaher
fa91e3a87d
Deprecates Variable
in favor of BehaviorRelay
.
2017-10-08 13:14:11 +02:00
Krunoslav Zaher
58917c77a5
Merge branch 'develop' into rxswift4.0-swift4.0
2017-10-07 19:58:29 +02:00
Krunoslav Zaher
4995928ca4
Xcode 9.0 (9A235) fix.
2017-10-07 18:38:21 +02:00
Krunoslav Zaher
11474a99a3
Fixes CI.
2017-10-07 18:25:12 +02:00
Krunoslav Zaher
69ae3520f5
Changes return type of ignoreElements
to Completable
. #1436
2017-10-07 17:29:26 +02:00
Nikita Ermolenko
f183e85288
Add tests for scheduled disposable
2017-10-02 17:10:15 +06:00
Nikita Ermolenko
94b7a40024
Add tests for a serial disposable
2017-10-02 14:25:17 +06:00
Krunoslav Zaher
aacfcc894b
Release 4.0.0-beta.1
2017-10-01 20:28:56 +02:00
Krunoslav Zaher
c29e8f9ef5
Polishes attributedText.
2017-10-01 15:45:29 +02:00
Carlos García
9c273c0c5d
fix test
2017-10-01 15:45:29 +02:00
Mariangeles Cuevas
92ea417efa
fix variable names
2017-10-01 15:45:29 +02:00
Carlos García
910bd222fa
fix attributtedString: end of range - don’t emit next if equal an tests
2017-10-01 15:45:29 +02:00
Carlos García
cdda738bd9
Add rx.attributedText to UITextView and UITextField
2017-10-01 15:45:29 +02:00
Krunoslav Zaher
f46a54d66d
Replaces share
with default implementation of share(replay:scope:)
.
2017-10-01 13:14:58 +02:00
Krunoslav Zaher
fd947cbe45
Changes publish
, replay
, replay
all to clear state in case of sequence termination.
2017-10-01 13:14:58 +02:00
Krunoslav Zaher
3f5f9cc606
Adds deprecated warnings to API parts that were missing it. #1427
2017-09-30 14:08:00 +02:00
tarunon
7d344f6ca0
clean up project warning.
2017-09-25 11:04:17 +02:00
tarunon
e70ad0e450
set delegate using protocol and default implementation.
2017-09-21 15:45:01 +09:00
Krunoslav Zaher
a0bf386834
Release 4.0.0-beta.0
2017-09-18 01:08:40 +02:00
Krunoslav Zaher
efe3af1b8f
Merge remote-tracking branch 'origin/develop' into swift4.0
2017-09-17 22:42:04 +02:00
Krunoslav Zaher
b34b2ba768
Removes abstract methods from delegate proxy.
2017-09-17 21:52:53 +02:00
Krunoslav Zaher
e29fd9e72c
Merge branch 'sergdort-cleanup-traits-operators' into swift4.0
2017-09-17 17:58:59 +02:00
Krunoslav Zaher
95af87af0a
Merge branch 'cleanup-traits-operators' of https://github.com/sergdort/RxSwift into sergdort-cleanup-traits-operators
2017-09-17 17:46:21 +02:00
Krunoslav Zaher
a1c2f0dc83
Deprecates UIBindingObserver
in favor of Binder
.
2017-09-17 15:39:48 +02:00
Krunoslav Zaher
0363de577f
Fixes unit tests.
2017-09-17 01:21:23 +02:00
Krunoslav Zaher
d1bc89b5ef
Simplifies DelegateProxy.
2017-09-16 23:58:19 +02:00
Krunoslav Zaher
f61ecc7b5f
Merge branch 'feature/type_safe_delegateproxy' of https://github.com/tarunon/RxSwift into tarunon-feature/type_safe_delegateproxy
2017-09-13 22:45:40 +02:00
tarunon
16f6c3af4d
Avoid use unsafeDowncast. Remove generics parameter from DelegateProxy subclasses subclass.
2017-09-14 00:12:06 +09:00
Krunoslav Zaher
d72aae3539
Adds NSControl.controlEvent tests and improves NSControl.value extension.
2017-09-10 20:25:46 +02:00
Florent Pillet
9ab11c657d
Fixed issue with NSControl.rx.value multiple observers
...
When multiple observers want to look at NSControl.rx.value, only one would get updates because
the returned observable wasn't shared(). This is examplified by the new test added to NSButton
This also solves the issue of observers with varying types
2017-09-10 18:22:51 +02:00
Krunoslav Zaher
c79b00f66e
Adds NSControl.controlEvent tests and improves NSControl.value extension.
2017-09-10 18:00:54 +02:00
Florent Pillet
33d0083b51
Fixed issue with NSControl.rx.value multiple observers
...
When multiple observers want to look at NSControl.rx.value, only one would get updates because
the returned observable wasn't shared(). This is examplified by the new test added to NSButton
This also solves the issue of observers with varying types
2017-09-10 17:39:52 +02:00
Krunoslav Zaher
6d2d15cdea
Changes nested SharedSequence strategy to use inner sharing strategy for result.
2017-09-10 15:23:37 +02:00
tarunon
c4bfcd3769
Merge branch 'swift4.0' of https://github.com/ReactiveX/RxSwift into feature/type_safe_delegateproxy
2017-08-30 10:47:34 +09:00
tarunon
c8f410b5f5
fix mac test compile fail on xcode9b6
2017-08-29 14:50:59 +02:00
tarunon
c21fbada8b
Merge branch 'swift4.0' of https://github.com/ReactiveX/RxSwift into feature/type_safe_delegateproxy
2017-08-29 12:53:51 +09:00
tarunon
ea105037c9
refactoring
...
rename `assignedProxyFor(_:)` -> `assignedProxy(for:)`
rename `currentDelegateFor(_:)` -> `currentDelegate(for:)`
rename `proxyForObject(_:)` -> `proxy(for:)`
2017-08-29 12:41:33 +09:00
Krunoslav Zaher
81066514fe
Renames Publisher
to Signal
.
2017-08-27 19:17:17 +02:00
Vinícius Soares
1949433701
Add XCTAssertEqual to support recorded events with optional elements
2017-08-27 11:43:40 -03:00
Vinícius Soares
aeab76a938
Add missing tests
2017-08-27 11:43:40 -03:00
Vinícius Soares
ec7e9527c2
Merge first
and firstOrError
operators.
...
The new operator returns an optional value.
2017-08-27 11:43:40 -03:00
Vinícius Soares
d4a30201a9
Add first and firstOrError operators to ObservableType.
2017-08-27 11:43:40 -03:00
Krunoslav Zaher
493cce41ea
Merge branch 'publisher' of https://github.com/DenHeadless/RxSwift into DenHeadless-publisher
2017-08-27 15:16:33 +02:00
Krunoslav Zaher
fdc194b001
Fixes typos.
2017-08-23 01:10:00 +02:00
Stewart Gleadow
0a7a96053c
Expose and test materialize to SequenceMaterializeResult operator
2017-08-23 01:08:36 +02:00
Krunoslav Zaher
ee9507d7e4
Release 4.0.0-alpha.1
2017-08-20 19:25:27 +02:00
tarunon
496a3d2bb1
Merge DelegateProxyProtocol and DelegateProxyType
2017-08-19 11:10:47 +09:00
tarunon
098c1564d7
using static func knownImplementations
instead of optional arguments extends
2017-08-19 10:57:01 +09:00
tarunon
508c68f2c1
refactoring: renaming some of type, functions, fix typo.
2017-08-19 10:46:17 +09:00
Krunoslav Zaher
5dfd4768d4
Fixes XCTest deprecation warnings.
2017-08-16 22:52:52 +02:00
Krunoslav Zaher
4b7d1efb25
Merge branch 'master' into swift4.0
2017-08-16 22:45:31 +02:00
Krunoslav Zaher
f1e215a3fe
Adds onSubscribed
to do
operator on SharedSequence
.
2017-08-16 22:21:05 +02:00
tarunon
af188fb89c
Implement Generics parameter for DelegateProxy
2017-08-15 17:17:47 +09:00
Krunoslav Zaher
2b8fe5fd98
Xcode 8.2 fixes.
2017-08-11 22:15:21 +02:00
Krunoslav Zaher
0352f7fe8d
Deprecates skipWhileWithIndex
, takeWhileWithIndex
, flatMapWithIndex
, mapWithIndex
.
2017-08-11 22:15:21 +02:00
Krunoslav Zaher
cd916b59e3
Adds enumerated
operator.
2017-08-11 22:15:21 +02:00
Krunoslav Zaher
82411a776e
Improves schedulerRelative cancel unit test.
2017-08-10 22:24:22 +02:00
Zmicier Zaleznicenka
fbd4511faa
Add tests for missing UIScrollViewDelegate wrapper. #1365
2017-08-10 11:07:39 +02:00
tarunon
c21cb6d68c
fix NSButton state type
2017-08-05 11:27:38 +02:00
Stewart Gleadow
548375acef
Improve error message if error assetion helper fails
2017-08-02 18:44:28 +02:00
Stewart Gleadow
de9c00ae15
Use more concise error catching assertion to check timeouts
2017-08-02 18:44:28 +02:00
Stewart Gleadow
ec07a98707
Remove force unwrap errors where XCTest handles them, for better failures if they do throw
2017-08-02 18:44:28 +02:00
Stewart Gleadow
dd8afd4b1b
Convert simple testError assertions to use single-line helper
2017-08-02 18:44:28 +02:00
Stewart Gleadow
5559eb52c5
Remove toError implementation
2017-07-31 07:55:40 +10:00
Krunoslav Zaher
00c2a8911f
Merge branch 'master' into swift4.0
2017-07-29 14:20:54 +02:00
Stewart Gleadow
e8951b390b
Use XCTAssertErrorEqual for cleaner error comparison assertions
2017-07-27 23:44:13 +10:00
Stewart Gleadow
6917eb17d0
Add toError function to optionally extract the error rather than throw
2017-07-27 23:43:35 +10:00
Stewart Gleadow
75ef521ca3
Add general purpose function to handle only getting as many in the sequence as needed before returning
2017-07-27 23:06:13 +10:00
Stewart Gleadow
813c4c7a50
Removed test that the predicate block is called only for some parameters
2017-07-27 21:52:02 +10:00
Stewart Gleadow
3f0dd8e3b6
Consistent use of XCTAssertEqual for better messaging on failure
2017-07-27 21:51:18 +10:00
Krunoslav Zaher
dcc77bd979
Fixes issues with andThen
operator. #1347
2017-07-21 10:33:07 +02:00