You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: Library/UIKit/UICollectionView+ReuseIdentifierProtocol.swift
+18-6
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,9 @@ public extension UICollectionView {
18
18
19
19
- returns: A subclass of UICollectionReusableView or nil if the cast fails.
20
20
*/
21
-
publicfunc dequeueReusableCell<Identifier:ReuseIdentifierTypewhere Identifier.ReusableType:UICollectionReusableView>(withReuseIdentifier identifier:Identifier, for indexPath:IndexPath)->Identifier.ReusableType?{
21
+
publicfunc dequeueReusableCell<Identifier:ReuseIdentifierType>(withReuseIdentifier identifier:Identifier, for indexPath:IndexPath)->Identifier.ReusableType?
22
+
where Identifier.ReusableType:UICollectionReusableView
Copy file name to clipboardExpand all lines: Library/UIKit/UITableView+ReuseIdentifierProtocol.swift
+12-6
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,9 @@ public extension UITableView {
20
20
21
21
- precondition: You must register a class or nib file using the registerNib: or registerClass:forCellReuseIdentifier: method before calling this method.
22
22
*/
23
-
publicfunc dequeueReusableCell<Identifier:ReuseIdentifierTypewhere Identifier.ReusableType:UITableViewCell>(withIdentifier identifier:Identifier, for indexPath:IndexPath)->Identifier.ReusableType?{
23
+
publicfunc dequeueReusableCell<Identifier:ReuseIdentifierType>(withIdentifier identifier:Identifier, for indexPath:IndexPath)->Identifier.ReusableType?
- precondition: You must register a class or nib file using the registerNib: or registerClass:forCellReuseIdentifier: method before calling this method.
- returns: A UITableViewHeaderFooterView object with the associated identifier or nil if no such object exists in the reusable view queue or if it couldn't be cast correctly.
@@ -22,9 +22,7 @@ public extension SeguePerformerType {
22
22
- parameter sender: The object that you want to use to initiate the segue. This object is made available for informational purposes during the actual segue.
23
23
- SeeAlso: Library for typed block based segues: [tomlokhorst/SegueManager](https://github.com/tomlokhorst/SegueManager)
@@ -34,7 +32,7 @@ public extension StoryboardSegue where Source : UIViewController {
34
32
Performs this segue on the source view controller
35
33
- parameter sender: The object that you want to use to initiate the segue. This object is made available for informational purposes during the actual segue.
0 commit comments