[Drawkit] File format extensions

Graham Cox graham.cox at bigpond.com
Fri Jun 20 19:00:08 PDT 2008


On 21 Jun 2008, at 1:03 am, Brad Larson wrote:

> With this export declaration, if you fill in the UTI field in the  
> Info.plist for your filetype, not just the type name, it will now  
> pass the UTI in as the ofType: argument  for the file handling  
> methods.  I still like the specification of the plain-language type  
> name ("Drawing", "Pattern", "SVG") in the Info.plist, along with the  
> arbitrary definition of extensions that it handles, but I'll see  
> what the easiest way would be to do a lookup and to form the correct  
> selector.

If there are changes needed in DK to support the use of UTIs beyond  
what I've done already, naturally they'll be made. You might be in the  
best position to inform me what's needed there.

> Also at WWDC, I talked to the chief coder for WebKit's SVG  
> implementation and he showed me how we could do SVG import and  
> export entirely in WebKit using a part of the engine that I didn't  
> even know existed. I'll get on that as soon as I clean up a last few  
> things in our draw client here.


Cool, that sounds great :) I've not used WebKit yet but if SVG support  
can be added really easily that way, it's got to be worth doing as a  
core part of DK.


cheers, Graham


More information about the Drawkit mailing list