Test Version of My Illustrator to XAML Plug-In for the Mac

Test Version of My Illustrator to XAML Plug-In for the Mac

Rate This
  • Comments 17

One of the most frequent questions I get related to my Adobe Illustrator to XAML Export Plug-In is: “does it run on a Mac?” Unfortunately, the answer has always been “no,” because I’ve never owned a Mac, and I’ve never done any Mac development…ever. If you can believe it, the last Apple computer I wrote code for was the Apple IIe. Those were the days!

Last week, I asked around the office, and between Tim Sneath and Thomas Lewis, I was able to borrow a Mac Mini to play around with (thanks, guys!). I installed OS X Tiger and Xcode 2.5, because I wanted to target the Illustrator CS3 SDK (which recommends that OS/tool combination). I would have gone back a bit further, but the CS and CS2 SDKs are both based on CodeWarrior, and I didn’t want to make my situation any more difficult by using even older versions of the OS and tools. Because of this choice, the plug-in should work fine with Illustrator CS3 and CS4, though I’ve only been able to test it on CS4 myself.

Fortunately, when I wrote the original plug-in for the PC version of Illustrator, I mostly stuck to the platform agnostic functionality and types that are exposed by the SDK. This made it much easier to port the code to the Mac. Here are the three biggest challenges I encountered:

  • General unfamiliarity with the Mac – since I haven’t used a Mac since the Mac Classic (before it was even called “Classic”), just finding my way around the system felt like I was exploring an alien planet. Where did my Illustrator window go!?!?
  • Xcode – being unfamiliar with the Mac didn’t make it any easier to understand the project system or the Xcode developer tools. And Carbon? What’s that? :-)
  • Platform-specific code – if you’ve used the PC version of the plug-in, you know that you can hold down the left shift key during export to pop-up your default XAML viewer; if you hold down the right shift key, your WPF export uses DrawingBrush syntax. The Mac API that I found doesn’t allow me to distinguish between the left and right shift keys, so the Mac version exports DrawingBrush syntax regardless of which Shift key is held down.

If you’d like to help test, download Mac version 0.18 (see update below) and copy the XAMLExport.aip file to your Illustrator plug-in folder. Like the most recent PC version, you’ll find "XAML for Silverlight (*.XAML)" and "XAML for WPF (*.XAML)" as new formats under File/Export. I’ve run many files from my test suite through the plug-in and have so far been able to add all of them successfully to Expression Blend 2 on my PC.

It may help to read through the Features list on my plug-in page to see what works and what doesn’t. Also, I’d love it if someone could test it with Illustrator CS, CS2, and CS3 and report their results…I only have CS4 on the Mac.

Thanks in advance for your help and feedback!

Update: A newer version of the plug-in is now available, including version 0.19 for both the PC and the Mac.

Leave a Comment
  • Please add 1 and 2 and type the answer here:
  • Post
  • PingBack from http://www.clickandsolve.com/?p=4968

  • Attention Designers!  Mike Swanson has released a Test Version of his Illustrator to XAML Plug-In

  • Es war ein langer Tag und deswegen mache ich es kurz, aber das ist zu gut um bis morgen zu warten: Mike

  • a test version of a Mac-compatible plugin for Illustrator to Silverlight is now available!

  • digg_url = "http://blogs.msdn.com/chkoenig/archive/2009/02/09/illustrator-to-xaml-plug-in-for-the

  • お、とうとうこういったものが出てきました。 デザインをやる方は圧倒的に Adobe Illustrator や Photoshop を使っている方が多いです。特にUIデザインで Illustrator

  • Illustrator to XAML Plug-In for MAC

  • Pokud vás jako designéra zaujalo WPF nebo Silverlight , tak jste se už určitě setkali se XAML em. A jestli

  • Hi Mike, felix here (the one who showered your plugin with praise on the hanselman podcast!)

    Anyway this is fantastic news - I'll give it a go on CS3 & CS4 on my mac at home tonight.

    Thanks again for this invaluable plugin - I must have used it 20 times today exporting glyphs!

    Cheers

    felix

    PS maybe next microsoft will build a silverlight authoring app for the mac... ;)

  • Thank you for submitting this cool story - Trackback from DotNetShoutout

  • Events Mix09 WPF Workshop: Jaime/Robby/John/… “ Hiking Mt. Avalon at Mix09 ”. Sounds great. WPF Jaime

  • I cannot remember...  Where is the Illustrator plug-in folder in Mac OS X?

  • Wow! I can hardly believe that this is the third post on my Illustrator to XAML plug-in in the past month.

  • @Edward: it's usually somewhere like /Applications/Adobe Illustrator CS4/Plug-ins

  • @mswanson:  Yep, the most obvious place!  I was looking in all of those cryptic, hidden system folders instead.

Page 1 of 2 (17 items) 12