Skip to content

Commit 91ffd9d

Browse files
committed
Updates for depricated keyword class
1 parent 2be41e7 commit 91ffd9d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import Foundation
22

3-
public protocol WebRequestSession: class, Codable, CustomDebugStringConvertible {
3+
public protocol WebRequestSession: AnyObject, Codable, CustomDebugStringConvertible {
44
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import Foundation
22

3-
public protocol WebRequestSessionProviding: class {
3+
public protocol WebRequestSessionProviding: AnyObject {
44
var delegate: WebRequestSessionProvidingDelegate? { get set }
55
var current: WebRequestSession? { get }
66
func refresh()
77
}
88

9-
public protocol WebRequestSessionProvidingDelegate: class {
9+
public protocol WebRequestSessionProvidingDelegate: AnyObject {
1010
func sessionProvider(_ sessionProvider: WebRequestSessionProviding, didRefreshSession: WebRequestSession)
1111
func sessionProvider(_ sessionProvider: WebRequestSessionProviding, didFailToRefresh: Void)
1212
}

0 commit comments

Comments
 (0)