From 94c40faa636d93676f27f69650fc3cc6d2b353fb Mon Sep 17 00:00:00 2001 From: Vlad Date: Sat, 26 Dec 2020 11:05:20 +0300 Subject: [PATCH] Code correction --- Sources/TableRow.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Sources/TableRow.swift b/Sources/TableRow.swift index bf44619..356693e 100644 --- a/Sources/TableRow.swift +++ b/Sources/TableRow.swift @@ -25,15 +25,16 @@ open class TableRow: Row where CellType: UITableView public let item: CellType.CellData private lazy var actions = [String: [TableRowAction]]() + @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] { [] }