I was using XCode 8.3 with swift 3.1 and I updated to Xcode 9 with swift 4, now in some classes when I use RXSwift, I have this error compiler logs:
class petViewModel {
var lastPetID: Int = 0
var refreshing = Variable<Bool>(false)
var vaccines: Results<vaccines>? = nil
let error = Variable<(Int,String)>(0,"") // Extra argument in call
let changes = Variable<([Int], [Int], [Int])>([Int](), [Int](), [Int]()) // Extra argument in call
var firstLoad = Variable<Bool>(false)
// and more code bla bla bla
}
using RXSwift what is the best way to implement it? before was compiling me without any problem, any help, please?