You can travel to Sweden on your Swiss ID-card, which has to be valid during your entire stay in Sweden.