File tree 3 files changed +5
-5
lines changed
Pinwheel/Sources/Pinwheel/Extensions
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
import Foundation
2
2
3
- public protocol Identifiable {
3
+ public protocol ReuseIdentifiable {
4
4
static var reuseIdentifier : String { get }
5
5
}
6
6
7
- public extension Identifiable {
7
+ public extension ReuseIdentifiable {
8
8
static var reuseIdentifier : String {
9
9
return String ( describing: self )
10
10
}
Original file line number Diff line number Diff line change 1
1
import UIKit
2
2
3
- extension UICollectionReusableView : Identifiable { }
3
+ extension UICollectionReusableView : ReuseIdentifiable { }
4
4
5
5
public extension UICollectionView {
6
6
func register( _ cellClass: UICollectionViewCell . Type ) {
Original file line number Diff line number Diff line change 1
1
import UIKit
2
2
3
- extension UITableViewCell : Identifiable { }
3
+ extension UITableViewCell : ReuseIdentifiable { }
4
4
5
- extension UITableViewHeaderFooterView : Identifiable { }
5
+ extension UITableViewHeaderFooterView : ReuseIdentifiable { }
6
6
7
7
public extension UITableView {
8
8
func register( _ cellClass: UITableViewCell . Type ) {
You can’t perform that action at this time.
0 commit comments