mulle-objc 介绍
mulle-objc 是一种在多平台运行 Objective-C 的新方法,它基于一个新的编译器和一个新的运行环境。
mulle-objc 的目标:
示例代码:
cat <<EOF > hello-world.aam #import <MulleObjC/MulleObjC.h> @implementation Foo : NSObject - (void) print { printf( "Hello World\n"); } @end int main( int argc, char *argv[]) { Foo *foo; foo = [Foo new]; [foo print]; return( 0); } EOF