Skip to content

Commit d2a2e52

Browse files
committed
removing deprecationg warning from class to AnyObject
1 parent c7f3390 commit d2a2e52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MapCache/Classes/RegionDownloaderDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import Foundation
1212
/// Implement this protocol whenever you use `RegionDownloader` it drovides feedback while donwloading a
1313
/// region (f.i, downloaded %) and callsback the delegate once the download finished.
1414
///
15-
@objc public protocol RegionDownloaderDelegate: class {
15+
@objc public protocol RegionDownloaderDelegate: AnyObject {
1616

1717
/// Did download the percentage.
1818
@objc func regionDownloader(_ regionDownloader: RegionDownloader, didDownloadPercentage percentage: Double)

0 commit comments

Comments
 (0)