File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Sources/UIKeyCommandTableView Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -116,10 +116,10 @@ public class UIKeyCommandTableView: UITableView {
116
116
switch validate ( indexPath) {
117
117
118
118
case . success:
119
- handleValidSelection ( with : indexPath)
119
+ handleSelectionSuccess ( at : indexPath)
120
120
121
121
case let . failure( reason) :
122
- handleInvalidSelection ( with : indexPath, reason: reason)
122
+ handleSelectionFailure ( at : indexPath, reason: reason)
123
123
}
124
124
}
125
125
@@ -139,7 +139,7 @@ private extension UIKeyCommandTableView {
139
139
}
140
140
}
141
141
142
- func handleValidSelection ( with indexPath: IndexPath ) {
142
+ func handleSelectionSuccess ( at indexPath: IndexPath ) {
143
143
var selectedIndexPath : IndexPath ? {
144
144
guard let delegate = delegate else {
145
145
return indexPath
@@ -164,7 +164,7 @@ private extension UIKeyCommandTableView {
164
164
}
165
165
}
166
166
167
- func handleInvalidSelection ( with indexPath: IndexPath , reason: IndexPath . InvalidReason ) {
167
+ func handleSelectionFailure ( at indexPath: IndexPath , reason: IndexPath . InvalidReason ) {
168
168
switch reason {
169
169
case . sectionBelowBounds:
170
170
switch keyCommandsDelegate? . tableViewKeyCommandSelectionBelowBounds ( self ) {
You can’t perform that action at this time.
0 commit comments