Can I compile Objective-C code to work on multiple platforms?

We have a code base for a synchronization library written in Objective-C. In general, it uses only material from the framework (NSArray's, NSDictionary, NSURLConnection, etc.).

We also use some Cocoa functionality in this code base: KVO and delegation.

Is it possible to compile this codebase with other platforms, similar to how you can compile C / C ++ code on several platforms? How should I do it? What tools do I need?

edit: platforms on which we are most interested (if possible, of course): Windows, Android, BlackBerry, Windows Phone 7

Thanks in advance.

+1
gcc objective-c dll cross-compiling
Feb 08 2018-12-12T00:
source share
1 answer

Here's a delightful article from cocoawithlove - Options for porting Objective-C / Cocoa applications to Windows . He at least answers how to port ObjectiveC to windows.

+2
Feb 08 2018-12-12T00:
source share
— -



All Articles