python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
My core data fetch is not recognizing context
In my swift code below I am trying to fetch all of my names in core data to print. I am getting a compile error on context saying it can't be found in scope. I have attached a photo as well so you can...
silly milly
Votes: 0
Answers: 1
Passing ManagedObject collection from fetch result to closure up to ViewController
I want to perform a background fetch and pass the result to closure. Currently I'm using performBackgroundTask method from NSPersistentContainer which is giving a NSManagedObjectContext as a closure. ...
burkinafaso3741
Votes: 0
Answers: 1
Sample Code for MacOS Core Data with external file management with Undo/Redo
I'm trying to create an NSManagedObject subclass that manages a single file external to the Core Data database targeting back to MacOS 10.14. I don't think I can use the in built feature to store exte...
Silver
Votes: 0
Answers: 1
Adding one read only attribute to Core Data Model in Swift. Which doesn't exist in XCDataModel
Adding attribute to entity which don't exist in XCDataModel was easily accomplised VIA @synthesize and @dynamic in objective c.
Please guide how to achieve this in swift.
@NSManaged public var salesPr...
Aaban Tariq Murtaza
Votes: 0
Answers: 1