Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about nsmanagedobject

Read more about nsmanagedobject

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - nsmanagedobject

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...
test-img

Silver

cocoa

core-data

nsmanagedobject

file-management

Votes: 0

Answers: 1

Latest Answer

What I ended up doing: public class File: NSManagedObject { var file_directory: URL { get { return sharedDirectoryStucture.workFolder() } } @objc var ...
test-img

Silver

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...
test-img

Aaban Tariq Murtaza

swift

core-data

nsmanagedobject

Votes: 0

Answers: 1

Latest Answer

To support key-value coding for a type declared in Swift, you have to mark it with the @objc keyword: @objc public var totalVal: NSNumber {
test-img

jrturton

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved