Skip to content

Commit be8d8d6

Browse files
committed
update comments
1 parent 60e459c commit be8d8d6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/SwiftDataKit/SwiftData/PersistentModel.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ import SwiftData
1313
public extension PersistentModel {
1414
/// Returns the `NSManagedObject` associated with the `PersistentModel`.
1515
///
16-
/// - Returns: The `NSManagedObject` instance.
17-
/// - Throws: A fatal error if the `NSManagedObject` cannot be retrieved.
16+
/// - Returns: The `NSManagedObject?` instance.
1817
var managedObject: NSManagedObject? {
1918
guard let object = getMirrorChildValue(of: persistentBackingData, childName: "_managedObject") as? NSManagedObject else {
2019
return nil

0 commit comments

Comments
 (0)