Anyone know the SwiftData equivalet of the CoreData lifecycle methods. and how do we override them or do something similar? eg:
- awakeFromInsert()
- willSave()
- didSave()
- willTurnIntoFault()
- prepareForDeletion()
Anyone know the SwiftData equivalet of the CoreData lifecycle methods. and how do we override them or do something similar? eg: