Sent from my iPhone
> On Mar 12, 2017, at 5:18 AM, Daryle Walker wrote:
>
> I hope it’s a nice first try, but I have some concerns.
>
> 1. I also added an “Export as PDF…” menu item, which uses the save-as-PDF
> default action. I guess it calls my code, but the docs for
> “NSDocument.pdfPri
(resent from address that is subscribed to the list)
Hi Uli,
The code to create the URL was using:
NSURL *url = [[self courseDirectory] URLByAppendingPathComponent:name];
where [self courseDirectory] is a URL of a directory (with an English name
created by the app) in the Documents folder.
Some of the API for NSDocument is oriented around draft documents. What is a
draft and how does it differ from a non-draft? How do I create/open a document
in draft mode? I didn't see anything about it in the Document guide; were
drafts supposed to be a New World Order like auto-saves or version
I can't find the start of this thread, but this sounds a lot like you were
using -UTF8String instead of -fileSystemRepresentation to save out your file
names. That's the main difference between those two calls:
-fileSystemRepresentation decomposes UTF8 the way HFS+ does, so should never
adopt n
On 7 Mar 2017, at 17:45, bigpig wrote:
> I see some code like this in iOS project:
>
> #ifdef __cplusplus
> extern "C" {
> #endif
Others have mentioned what this code does, but I think it'd be useful to
provide some background why this is needed:
In C, functions are distinguished by name. A fu
I like composing controls and such over coming up with new views. This
frustrates me with printing, though, since it’s based on making a view, and
making sure that is page-cuttable. I made RTF-export for my app in the first
place because I thought there was an easy conversion to printing.
Pokin