Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
$ rm -rf /

Julian Schmid KingNexu

:octocat:
$ rm -rf /
  • Neumann & Neumann Software und Beratungs GmbH
  • Germany, Bavaria
  • Twitter @devjulianschmid
View GitHub Profile
@KingNexu
KingNexu / CoreDataManagerInit.swift
Last active Dec 1, 2021
[CoreData] #CoreData #SwiftUI #iOS
View CoreDataManagerInit.swift
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")