From 99310f2ea4bb3fbfebc453eed6e213fefa70a0bc Mon Sep 17 00:00:00 2001 From: halfdb <14018395+halfdb@users.noreply.github.com> Date: Sun, 6 Oct 2024 12:17:30 +0900 Subject: [PATCH] fix: Xcode 16 build error - protocol usage (#117) --- BilibiliLive/Module/Personal/SearchResultViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BilibiliLive/Module/Personal/SearchResultViewController.swift b/BilibiliLive/Module/Personal/SearchResultViewController.swift index aa2a4197..4e28f682 100644 --- a/BilibiliLive/Module/Personal/SearchResultViewController.swift +++ b/BilibiliLive/Module/Personal/SearchResultViewController.swift @@ -125,7 +125,7 @@ extension SearchResultViewController { } private func configureDataSource() { - let displayCell = UICollectionView.CellRegistration { + let displayCell = UICollectionView.CellRegistration { $0.setup(data: $2) } let userCell = UICollectionView.CellRegistration {