Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
markohlebar committed Mar 7, 2015
1 parent b3ff9a2 commit bac154f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,14 +219,14 @@ We will bind the cell's `textLabel.text` key path with the `name` key path of yo
//making sure that your objects are bound on cell reuse.
//this will bind viewModel.name to cell's textLabel.text property
self.bindings = @[
BIND(self,viewModel.name,->,self,textLabel.text);
BIND(self,viewModel.name,->,self,textLabel.text)
];
...
//You can also use the BIND string syntax to do the same thing.
//notice that we didn't write viewModel.name, BIND lets
//you use shorthand syntax when used on BNDViews
self.bindings = @[
[BNDBinding bindingWithBIND:@"name -> textLabel.text"];
[BNDBinding bindingWithBIND:@"name -> textLabel.text"]
];
...
}
Expand Down

0 comments on commit bac154f

Please sign in to comment.