refactor: replace class with AnyObject

This commit is contained in:
Vlad Suhomlinov 2021-09-08 21:09:36 +03:00
parent 596a549595
commit 762b5352bc
4 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@
import UIKit
import TISwiftUtils
public protocol InfiniteScrollDelegate: class {
public protocol InfiniteScrollDelegate: AnyObject {
func beginInfiniteScroll(_ forceScroll: Bool)
func addInfiniteScroll(handler: @escaping ParameterClosure<UITableView>)

View File

@ -21,7 +21,7 @@
//
/// PaginationWrapper delegate used for pagination results handling
public protocol PaginatorDelegate: class {
public protocol PaginatorDelegate: AnyObject {
associatedtype Page

View File

@ -20,7 +20,7 @@
// THE SOFTWARE.
//
public protocol PaginatorUIDelegate: class {
public protocol PaginatorUIDelegate: AnyObject {
associatedtype ErrorType

View File

@ -23,7 +23,7 @@
import UIKit
/// Protocol that describes placeholder view, containing activity indicator.
public protocol ActivityIndicatorHolder: class {
public protocol ActivityIndicatorHolder: AnyObject {
var activityIndicator: Animatable { get }
var indicatorOwner: UIView { get }
}