UIDataSourceModelAssociation协议的使用问题
絶体絶命 2017-02-26 01:23:43 UIDataSourceModelAssociation协议的使用问题
自己打算实现对tableView行选中的操作保存。
实现了UIDataSourceModelAssociation
的两个代理方法
func modelIdentifierForElement(at: IndexPath, in: UIView)
Returns the string that uniquely identifies the data at the specified location in the view.
func indexPathForElement(withModelIdentifier: String, in: UIView)
Returns the current index of the data object with the specified identifier.
断点发现方法从未执行。
求经验者解答