iOS Swift - Local Data Persistence
Given the following SwiftData code snippet, what will be the output?
let newBook = Book(title: "Swift Basics") context.insert(newBook) let books = try context.fetch(Book.fetchRequest()) print(books.count)
