Swift, Swiftui, iOS App Development, Mobile App Development, Programming.
ContainerForTest.temp(#function) let hander = DataHandler(modelContainer: container) ​ // ACT let date = Date(timeIntervalSince1970: 0) try await hander.newItem(date: date) ​ // Assert let fetchDescriptor = FetchDescriptor<Item>() let items = try container.mainContext.fetch(fetchDescriptor) ​