Skip to content

Commit efb04d1

Browse files
authored
MOB-12033 Update method from obsoleted to deprecated (#955)
1 parent e6a84f3 commit efb04d1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ CI.swift
3838
.build/workspace-state.json
3939
*.mdb
4040
.build/arm64-apple-macosx/debug/IterableSDK.build/output-file-map.json
41+
.build

swift-sdk/Internal/CoreDataUtil.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ struct CoreDataUtil {
7474
}
7575

7676
extension NSManagedObjectContext {
77-
@available(iOS, obsoleted: 15.0, message: "This method is intended for older versions of iOS")
77+
@available(iOS, deprecated: 15.0, message: "This method is intended for older versions of iOS")
7878
func performActionAndWait<T>(_ block: () throws -> T) throws -> T {
7979
var result: Result<T, Error>?
8080
performAndWait {

0 commit comments

Comments
 (0)