I'd like get username/password out of my keychain. for this I followed this guide:
But this part is not allowed with ARC:
NSData *result = nil;
OSStatus status = SecItemCopyMatching(
(CFDictionaryRef)searchDictionary,
(CFTypeRef *)&result);
What can I do?
__bridge
but for(CFTypeRef *)&result);
it didn't work.. Xcode noticed: Incompatible types casting 'NSData *__strong *' to 'CFTypeRef *' (aka 'const void **') with a __bridge cast – Hesitancy