Skip to content

Commit

Permalink
updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Usbergo committed May 20, 2016
1 parent f32e0b0 commit 29dc216
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 @@ -162,7 +162,7 @@ Given the descriptive nature of **Render**'s components, components can be defin
*The ComponentDeserializer is being worked on as we speak*.


##Components embedded in cells
###Components embedded in cells

You can wrap your components in `ComponentTableViewCell` or `ComponentCollectionViewCell` and use the classic dataSource/delegate pattern for you view controller.

Expand Down Expand Up @@ -198,7 +198,7 @@ class ViewControllerWithTableView: UIViewController, UITableViewDataSource, UITa
}
```

##ComponentTableView/CollectionView
###ComponentTableView/CollectionView

Although the approach shown above works perfectly, it does clashes with the React-like component pattern.
`ComponentTableView` and `ComponentCollectionView` expose the same interface and work with a simple array of `ListComponentItemType` (see also `ListComponentItem<ComponentViewType, ComponentStateType>: ListComponentItemType`).
Expand Down

0 comments on commit 29dc216

Please sign in to comment.