Skip to content

Commit

Permalink
Fixed macOS support
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Aug 18, 2023
1 parent b3f764c commit a43c9d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Sources/CoreDataModel/NSPersistentContainer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ extension NSPersistentContainer: ModelStorage {
}
}

@available(macOS 12, iOS 15, watchOS 8, tvOS 15, *)
public extension NSPersistentContainer {

func loadPersistentStores() -> AsyncThrowingStream<NSPersistentStoreDescription, Error> {
Expand Down
1 change: 1 addition & 0 deletions Tests/CoreModelTests/CoreDataTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import Predicate
@testable import CoreModel
@testable import CoreDataModel

@available(macOS 12, iOS 15, watchOS 8, tvOS 15, *)
final class CoreDataTests: XCTestCase {

func testCoreData() async throws {
Expand Down

0 comments on commit a43c9d4

Please sign in to comment.