nsdocument
Creating a new NSManagedObject within an NSPersistentDocument refuses to save even though undo shows as possible
I have a开发者_运维问答 CoreData / NSPersistentDoc app. It works fine. I added a new entity to the MOM, and updated the version.[详细]
2023-03-16 08:16 分类:问答In a document based application does a document have to represent a file?
I am about 90% sure my program would benefit from using the document framework in Cocoa but there is one thing that I am unsure of.[详细]
2023-03-10 12:43 分类:问答Sharing NSDocument subclass between multiple NSWindowControllers
I have a application that isn\'t currently a document-based application (because I thought it would be more trouble than its worth). However I\'ve been thinking it may possibly be worth it now, but th[详细]
2023-03-08 20:05 分类:问答Enable Automatic Lightweight Migration of Core Data on NSPersistentDocument
ALM is great. But I can\'t get it to work on a project that uses Core Data with NSDocument. It seems that ALM is disabled by default.[详细]
2023-03-05 22:13 分类:问答Adding an accessory view to an NSDocument's save panel in addition to its own file type popup button
I have an NSDocument based application that can save to multiple file types, so when saving a document, NSDocument helpfully adds a pop-up button to the save panel as its accessory view that lets the[详细]
2023-03-05 11:30 分类:问答Cocoa and executable files
Hey, I am writing a Cocoa app for Mac OS X and I want it to be able to open executable files. That is, files with the \'e开发者_如何转开发xecute\' permission. These files usually do not have a file ex[详细]
2023-02-26 02:27 分类:问答Setting NSDocument as delegate of NSMenu
I have a menu item whose state should depend on whichever NSDocument is open.From my understanding, to make its state change dynamically I should use the NSMenu delegate method menuNeedsUpdate:.[详细]
2023-02-24 11:07 分类:问答Documents directory in objective C
In Xcode, the Resources folder links to the NSDocumentsFolder of the ap开发者_开发问答p? Or what else?[详细]
2023-02-24 05:51 分类:问答Prevent Opening new NSDocuments and show a warning message
I have an NSDocument based app in which I want to limit the number of documents open at the same time (for a Lite version). I just want to have n documents, and if the user tries to open more than n,[详细]
2023-02-20 23:11 分类:问答Core data dirty flag not being set
I have a core data document based cocoa app that is working well except for one slightly odd problem.[详细]
2023-02-18 16:11 分类:问答