From 90dc3329d1973fda691e357cf4523d5c7c67fa1d Mon Sep 17 00:00:00 2001
From: 杨锴 <841720330@qq.com>
Date: 星期二, 11 三月 2025 12:23:53 +0800
Subject: [PATCH] fix bug

---
 Pods/SwifterSwift/Sources/SwifterSwift/UIKit/UICollectionViewExtensions.swift |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Pods/SwifterSwift/Sources/SwifterSwift/UIKit/UICollectionViewExtensions.swift b/Pods/SwifterSwift/Sources/SwifterSwift/UIKit/UICollectionViewExtensions.swift
index 1c0930b..e2ef648 100644
--- a/Pods/SwifterSwift/Sources/SwifterSwift/UIKit/UICollectionViewExtensions.swift
+++ b/Pods/SwifterSwift/Sources/SwifterSwift/UIKit/UICollectionViewExtensions.swift
@@ -108,7 +108,7 @@
     /// - Parameters:
     ///   - nib: Nib file used to create the collectionView cell.
     ///   - name: UICollectionViewCell type.
-    func register<T: UICollectionViewCell>(nib: UINib?, forCellWithClass name: T.Type) {
+    func register(nib: UINib?, forCellWithClass name: (some UICollectionViewCell).Type) {
         register(nib, forCellWithReuseIdentifier: String(describing: name))
     }
 
@@ -125,8 +125,8 @@
     ///   - nib: Nib file used to create the reusable view.
     ///   - kind: the kind of supplementary view to retrieve. This value is defined by the layout object.
     ///   - name: UICollectionReusableView type.
-    func register<T: UICollectionReusableView>(nib: UINib?, forSupplementaryViewOfKind kind: String,
-                                               withClass name: T.Type) {
+    func register(nib: UINib?, forSupplementaryViewOfKind kind: String,
+                  withClass name: (some UICollectionReusableView).Type) {
         register(nib, forSupplementaryViewOfKind: kind, withReuseIdentifier: String(describing: name))
     }
 
@@ -136,7 +136,7 @@
     /// - Parameters:
     ///   - name: UICollectionViewCell type.
     ///   - bundleClass: Class in which the Bundle instance will be based on.
-    func register<T: UICollectionViewCell>(nibWithCellClass name: T.Type, at bundleClass: AnyClass? = nil) {
+    func register(nibWithCellClass name: (some UICollectionViewCell).Type, at bundleClass: AnyClass? = nil) {
         let identifier = String(describing: name)
         var bundle: Bundle?
 

--
Gitblit v1.7.1