Skip to content

Commit

Permalink
Bring removeData back
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed May 2, 2021
1 parent aa92ca4 commit 8e0f42d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Sources/Deprecated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ extension PlatformImage {
}
}

public extension DataCaching {
// Deprecated in 9.2
@available(*, deprecated, message: "This method exists for backward-compatibility with Nuke 9.1.x and lower.")
func removeData(for key: String) {}
}

public extension DataLoading {
// Deprecated in 9.2
@available(*, deprecated, message: "This method exists for backward-compatibility with Nuke 9.1.x and lower.")
func removeData(for request: URLRequest) {}
}


public extension DataCache {
// Deprecated in 9.3.1
@available(*, deprecated, message: "Count limit is deprecated and will be removed in the next major release")
Expand Down

0 comments on commit 8e0f42d

Please sign in to comment.