make TableCellManager internal
This commit is contained in:
parent
7a732cb7c3
commit
a9a2496831
|
|
@ -20,16 +20,16 @@
|
|||
|
||||
import UIKit
|
||||
|
||||
public class TableCellManager {
|
||||
class TableCellManager {
|
||||
|
||||
private var registeredIds = Set<String>()
|
||||
private weak var tableView: UITableView?
|
||||
|
||||
public init(tableView: UITableView?) {
|
||||
init(tableView: UITableView?) {
|
||||
self.tableView = tableView
|
||||
}
|
||||
|
||||
public func register(cellType cellType: AnyClass, forCellReuseIdentifier reuseIdentifier: String) {
|
||||
func register(cellType cellType: AnyClass, forCellReuseIdentifier reuseIdentifier: String) {
|
||||
|
||||
if registeredIds.contains(reuseIdentifier) {
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in New Issue