Of course there are books for just about everything, so, too, for learning how to swear:

English as a 2nd F*cking Language

And by the same author: Watch Your F*cking Language

Robin