Cocoa-Dev FAQ
I think we need an FAQ for the Apple Cocoa-dev mailing list, so I've written a
draft for people to peruse and comment upon.
August 2003 | Main | October 2003
I think we need an FAQ for the Apple Cocoa-dev mailing list, so I've written a
draft for people to peruse and comment upon.
One thing that seems to annoy people about NSImage is the fact that although you can get TIFF data by using the -TIFFRepresentation method, there is no obvious way to turn one directly into a PDF. This seems like an odd omission when you consider that Quartz directly supports PDF… anyway, I thought I'd rectify the situation by posting some code that implements a -PDFRepresentation method.
Anyway, here's the code, for those that want to have a look. By the way, I'd be interested to hear any comments anyone may have as to the approach I took to do this.
Update: I've just fixed the link to the code, which broke when I re-organised my site.
Older programs (and older programmers) sometimes use octal (base-8) to represent characters, so I added some additional numbering on the chart to help you out if you're given (or want) an octal representation of an ASCII character. I've put the revised version of my ASCII chart where the original was.