views:

114

answers:

5

If so, how would one get started? Basically, I'd like to port a Windows app to Mac without having to purchase a costly Apple computer.

+1  A: 

You can write code, You can compile, but I think that without emulator you can't execute.

oneat
+2  A: 

Write it in Mono. I write Win/Linux/OSX apps this way.

Sky Sanders
Oh wow, that product Mono Tools for Visual Studio looks perfect!
Josh Stodola
oh, about that.... currently novell only supports debugging from visual studio into linux boxes. which is fine in most cases. for fine tuning i usually just load the project into monodevelop on a vm..
Sky Sanders
+1  A: 

Qt is pretty sweet in terms of cross-platform development: http://qt.nokia.com/products/ As the above poster said, you may still have to compile and test on a mac. If you have an app already, I'd guess Mono is a good bet: http://www.mono-project.com/Main_Page

Typeoneerror
+4  A: 

Even if you could cross-compile from PC to Mac, it would make no sense to do so, as you still need to test and debug on a Mac. Also Mac users tend to dislike badly ported PC apps where the developer clearly isn't familiar with "The Macintosh Way", so it would be in your interest to learn the nuances of the Mac OS X GUI and general modus operandi.

You can get a Mac Mini pretty cheaply and use standard PC peripherals with it. Sell it on eBay when you're done.

Paul R
+1 for the recommendation to get a Mac Mini. This works well, and you can connect the hardware you already have.
JasCav
+1  A: 

Write your app in Java - OSX has good support for Java. As others have mentioned, you'll still want to test / debug on a Mac to be sure it works, but w/ Java you'll only need to worry about paths / aesthetic issues - the core functionality should work the same across platforms.

My favorite SFTP client for Mac is written in Java (http://cyberduck.ch/)

jckdnk111