在分析objective-c app
时,我收到了一些警告
我如何解决此类警告。
答案 0 :(得分:1)
NSMutableDictionary *tempDict = [[NSMutableDictionary alloc] init];
tempDict = [self readFromPlist:kserchkeywordFileName];
解决方案:
NSMutableDictionary *tempDict = [[NSMutableDictionary alloc] initWithDictionary:[self readFromPlist:kserchkeywordFileName]];
可能对你有帮助。
如果答案是对的,那就接受吧。