Possible Duplicate:
Normal casting vs bridge casting in Objective - C
With ARC, Xcode gently guides me to bridge cast my string to a CFString
like this
MIDISourceCreate(theMidiClient, (__bridge CFStringRef)outName,
&midiOut);
- What does this bridge mean?
- Are there any consequences for memory management of doing this cast? Will the cast object be, um, cleaned up when it goes out of scope?