Skip to content

Commit

Permalink
Update Examples.md
Browse files Browse the repository at this point in the history
Documentation lacked further explanation on how to make R.swift identify the cell as reusable and generate need code to register and dequeue through NibResourceType protocol.
  • Loading branch information
edulpn authored Aug 28, 2017
1 parent 65d3db3 commit f3b6f7d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Documentation/Examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ class FaqAnswerController: UITableViewController {
```

*With R.swift*

On your reusable cell Interface Builder "Attributes" inspector panel, set the cell "Identifier" field to the same value you are going to register and dequeue.

```swift
class FaqAnswerController: UITableViewController {
override func viewDidLoad() {
Expand Down Expand Up @@ -245,6 +248,9 @@ class RecentsController: UICollectionViewController {
```

*With R.swift*

On your reusable cell Interface Builder "Attributes" inspector panel, set the cell "Identifier" field to the same value you are going to register and dequeue.

```swift
class RecentsController: UICollectionViewController {
override func viewDidLoad() {
Expand Down

0 comments on commit f3b6f7d

Please sign in to comment.