Skip to content

Commit 49a1245

Browse files
author
Christian
committed
update macOS sample for new Backlink code generator
1 parent 6354de0 commit 49a1245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Example/NotesExample-macOS/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
4343
logger.append("\(allWritingNotes.readableDescription)\n")
4444

4545
logger.append("Reading notes containing 'writing' by Peter Brett:")
46-
let peterBrettsWritingNotes = noteBox.query { Note.text.contains("writing") && Note.authorId == peterBrett.id }.find()
46+
let peterBrettsWritingNotes = noteBox.query { Note.text.contains("writing") && Note.author == peterBrett.id }.find()
4747
logger.append("\(peterBrettsWritingNotes.readableDescription)\n")
4848

4949
logger.append("Looking into Peter Brett's current object state again ...")

0 commit comments

Comments
 (0)