You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On combineLatest(), debug() truncate the log of the Event.Next at the middle with "...": it can be useful to see full stack for debugging
Self contained code example that reproduces the issue:
letrx_disposeBag=DisposeBag()letaString=Variable<String>("A is the default value of aString")letbString=Variable<String>("B is the default value of bString")letcString=Variable<String>("C is the default value of cString")letdString=Variable<String>("D is the default value of dString")leteString=Variable<String>("E is the default value of eString")letfString=Variable<String>("F is the default value of fString")letgString=Variable<String>("G is the default value of gString")letrx_combinedString=Observable.combineLatest(aString.asObservable(), bString.asObservable(), cString.asObservable(),
dString.asObservable(), eString.asObservable(), fString.asObservable(),
gString.asObservable()){(aNew:String, bNew:String, cNew:String, dNew:String, eNew:String, fNew:String, gNew:String)in(aNew,bNew,cNew,dNew,eNew,fNew,gNew)}.debug()
aString.value =("A1 is the new value of aString")
rx_combinedString.subscribe(onNext:{print($0)}).addDisposableTo(rx_disposeBag)
Xcode version:
8.0
Expected outcome:
XXXr.swift:83 (viewDidLoad()) -> subscribed
XXX:83 (viewDidLoad()) -> Event next(("A1 is the new value of aString", "B is the default value of bString", "C is the default value of cString", "D is the default value of dString", "E is the default value of eString", "F is the default value of fString", "G is the default value of gString"))
("A1 is the new value of aString", "B is the default value of bString", "C is the default value of cString", "D is the default value of dString", "E is the default value of eString", "F is the default value of fString", "G is the default value of gString")
What actually happens:
XXXr.swift:83 (viewDidLoad()) -> subscribed
XXX:83 (viewDidLoad()) -> Event next(("A1 is the new... value of gString"))
("A1 is the new value of aString", "B is the default value of bString", "C is the default value of cString", "D is the default value of dString", "E is the default value of eString", "F is the default value of fString", "G is the default value of gString")
Installation method:
CocoaPods
Carthage
Git submodules
I have multiple versions of Xcode installed:
yes (which ones)
no
Level of RxSwift knowledge:
just starting
I have a small code base
I have a significant code base
The text was updated successfully, but these errors were encountered:
Short description of the issue:
On
combineLatest()
,debug()
truncate the log of theEvent.Next
at the middle with "...": it can be useful to see full stack for debuggingSelf contained code example that reproduces the issue:
Xcode version:
Expected outcome:
What actually happens:
Installation method:
I have multiple versions of Xcode installed:
Level of RxSwift knowledge:
The text was updated successfully, but these errors were encountered: