Ahmed-Ali / JSONExport

JSONExport is a desktop application for Mac OS X which enables you to export JSON objects as model classes with their associated constructors, utility methods, setters and getters in your favorite language.
Other
4.79k stars 794 forks source link

Support Windows and Linux #84

Open embassem opened 7 years ago

embassem commented 7 years ago

please support windows and Linux for Android Development

liltimtim commented 5 years ago

Firstly, the project explicitly states which platform this is for...

JSONExport is a desktop application for Mac OS X written in Swift.

Secondly since this application is written for Mac OS X it will likely never have cross platform support given the fact that it calls UIKit elements which are written for Cocoa based systems. Windows and Linux do not and will probably never have support for Cocoa considering that a majority of this framework isn't open sourced from Apple. Please see this link for details regarding the history of Cocoa and its intended platforms and cross platform support.

Third, in order for an application like this to exist across multiple platforms, it would take an entire rewrite and be written in a system that can support a write once deploy anywhere solution. An example would be Electron.

Also, if support for each platform is desired along with a native implementation, it would probably be beneficial to create separate Github repos for them. This would allow issues / features that arise or are requested to be tracked individually for the specific platform.

Finally, I want to simply thank the author and contributors for creating such an app in the first place. Its saved me quite a bit of tediousness!