GridView icon indicating copy to clipboard operation
GridView copied to clipboard

Value of type error

Open agent134ssa opened this issue 5 years ago • 1 comments

Hi. I am trying to run GridViewExample. When I try to run it, swift compile error appears in the function visibleCells it says has no member 'compactMap'. I am using Xcode 9.2.

public func visibleCells<T>() -> [T] { return currentInfo.visibleObject().values.compactMap { $0.view as? T } }

Thank you. screen shot 2018-11-15 at 11 24 18 am

agent134ssa avatar Nov 15 '18 03:11 agent134ssa

Hi @agent134ssa Thank you for reporting. I will try to solve it.

KyoheiG3 avatar Nov 21 '18 01:11 KyoheiG3