Archive for November 11, 2006

Saturday, November 11, 2006

Cocoa’s Broken Proxy Icons

Erik Barzeski:

Apple is abundantly clear on how a proxy icon should behave. In a Carbon dev doc titled “Handling Carbon Windows and Controls: Basic Window Manipulation,” Apple says in a section called “Adding Window Proxy Icons”:

If you create a document window, you should add a proxy icon to the title bar. This icon, which appears next to the window’s title, serves as a proxy for the document’s icon in the Finder. This proxy icon should appear and behave the way the document’s icon does in the Finder.

[…]

In Cocoa applications, aliases are created at the drop locations—even across disks where a copy occurs in the Finder. When dragging proxy icons to the trash, nothing at all is done in Cocoa apps.

Resolution Independent Fever

Daniel Jalkut:

What the heck, I thought, why not do this programatically from Cocoa? I can use NSBezierPath to draw vector scaleable graphics on-the-fly at any resolution. I discovered, with Paul Kim’s help, that NSCustomImageRep would allow me to both do all the drawing on the fly, and take advantage of the conveniences of NSImage, such as being able to “setImage” on a table header cell.

Sven-S. Porst replies:

And even with all the new technology we have, the basic facts about low-pixel count situations remain true: Graphics in which those few pixels are carefully and consciously placed will look better than those created from generic vector graphics. Only in a few lucky situations we will be able to get equivalent results from cool vector graphics tricks.

Ulysses Review

Kirk McElhearn:

All this adds up to a uniquely powerful tool for writers who don’t work in a linear fashion. It is sometimes useful to work not from the beginning to the end of a document but to move around and explore different ideas as they come. Ulysses lets you do that, but in a radically different manner than other programs, such as outliners. While you could do the same with a folder full of files, Ulysses gives you document management tools that pull all the related files together.