首页 > 代码库 > Object-C 学习笔记(一) Hello Objective-C

Object-C 学习笔记(一) Hello Objective-C

#import <Foundation/Foundation.h>

int main(int argc, const char *argv[])

{

  NSLog(@"Hello Object-C!");

  return (0);

}

单击Build and GO或Mac键+R,将生成并运行程序;