30 lines
1.4 KiB
Plaintext
30 lines
1.4 KiB
Plaintext
|
{% for type in types.implementing.AutoGenerateTableViewDelegate %}
|
||
|
// sourcery:inline:{{type.name}}.AutoGenerateTableViewDelegate
|
||
|
|
||
|
// Generated using Sourcery
|
||
|
// DO NOT EDIT
|
||
|
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
|
||
|
aspectTableView(tableView, didSelectRowAt: indexPath)
|
||
|
}
|
||
|
|
||
|
{% if type.based.MediaPreviewableViewController %}
|
||
|
func tableView(_ tableView: UITableView, contextMenuConfigurationForRowAt indexPath: IndexPath, point: CGPoint) -> UIContextMenuConfiguration? {
|
||
|
return aspectTableView(tableView, contextMenuConfigurationForRowAt: indexPath, point: point)
|
||
|
}
|
||
|
|
||
|
func tableView(_ tableView: UITableView, previewForHighlightingContextMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview? {
|
||
|
return aspectTableView(tableView, previewForHighlightingContextMenuWithConfiguration: configuration)
|
||
|
}
|
||
|
|
||
|
func tableView(_ tableView: UITableView, previewForDismissingContextMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview? {
|
||
|
return aspectTableView(tableView, previewForDismissingContextMenuWithConfiguration: configuration)
|
||
|
}
|
||
|
|
||
|
func tableView(_ tableView: UITableView, willPerformPreviewActionForMenuWith configuration: UIContextMenuConfiguration, animator: UIContextMenuInteractionCommitAnimating) {
|
||
|
aspectTableView(tableView, willPerformPreviewActionForMenuWith: configuration, animator: animator)
|
||
|
}
|
||
|
{% endif %}
|
||
|
// sourcery:end
|
||
|
{% endfor %}
|
||
|
|