nsdocument Questions

2

Is there a way to suggest a file name for the initial save dialog (of an untitled document) to use for a document in the nsdocument framework?
Menswear asked 6/3, 2012 at 7:51

2

I'm using NSFileWrapper for my package document. Sometimes, when I request the data of a file inside the package I get nil. This is how I query the data of a file inside the package: - (NSData*) ...
Narco asked 16/10, 2012 at 9:21

2

Solved

How do you export a NSDocument in one format into another NSDocument in another format? I would like to implement the typical Export option in my document-based app. I'm not sure where I should pu...
Radiotelephony asked 16/1, 2013 at 13:6

2

Solved

I have an application based on NSDocument with an NSDocumentController subclass. My NSDocument works with both file URLs and URLs with a custom scheme which use a web service. I handle much of the...
Ruppert asked 12/12, 2012 at 21:8

2

Solved

I have a document-based application and I have sub-classed NSDocument and provided the required methods, but my document needs some extensive clean-up (needs to run external tasks etc). Where is th...
Crawley asked 16/3, 2009 at 4:20

1

Solved

I'm making a document-based Cocoa app in which the document is dynamic a collection of files (users can add or remove files). In particular, the Save and Open operations should be as fast as possib...
Dingman asked 26/8, 2012 at 13:46

4

Solved

I want to write an application which may have multiple documents in a single window via a tabbed interface. Should I avoid the NSDocument architecture (the Cocoa Document-based Application template...
Danseur asked 12/7, 2009 at 20:46

1

Solved

I'm building my first serious Cocoa app. It is a document based app using Core Data for persistent storage. Using the Xcode "New project" template options, my project started with a couple of defau...
Baten asked 1/12, 2011 at 1:27

1

Solved

I'm making an application which creates course timetables for people at my school. This is the rough design I had in mind for the application: I'd like my NSDocument subclass to represent an indiv...
Aerostation asked 11/10, 2011 at 4:33

2

Solved

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. Fine. For any normal project, you'd add the two appropriate opt...
Bituminize asked 16/5, 2011 at 0:14

1

Solved

I ask sorry if this argument has already been covered, but after some research i found nothing precise. I need to make a document based application, where the document is actually not a single fi...
Phonemics asked 14/4, 2011 at 15:23

2

Solved

I just wanted to know if it's possible to create a subfolder in the NSDocumentDirectory and write data into that created folder, like: NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocume...
Ludeman asked 19/1, 2010 at 15:2

2

Solved

I am playing with AppKit and NSDocument and I don't know why this is not working?: I just wrote this and image is not nil but never loads any image, its size is always zero. Is this the correct me...
Moonlighting asked 15/12, 2010 at 18:57

2

Solved

Hi everyone I am working on an application which records the user sound and save that to NSDocumentDirectory.The data files are saving well.But the problem is that i want to play those files.I am u...
Diao asked 18/11, 2010 at 12:18

2

Solved

Documentation simply states that setting setAutosavingDelay to anything > 0 on the shared doc controller should do it, but after calling [[NSDocumentController sharedDocumentController] setAutosa...
Lapidary asked 2/1, 2009 at 22:13

1

Solved

Is there a way to add an item that doesn't point to a file that exists on the file system to the "Open Recent" menu? In an application not based on NSDocument, I can add an item to the "Open Recen...
Underclothing asked 13/7, 2010 at 11:8

1

Solved

Does anybody have any NSDocument pros and cons they'd like to share? In particular: Once you depend on the NSDocument architecture, is it difficult to refactor it out if you need to? Are there p...
Tammany asked 13/9, 2009 at 18:10

© 2022 - 2024 — McMap. All rights reserved.