Also, Switzerland is in a situation where it can use the talents of highly educated foreign workers at will -- huge numbers of Italians, French, and Germans work within Switzerland and go home in the evening, their immigration program doesn't have to try to identify skilled professions to invite in. Switzerland's immigration is family-based and humanitarian-based, and they've let in huge numbers of refugees. There are more people in Switzerland who speak Albanian than one of their national languages.
Of all the countries in the world to compare Canada to, Switzerland is one of the least appropriate. Its history and political culture are unique in Europe, and its approach to immigration is Swiss and nothing else.
Whoever made the point about citizenship being decided locally was right -- this is also why you can't ever say that 'Switzerland' is xenophobic. Different cantons or towns each have their different rules and processes. Some are probably more welcoming than others, I have no doubt at all that parts of Switzerland have debated whether or not to permit a mosque. That kind of thing is a fundamental part of being Swiss, and more power to them (local debate, not mosque hatred).
Here's one thing that Canada has to contend with, for example: Americans ARE Canadians, there is almost no difference. When an American emigrates here, assuming they don't have some grotesque accent, they can fit in like a native with a few easy adjustments. As one, you actually feel like you're living a lie -- you meet people, make friends, and no one knows you're not 'one of them', but at the same time you can't go around announcing that you're an American (esp. because some Canadians take that as bragging). An American who has been here for 1 month can 'pass' better than an Italian immigrant who came at age 25 and spent 30 years in Toronto. The distinction between an American and a Canadian is a legal one, not a linguistic or cultural one (leaving out francophones, of course). Perhaps this is why Canada defines citizenship legally, and not culturally? And at the same time the cultural tests on the citizenship exam are basically stupid -- 'likes hockey', 'eats back bacon' -- because there actually is no cultural test at all that would reliably include Canadians and reliably exclude Americans.
This is totally off topic, I just thought of it when thinking of how distinct Switzerland is within Europe.