ZYThumbnailTableView
ZYThumbnailTableView copied to clipboard
Cannot convert value of type '() -> ()' to specified type 'UpdateTableViewCellBlock' (aka '(UITableViewCell, IndexPath) -> ()')
Hi I tried running this with swift 3.1 and I'm getting this issue on this func.
open lazy var updateTableViewCellBlock: UpdateTableViewCellBlock = { return { print("ERROR: You must configure the updateTableViewCellBlock") } }()
Cannot convert value of type '() -> ()' to specified type 'UpdateTableViewCellBlock' (aka '(UITableViewCell, IndexPath) -> ()')
Thanks in advance for your help.
Yours Sincerely Gerard Grundy
Just replace it with
open var updateTableViewCellBlock: UpdateTableViewCellBlock!