cftypes

Getting error using CFTypeRef with ARC

自古美人都是妖i 提交于 2019-12-24 14:15:14
问题 I basically followed this tutorial, and soon realized the project wouldn't compile because I was using ARC. I managed to suppress all the errors using __bridge (>.>) but I am still getting one error message, and I managed to read this stack question, but didn't understand how to apply the resolution to my problem. Basically the method that is giving me the problem looks like this: + (NSString*)getPasswordForKey:(NSString*)aKey { NSString *password = nil; NSMutableDictionary *searchDictionary