document-based Questions

2

I am trying to create a custom document icon for my multi-platform (iOS 14 - macOS Big Sur) app. So, for macOS, it's pretty easy, I can either attach a legacy icon, or better, supply a combination ...
Professional asked 30/9, 2021 at 9:29

1

Solved

The current version of Xcode (version 12.5.1) provides a template for a Document Based App for macOS providing the following document model: struct MyDocument: FileDocument { var text: String in...
Sirmons asked 25/7, 2021 at 21:5

0

Is there anyway at all, to show an onboarding screen at the launch of a SwiftUI document-based app, before the file picker screen appears? What I can do now, is to show the onboarding screen AFTER ...
Deoxygenate asked 5/7, 2021 at 2:5

2

Solved

I need to delete a whole collection of documents in Raven DB. Deleting one by one (documents) is not a wise choice. Is there a way I can do this easily?
Arsine asked 11/8, 2011 at 19:38

12

Solved

When I display an NSAlert like this, I get the response straight away: int response; NSAlert *alert = [NSAlert alertWithMessageText:... ...]; response = [alert runModal]; The problem is that thi...
Zea asked 3/3, 2009 at 1:22

5

Solved

I've been working on a new Document-based app, and was super glad about the new UIDocumentBrowserController...trying to roll my own solution for the document browser UI was tricky! I'm having some...
Danieladaniele asked 21/6, 2017 at 2:35

2

Since iOS 11 I have encountered the following error every time I am creating a new document using UIDocument API: [ERROR] Could not get attribute values for item /var/mobile/Containers/Data/Applic...
Theurich asked 1/1, 2018 at 12:30

2

Solved

I have made a custom NSView and have implemented the keyDown: method. However, when I press keys the method is never called. Do I have to register to receive those events? fyi, I am making a docume...
Stibnite asked 5/4, 2012 at 1:6

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

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 trying to understand how the things in Cocoa works but I'm struggling with one thing. I saw http://cocoawithlove.com/2010/09/minimalist-cocoa-programming.html and http://casperbhansen.wordpress...
Mireyamiriam asked 29/4, 2012 at 15:19

1

I'm dipping my feet into Cocoa for the first time. Here's a simple question. OS X Lion supports Resuming of window state when an app is terminated and relaunched. Okay, good and fine. But for doc...
Lodgment asked 29/9, 2011 at 8:27

1

Solved

This seems like it should be easy yet I must be missing something. I have a document-based application. I have also built a new XIB that has a NSTableView and three buttons on it that I intend to d...
Solfatara asked 11/10, 2010 at 2:57

2

Solved

I have been hearing a lot about document oriented data stores like CouchDB. I understand the uses of BigTable like stores such as Cassandra. After reading this question, I was wondering what the co...
Conjunct asked 31/7, 2010 at 3:18

1

Solved

I'm making a new Mac OS X application. (not an iPhone app) This is document-based application. It shows a new "Untitled" document instance automatically when it starts up. How can I block this beh...
Boehm asked 1/4, 2010 at 6:16
1

© 2022 - 2024 — McMap. All rights reserved.