IPHONE 开发 6 -- Object C 01 [NSLog打印信息,对象方法,类方法,空格调用一个方法,%d,%s,%@对象

1 . 在控制台输出信息:

    NSLog(@"");

    NSLog(@"%@",str);  %d,%s,%@

 

2 oc month

  -(void) putString:(NSString *) str)

  {

     NSLog(@"put string is %@",str);

  }

posted @ 2012-06-25 16:02  大树2  阅读(889)  评论(0编辑  收藏  举报