Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsereno committed Apr 10, 2024
1 parent 4db7c7e commit a427d10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/blog/xcode-previews.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a427d10

Please sign in to comment.