Skip to content

Commit 48aac74

Browse files
committed
Fix protocol warning with class/AnyObject in Xcode 12.5+
1 parent f19499a commit 48aac74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/ScrollStackController/Support/ScrollStack+Protocols.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public protocol ScrollStackContainableController: UIViewController {
6060

6161
/// You can implement the following delegate to receive events about row visibility changes during scroll of the stack.
6262
/// NOTE: No events are currently sent at the time of add/remove/move. A PR about is is accepted :-)
63-
public protocol ScrollStackControllerDelegate: class {
63+
public protocol ScrollStackControllerDelegate: AnyObject {
6464

6565
/// Tells the delegate when the user scrolls the content view within the receiver.
6666
///

0 commit comments

Comments
 (0)