4 ms·
What is the right tool for cross platform work? Do any of the frameworks really generate a proper native-feeling OS X application? Or are they just "good enou
by smackfu 17y ago
What is the right tool for cross platform work? Do any of the frameworks really generate a proper native-feeling OS X application? Or are they just "good enough"?
- albertzeyer 17y agoThat highly depends on the target. In case of games, I rarely see them using the native widgets anyway. Otherwise it depends. Right of the box you will at least get "good enough" (with Qt for example). If you want to support OSX-only stuff, of course you need some tweaks and platform dependend code.
- angelbob 17y agoThere aren't great cross-platform tools that provide good native-feeling results, mostly. There are a number of cross-platform toolkits. GTK+, Qt and wxWindows all come to mind as possibilities. But in general, you're going to need to rewrite a lot of the front end as native code if you want it to feel like native code. However, if you know you may be porting, you can separate a lot of the back end out of your UI code and make it a separate library in separate files. That makes it much, much easier to write several different front ends and still share most of your code.
- jmatt 17y agopython has done a great job at cross-platform development. If anything I'd say there is more work spent on "native-feel" in windows than mac. Since windows is the one that doesn't play well with others. I'd also recommend wxWidgets or QT using the related python (or ruby) bindings. I know exactly what you are saying about "good enough" apps. I can still remember some gtk+ apps for windows a few years ago... it was embarrassing. Given enough time the apps I've seen recently are native and no longer just "good enough".