macOS swiftData Delete item

I downloaded X-Code Beta and selected macOS app and swiftData. The template that opens allows you to add items but the delete function built in doesn't seem to work. Has anyone come up with a solution?

The template delete function reacts to the use of the delete menu option only. Otherwise use a toolbar button or other to guide the user to delete.

macOS swiftData Delete item
 
 
Q