Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit da600e4

Browse files
committed
fix deprecations
1 parent b782751 commit da600e4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

TUM Campus App/AvatarNavigationBar.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import XMLCoder
1414
fileprivate let sessionManager = Session.defaultSession
1515
fileprivate let cacheKey = "avatar"
1616

17-
protocol ProfileImageSettable: class {
17+
protocol ProfileImageSettable: AnyObject {
1818
var profileImage: UIImage? { get set }
1919
}
2020

TUM Campus App/Entity/DecoderProtocol.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Foundation
1010
import XMLCoder
1111
import Alamofire
1212

13-
protocol DecoderProtocol: class, DataDecoder {
13+
protocol DecoderProtocol: AnyObject, DataDecoder {
1414
associatedtype DateDecodingStrategy: DecodingStrategyProtocol
1515
func decode<T>(_ type: T.Type, from data: Data) throws -> T where T : Decodable
1616
var userInfo: [CodingUserInfoKey : Any] { get set }

TUM Campus App/Extensions/Extensions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ extension Session {
121121
}
122122

123123

124-
protocol SupportsBackgroundLabel: class {
124+
protocol SupportsBackgroundLabel: AnyObject {
125125
var backgroundView: UIView? { get set }
126126
}
127127

0 commit comments

Comments
 (0)