NSAssert和NSCAssert有什么区别?当我探索他们的实现时,他们看起来非常相似,我找不到我的问题的答案.
我想这也将解释NSParameterAssert和NSCParameterAssert之间的区别.
@H_403_4@解决方法
The second is the difference between C and Objective-C assertions:
NSAssert should only be used in an Objective-C context (i.e. method
implementations),whereas NSCAssert should only be used in a C context
(i.e. functions).
更多在http://nshipster.com/nsassertionhandler/
@H_403_4@ @H_403_4@ 原文链接:https://www.f2er.com/iOS/331150.html