The situation in Sweden is a bit different though. Many of them are people that have no chance of finding a job in the Swedish market, which leads to crime, ghettos and separated societies. Its essentially mis-managed on a political level. This will only lead to resentment, the rise of right-wing parties and social problems. I don't think this is a desirable outcome for either the immigrants nor for Sweden as a society.
> At the end of 2012 there were 1.87 million foreigners in Switzerland, the equivalent of nearly 23.3% of a total population that has passed the 8-million mark. In addition, more than 270,000 cross-border workers hold a job in Switzerland.
I bet that most of the permanent residents and virtually all of the seasonal workers are in the low-skill category.
And the previously non-regulated EU residents are from a more similar cultural background, so there is a qualitative difference from the situation in Sweden.
Enclaves are caused by "tipping" in a Schelling check-board model. It would be interesting to check the data to this type of model.
If anything it seems anti-correlated with presence of real live immigrants. The largest group of immigrants to Denmark go to Copenhagen. But Copenhagen isn't where you find the strongest anti-immigrant sentiment, as you'd expect if anti-immigrant sentiment were caused by contact with immigrants. Such sentiment isn't absent, but Copenhageners are comparatively okay with immigration and the majority take moderate views, focused on practical issues like programs to improve integration. The strongest worries and the more "militant" style of anti-immigrant politics comes from rural and small-town areas which do not really see large-scale immigration.
I believe this is also the case in a number of other European countries, for example in Austria and Switzerland, where immigrants go mainly to the cities, but anti-immigrant sentiment is concentrated in the rural areas and small towns. Some of this probably has nothing to do with immigration per se but is a result of preexisting cultural splits between cosmopolitan, liberally oriented cities, and more conservative countrysides (a 19th-century sort of romantic nationalism is very strong in rural Scandinavia).