Я внедряю searchBar в заголовок collectionView.
Я получаю исключение:
func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> UICollectionReusableView {
let searchView: UICollectionReusableView = collectionView.dequeueReusableSupplementaryView(ofKind: UICollectionView.elementKindSectionHeader, withReuseIdentifier: "SearchBarDispositivos", for: indexPath)
return searchView
}
Сообщение об ошибке: Редактор-заполнитель в исходном файле.