2014年12月31日

摘要: id返回不确定类型的对象(也就是任意类型的对象),- (id)arrayWithData;返回的就是不确定类型的对象,如果执行数组的方法, [- (id)arrayWithData objectOfIndex:0]编译时不会报错,但运行时会报错,找不到该方法。instancetype返回的类型是该类... 阅读全文
posted @ 2014-12-31 09:46 rankilau 阅读(179) 评论(0) 推荐(1) 编辑

导航