refactor: replace class with AnyObject
This commit is contained in:
parent
596a549595
commit
762b5352bc
|
|
@ -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>)
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
//
|
||||
|
||||
/// PaginationWrapper delegate used for pagination results handling
|
||||
public protocol PaginatorDelegate: class {
|
||||
public protocol PaginatorDelegate: AnyObject {
|
||||
|
||||
associatedtype Page
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
// THE SOFTWARE.
|
||||
//
|
||||
|
||||
public protocol PaginatorUIDelegate: class {
|
||||
public protocol PaginatorUIDelegate: AnyObject {
|
||||
|
||||
associatedtype ErrorType
|
||||
|
||||
|
|
|
|||
|
|
@ -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 }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue