我是一名初级软件开发人员,我可以将 (unsigned) 更改为 (NSUInteger) 还是稍后会产生问题?
- (unsigned)retainCount
{
return UINT_MAX; //denotes an object that cannot be released
}
警告说
MKStoreManager.m:88:1: Conflicting return type in implementation of 'retainCount': 'NSUInteger' (aka 'unsigned long') vs 'unsigned int'
我找到了以前的定义
- (NSUInteger)retainCount OBJC_ARC_UNAVAILABLE;