Code style changes

This commit is contained in:
Arkadiusz Fal
2023-04-22 15:08:33 +02:00
parent afa0049333
commit a9e9fa3a6d
31 changed files with 52 additions and 46 deletions

View File

@@ -1,10 +1,10 @@
import CoreData
struct PersistenceController {
static let shared = PersistenceController()
static let shared = Self()
static var preview: PersistenceController = {
let result = PersistenceController(inMemory: true)
let result = Self(inMemory: true)
let viewContext = result.container.viewContext
do {