ezErr:用单行处理NSError

时间:2021-05-17 15:15:47
【文件属性】:
文件名称:ezErr:用单行处理NSError
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-17 15:15:47
Objective-C 易趣 因为您要做的比写日志语句更好。 实验性的。 ##例子 [ self fooWithError: &error]; if (! ezErr(error, @" Foo failed " )) { NSLog ( @" Foo succeeded); } 如果error为零: Foo succeeded 如果error包含NSError: * * * * * * * * [NSError found] * Detail : Foo failed * Description : The princess is in another castle. * Method name : -[ViewController fooWithError] * File name : ViewController.m * Line number : 4
【文件预览】:
ezErr-master
----ezErr.h(8KB)
----README.md(3KB)
----LICENSE(1KB)

网友评论