README.md in motion-kit-0.15.0 vs README.md in motion-kit-0.16.0
- old
+ new
@@ -337,12 +337,19 @@
def my_root_view_style
background_color UIColor.grayColor
end
```
-This is especially useful with collection views, table views, and table cells.
-Keep in mind that MotionKit will **not** retain a strong reference to your provided
-root view, so retain one yourself to prevent it from being deallocated.
+This is especially useful with collection views, table views, and table cells,
+where you can assign a root view explicitly:
+
+```ruby
+return MyCellLayout.new(root: cell).build
+```
+
+Keep in mind that MotionKit will **not** retain a strong reference when you
+provide a root view, so retain it yourself to prevent it from being
+deallocated.
### How do styles get applied?
If you've used RMQ's Stylers, you'll recognize a very similar pattern here. In
RMQ the 'style' methods are handed a 'Styler' instance, which wraps access to