From e2fd2edda7f2e883cd105809ed32e34649c8d945 Mon Sep 17 00:00:00 2001 From: Hanton Yang Date: Thu, 1 Aug 2019 16:39:43 -0700 Subject: [PATCH] Fix broken image links in `Modeling and Binding.md` (#1348) Summary: ## Changes in this pull request Fix broken image links in `Modeling and Binding.md` ### Checklist - [x] All tests pass. Demo project builds and runs. - [x] I added tests, an experiment, or detailed why my change isn't tested. - [x] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes. - [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md) Pull Request resolved: https://github.com/Instagram/IGListKit/pull/1348 Reviewed By: joetam Differential Revision: D16542309 Pulled By: joetam fbshipit-source-id: 4b761d568b0b4d60d8caefd89c7f130cfb96123e --- Guides/Modeling and Binding.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: -![Design Specs](../Resources/modeling-design.png) +![Design Specs](https://raw.githubusercontent.com/Instagram/IGListKit/master/Resources/modeling-design.png) 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). -![Binding Flow](../Resources/binding-flow.png) +![Binding Flow](https://raw.githubusercontent.com/Instagram/IGListKit/master/Resources/binding-flow.png) 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! -![Working in the Simulator](../Resources/modeling-working.png) +![Working in the Simulator](https://raw.githubusercontent.com/Instagram/IGListKit/master/Resources/modeling-working.png) ## 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!

- +

## Wrapping up