摘要:
一、最简单的block 1、最简单的block结构 ^{ NSLog(@"this is a block"); NSLog(@"this is a block"); NSLog(@"this is a block"); }; 2、block的调用 ^{ NSLog(@"this is a block 阅读全文
摘要:
nan or +inf报错 一、nan的意思是 not a number 不是数字 nan一般是因为在float类型经过函数运行后,出现了不为数字的值,主要常见原因有 除以0 就是你的除数为0 (10/0) 或者 除数或者被除数为null (这两种情况在你做除法的时候可能不会出现错误,但是当你设置c 阅读全文