Skip to content

Instantly share code, notes, and snippets.

View KingNexu's full-sized avatar
:shipit:
waiting for Xcode to index

Julian Schmid KingNexu

:shipit:
waiting for Xcode to index
  • Neumann & Neumann Software und Beratungs GmbH
  • Germany, Bavaria
  • X @devjulianschmid
View GitHub Profile
@KingNexu
KingNexu / CoreDataManagerInit.swift
Last active December 6, 2021 06:44
[CoreData] #CoreData #SwiftUI #iOS
import Foundation
import CoreData
final calss CoreDataManger {
let persistentContainer: NSPersistentContainer
init() {
///To Initialize persistent container you have to pass in the file name of the model
persistentContainer = NSPersistentContainer(name: "HelloCoreDataModel")