Open chatarveer opened 6 years ago
Class Name Realm+Ext.swift
Line 28 & 46
observer.onNext()
Error : Missing argument for parameter #1 in call
When you add some param, it says Argument passed to call that takes no arguments
Like Trap in Cycle.
Xcode version Version 9.2 (9C40b) RxSwift 4.0 Swift 4.0
In RxSwift, method declaration is like below. So, how you calling without parameter? public func onNext(_ element: Self.E)
Any suggestion?
It's possible because of Observer<Void>. I guess you can try observer.onNext(Void())
Observer<Void>
observer.onNext(Void())
It's weird that it does not compile to you as I have the same configuration ¯_(ツ)_/¯
Class Name Realm+Ext.swift
Line 28 & 46
Error : Missing argument for parameter #1 in call
When you add some param, it says Argument passed to call that takes no arguments
Like Trap in Cycle.
Xcode version Version 9.2 (9C40b) RxSwift 4.0 Swift 4.0
In RxSwift, method declaration is like below. So, how you calling without parameter? public func onNext(_ element: Self.E)
Any suggestion?