From a427d10ff46fcb0301581154c4872241bd5260d6 Mon Sep 17 00:00:00 2001 From: Alex Sereno <2569805+alexsereno@users.noreply.github.com> Date: Wed, 10 Apr 2024 17:20:15 -0500 Subject: [PATCH] typo --- src/content/blog/xcode-previews.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/blog/xcode-previews.md b/src/content/blog/xcode-previews.md index 710a1bd..c7ffff7 100644 --- a/src/content/blog/xcode-previews.md +++ b/src/content/blog/xcode-previews.md @@ -179,9 +179,9 @@ extension SDPreviewData { private static func makeExampleData(container: ModelContainer) { for exampleChild in 0 ..< 3 { - let newChild = ExampleChild(name: "Child \(exampleChild)") + let newChild = ExampleChildModel(name: "Child \(exampleChild)") for exampleParent in 0 ..< 2 { - let newParent = ExampleParent(name: "Parent \(exampleParent)", child: newChild) + let newParent = ExampleParentModel(name: "Parent \(exampleParent)", child: newChild) container.mainContext.insert(newParent) } container.mainContext.insert(newChild)