Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value of type error #5

Open
agent134ssa opened this issue Nov 15, 2018 · 1 comment
Open

Value of type error #5

agent134ssa opened this issue Nov 15, 2018 · 1 comment

Comments

@agent134ssa
Copy link

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] {
return currentInfo.visibleObject().values.compactMap { $0.view as? T }
}

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

@KyoheiG3
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants