While hanging — usually from one of the thin poles scattered around the rooftops — hold Right Trigger + A on Xbox 360 to start swinging, then push the left stick toward the spot you want to launch yourself to.
Timing matters more than force here. Build the swing, then release at the top of the arc so the momentum carries you across the gap rather than straight down.