On Variable used to have:
let variable = Variable("Hello RxSwift")
variable.value = "Change text"
print(variable.value) // "Change text"
On BehaviorRelay you have to use:
let relay = BehaviorRelay(value: "Hello RxSwift")
relay.accept("Change text")
print(relay.value) // "Change text"