Please suggest a platform to port C# app to Mac?
Greetings,
I need to port this Windows utility: http://solinker.com to Mac. The app was written in C#, 开发者_JAVA技巧.NET 2.0.
The main requirement is: The app should be able to talk with AppleScript to interact with Photoshop. The program is small and UI is simple so I could consider to fully rewritte the app.
Possible candidates are:
- MonoMac
- Unity 3D (seems it doesn't required to install the Mono)
- XULRunner (Flickr Uploader written by XULR)
- QT
- Java (convert all the app to Java + 2 different connector to photoshop: for Mac and for Win)
I would be appreciate for any advice!
I'm not experienced with others but can definitely suggest MonoMac. It looks and feels like any other Mac app while running on Mac. On the other hand, if the application was written with Visual Studio on Windows, it never properly works on MonoMac. So prefer MonoDevelop, if you go this route.
If you check the documentation for MonoMac, you will see they have a packager which bundles all dependencies with the final app. So, no need for a seperate Mono install:
http://www.mono-project.com/MonoMacPackager
As for AppleScript, MonoDevelop does some wrapping of AppleScript. You should take a look at their source:
https://github.com/mono/monodevelop/blob/master/main/src/addins/MacPlatform/MacInterop/AppleScript.cs
I would say MonoMac is your best approach.
精彩评论