kodeco.com Forums

Bond Tutorial: Bindings in Swift

Bond is a simple, powerful, type-safe binding framework for Swift. Learn how to use it with the popular MVVM architectural pattern in this Bond tutorial.

This is a companion discussion topic for the original entry at https://www.raywenderlich.com/667-bond-tutorial-bindings-in-swift
1 Like

Hi elliot,

I want to ask question. I tried to play with bond and did following.
I tried to bind Observable(String) to another Observable(String). I did :
loginEnteredText.bind(to: enterItem.enteredLoginTxt).
However, when enteredLoginTxt changes, loginEnteredText has not change :frowning:

Following code work, but i rather want to bind :slight_smile:

enterItem.enteredLoginTxt.observeNext { (x) in
self.loginEnteredText.value = x

This tutorial is more than six months old so questions are no longer supported at the moment for it. We will update it as soon as possible. Thank you! :]