#import <objc/objc.h> #import <objc/Object.h> #import <Foundation/Foundation.h> @interface TestObj : Object { //none } - (void)testMethod; @end @implementation TestObj - (void)testMethod { //printing a formatted output of the result of adding integer values. } int main() { id obj = [[TestObj alloc] init]; [obj testMethod]; return 0; } @end