I Want to generate A simple "Hello World" objective-C program, Which API i have to use for that? Really I don't know is it possible or not?, but in java I know there is CodeModel API.
JCodeModel cm = new JCodeModel();
JDefinedClass class1 = cm._class("Main");
JMethod method = class1.method(JMod.PUBLIC, cm.VOID, "print");
JBlock block = method.body();
JVar a = block.decl(cm.INT, "a", JExpr.lit(10));
JVar b = block.decl(cm.INT, "b", JExpr.lit(20));
with use of this code we create one file with class name as "main", method name is "print" and in method body is "a & b two int variables", like that i want to create one file in objective-C for displaying "Hello world" in view. is it possible?, if yes, How can?