阅读背景:

在未初始化的对象上调用方法(空指针)

来源:互联网 
  1. What is the normal behavior in Objective-C if you call a method on an object (pointer) that is nil (maybe because someone forgot to initialize it)? Shouldn't it generate some kind of an error (segmentation fault, null pointer exception...)?What is the normal behavior in Objective-C



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: