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

Commit

Permalink
fix deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
tgymnich committed Jul 4, 2021
1 parent b782751 commit da600e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion TUM Campus App/AvatarNavigationBar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import XMLCoder
fileprivate let sessionManager = Session.defaultSession
fileprivate let cacheKey = "avatar"

protocol ProfileImageSettable: class {
protocol ProfileImageSettable: AnyObject {
var profileImage: UIImage? { get set }
}

Expand Down
2 changes: 1 addition & 1 deletion TUM Campus App/Entity/DecoderProtocol.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Foundation
import XMLCoder
import Alamofire

protocol DecoderProtocol: class, DataDecoder {
protocol DecoderProtocol: AnyObject, DataDecoder {
associatedtype DateDecodingStrategy: DecodingStrategyProtocol
func decode<T>(_ type: T.Type, from data: Data) throws -> T where T : Decodable
var userInfo: [CodingUserInfoKey : Any] { get set }
Expand Down
2 changes: 1 addition & 1 deletion TUM Campus App/Extensions/Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ extension Session {
}


protocol SupportsBackgroundLabel: class {
protocol SupportsBackgroundLabel: AnyObject {
var backgroundView: UIView? { get set }
}

Expand Down

0 comments on commit da600e4

Please sign in to comment.