Finally I have found the tilde on my Swedish Mac keyboard. Its hidden under Option-¨ What a stupid place to put it..