How do they get the ribbons/swirl into ice cream?

How do they get those perfectly thin and wide ribbons of chocolate or fruit swirl into icecream? It seems like if they did it when pouring the mix, it would dissolve or mix into it. How do they do it?
3 answers 3