首页 > 代码库 > expected expression __bridge

expected expression __bridge

expected expression 一般为 标点符号引起的警告 () 或{}

 // 使用 core foundation 框架,ARC环境下需要:(__bridge NSString*)修饰或(__bridge id)修饰

NSString * s = (id) (__bridgeNSString*)kSecAttrAccount;

    [wrapper setObject:@"<账号>"forKey:(__bridgeid)kSecAttrAccount ];