Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Source/SwipeActionsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import UIKit

protocol SwipeActionsViewDelegate: class {
protocol SwipeActionsViewDelegate: AnyObject {
func swipeActionsView(_ swipeActionsView: SwipeActionsView, didSelect action: SwipeAction)
}

Expand Down
2 changes: 1 addition & 1 deletion Source/SwipeCollectionViewCellDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import UIKit
/**
The `SwipeCollectionViewCellDelegate` protocol is adopted by an object that manages the display of action buttons when the item is swiped.
*/
public protocol SwipeCollectionViewCellDelegate: class {
public protocol SwipeCollectionViewCellDelegate: AnyObject {
/**
Asks the delegate for the actions to display in response to a swipe in the specified item.

Expand Down
2 changes: 1 addition & 1 deletion Source/SwipeController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Foundation
import UIKit

protocol SwipeControllerDelegate: class {
protocol SwipeControllerDelegate: AnyObject {

func swipeController(_ controller: SwipeController, canBeginEditingSwipeableFor orientation: SwipeActionsOrientation) -> Bool

Expand Down
2 changes: 1 addition & 1 deletion Source/SwipeTableViewCellDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import UIKit
/**
The `SwipeTableViewCellDelegate` protocol is adopted by an object that manages the display of action buttons when the cell is swiped.
*/
public protocol SwipeTableViewCellDelegate: class {
public protocol SwipeTableViewCellDelegate: AnyObject {

/**
Asks the delegate for the actions to display in response to a swipe in the specified row.
Expand Down