I have this code that uses \"__bridge\" to cast the ids of colors:
CGColorRef tabColor = (5 == 5 ? [UIColor blueColor].CGColor
With NSURL is the same problem
NSString *soundPath = [[NSBundle mainBundle] pathForResource:@"sound" ofType:@"wav"]; NSURL *soundURL = [NSURL fileURLWithPath:soundPath]; AudioServicesCreateSystemSoundID(CFBridgingRetain(soundURL), &soundEffect);