You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* A `TapActionRow` is representing a button-like table view cell.
114
-
* The `action` will be invoked when the related table view cell is selected.
115
-
*`Icon` is disabled in `TapActionRow`.
113
+
* The `action` will be invoked when the table view cell is selected.
114
+
*The icon and subtitle are disabled in `TapActionRow`.
116
115
117
116
```swift
118
117
TapActionRow(title: "Tap action", action: { (sender: Row) in })
119
118
```
120
119
121
120
### OptionRow & RadioSection
122
121
123
-
* An `OptionRow` is representing a selectable table view cell.
124
-
* When the row `isSelected`, the table view cell shows `.checkmark` as its `accessoryType`.
125
-
* The `action` will be invoked when the selection is toggled.
122
+
* An `OptionRow` is representing a table view cell with `.checkmark`.
123
+
* The `action` will be invoked when the selected state is toggled.
126
124
* The subtitle is disabled in `OptionRow`.
127
125
128
126
```swift
129
127
OptionRow(title: "Option", isSelected: true, action: { (sender: Row) in })
130
128
```
131
129
132
-
* `OptionRow` can be used with or without `RadioSection`, which allows only one selection.
133
-
*`RadioSection` allows all options unselected by default. Set `alwaysSelectsOneOption` to trueto keep one option selected.
130
+
* `OptionRow` can be used with or without `RadioSection`, which allows only one selected option.
131
+
*All options can be unselected in `RadioSection` by default. Setting `alwaysSelectsOneOption` to truewill keep one of the options selected.
134
132
135
133
## Customization
136
134
@@ -196,17 +194,17 @@ protocol RowStyle {
196
194
}
197
195
```
198
196
199
-
The `customize` closure overwrites the `Configurable` changes.
197
+
The `customize` closure overwrites the `Configurable` setup.
200
198
201
199
### UIAppearance
202
200
203
-
As discussed in issue [#12](https://github.com/bcylin/QuickTableViewController/issues/12), UIAppearance customization works when the cell is dequeued from the storyboard. One way to work around this is to register nib objects to the table view. Check out [AppearanceViewController](https://github.com/bcylin/QuickTableViewController/blob/develop/Example/ViewControllers/AppearanceViewController.swift) for the setups.
201
+
As discussed in issue [#12](https://github.com/bcylin/QuickTableViewController/issues/12), UIAppearance customization works when the cell is dequeued from the storyboard. One way to work around this is to register nib objects to the table view. Check out [AppearanceViewController](https://github.com/bcylin/QuickTableViewController/blob/develop/Example/ViewControllers/AppearanceViewController.swift) for the setup.
204
202
205
203
## Limitation
206
204
207
205
> When to use **QuickTableViewController**?
208
206
209
-
QuickTableViewController is good for presenting static table contents, where the sections and rows don't need to change dynamically after `viewDidLoad`.
207
+
QuickTableViewController is good for presenting static table contents, where the sections and rows don't change dynamically after `viewDidLoad`.
210
208
211
209
It's possible to update the table contents by replacing a specific section or row. Using different styles on each row requires additional configuration as described in the [Customization](#customization) section.
0 commit comments