Code correction

This commit is contained in:
Vlad 2020-12-26 11:05:20 +03:00
parent d87a23587e
commit 94c40faa63
1 changed files with 3 additions and 2 deletions

View File

@ -25,15 +25,16 @@ open class TableRow<CellType: ConfigurableCell>: Row where CellType: UITableView
public let item: CellType.CellData
private lazy var actions = [String: [TableRowAction<CellType>]]()
@available(iOS, obsoleted: 11, message: "Use leadingContextualActions, trailingContextualActions instead")
open private(set) var editingActions: [UITableViewRowAction]?
@available(iOS 11, *)
public var leadingContextualActions: [UIContextualAction] {
open var leadingContextualActions: [UIContextualAction] {
[]
}
@available(iOS 11, *)
public var trailingContextualActions: [UIContextualAction] {
open var trailingContextualActions: [UIContextualAction] {
[]
}