【发布时间】:2011-08-14 09:57:24
【问题描述】:
在 Objective-c 中比较 NSUInteger 和 int(例如 5)的最快方法是什么?
背景 - 我注意到以下代码行给出了错误:
STAssertEquals([nsMutableArrayInstance count], 5, @"xxxx");
// gives Type Mismatch
所以我要有效地问的是如何纠正这个问题以修复错误......
【问题讨论】:
标签: objective-c xcode xcode4 ocunit