How do I return two different types of data with IGListkit?
func objects(for listAdapter: ListAdapter) -> [ListDiffable] {
var data = searchCompleter.results
data += propertyController.properties
return searchCompleter.results
}
I'm getting this error:
Binary operator '+=(::)' cannot be applied to operands of type '[MKLocalSearchCompletion]' and '[Property]'
Try this !