I am need to parse a pdf file. I would like to use objective-c and Cocoa classes to do so, but I need the resulting application to run on Linux. Is this possible? My experience to Objective-C revolves around the iPhone so I'm relatively new to Cocoa. Thanks.
+1
A:
No, Cocoa is specific to Mac. You can use Objective C on Linux, but I doubt there's much library support. You might have better luck finding a PDF parser for Linux (ghostscript might have libraries) that also works on Mac.
WhirlWind
2010-04-06 15:28:15
+7
A:
Cocoa is Mac and iPhone only, but you could use GNUstep, which is based off the same OpenStep Objective-C API as Cocoa, and PopplerKit for PDF reading.
Chuck
2010-04-06 15:28:57
+4
A:
In addition to GNUstep, there's Cocotron which cross-compiles from Xcode running on a Mac. If you can develop on Xcode, then it's an option.
Graham Lee
2010-04-06 15:32:13
Isn't Cocotron mainly focused on Windows, though?
Chuck
2010-04-06 17:04:51
@Chuck that's its primary focus, but it's got runtime support for Linux and Slowlaris, too.
Graham Lee
2010-04-07 08:02:37