nsdocument
Help diagnosing crash in Cocoa framework - possible memory leak?
开发者_JS百科I\'m currently migrating the Fragaria framework from a GC-only environment to GC being supported. After the work was done (or what I thought had to be done to make it work) I was able to[详细]
2023-02-17 16:47 分类:问答Cocoa/Obj-C - Open file when dragging it to application icon
Currently there is a button on my app inteface which allow to open a file, here is my open code: In my app.h:[详细]
2023-02-17 12:07 分类:问答Access IB instantiated NSBox in MyDocument from another class?
I star开发者_运维问答ted with the View Swapping code from Hillegass\'s book Cocoa Programming for MAC OS X.This code uses a popup menu in MyDocument.nib to swap ViewControllers using displayViewContro[详细]
2023-02-10 02:58 分类:问答Can I have a file with the same name in 2 folders inside iphone's document directory?
I checked and understood that we can create folders by different name inside documents directory. My doubt is I have created two folders, folder1 and folder2. Is it possible to have a file named rock[详细]
2023-02-10 00:45 分类:问答Strange loadNibNamed behaviour
I have a document-based Cocoa app. During runtime, I load an additional nib from the bundle by invoking [NSBundle loadNibNamed:@\"inspectorNIB\" owner:self] (where self is the NSDocument).[详细]
2023-02-06 01:33 分类:问答NSURL → NSImage → NSImageView
I am开发者_JS百科 playing with AppKit and NSDocument and I don\'t know why this is not working?:[详细]
2023-01-31 06:58 分类:问答Prevent warning when NSDocument file is programmatically renamed
My application allows the user to rename documents that are currently open.This is trivial, and works fine, with one really annoying bug I can\'t figure out.When a file is renamed, AppKit (kindly) war[详细]
2023-01-28 08:43 分类:问答Opening documents with Cocoa
I have the following method to open documents. - (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName error:(NSError **)outError[详细]
2023-01-25 20:51 分类:问答Looking to introduce tabs to document-based application, ideas?
I have a document based application, that so far simply edits documents with a new window for each document.[详细]
2023-01-25 14:05 分类:问答Document-based application, or not?
I\'m writing a desktop app that could be used to manage a dance academy.My Core Data model contains such entities as Student, Teacher, Class, Invoice, etc along with the various relationships between[详细]
2023-01-24 08:00 分类:问答