Giving Error in FoldingCell.swift file
aju10 opened this issue · comments
Error is Value of type '[UIView]' has no member 'compactMap'
changed alot of things but won't work
What swift version do you use?
swift 4.0 ,Solved the issue mate, i replaced compactMap with flatMap
It strange, because the flatMap
is deprecated method, look for documentation https://developer.apple.com/documentation/swift/sequence/2905332-flatmap
yahh, but it works for me,
Thanx Ober
We also had a similar issue here, @0ber we are using flatMap for now. using swift 4.0 as well
@UniMarkit
Hello @UniMarkit
update your Xcode to 9.3, then it will support to compactMap.
Same issue with Swift 4.0, changing to flatMap works.
Hi,
When I change compactMaps to flatMaps on line 107 of FoldingCell.swft, it gives me error:
Ambiguous use of 'flatMap'
Please advice
Thanks,
Devansh