diff --git a/Guides/Modeling and Binding.md b/Guides/Modeling and Binding.md index 8c22b7f5..e1129c89 100644 --- a/Guides/Modeling and Binding.md +++ b/Guides/Modeling and Binding.md @@ -15,7 +15,7 @@ You can follow along and build the example in this guide. First, you must downlo Take a look at the following Instagram-inspired list element design: - + You can already start mentally modelling your data: @@ -234,7 +234,7 @@ You now have the following view models, which can all be derived from each `Post Let's start using these models to power cells using `ListBindingSectionController`. This controller takes a top-level model (`Post`), asks its data source for an array of diffable view models (our view models above), then binds those view models to cells (provided in the starter project). - + Create **PostSectionController.swift** and add the following code: @@ -470,7 +470,7 @@ func listAdapter( **Build and run** the sample app to see your post show up! - + ## Handling Cell Actions @@ -570,7 +570,7 @@ ActionViewModel(likes: localLikes ?? object.likes) **Build and run** the app, tap on the heart button, and see your likes increment!
-
+