This is bullshit. I'm dev from Barcelona (Catalonia, Spain) and the squatting topic is periodically being pumped up by the same dumb bastards (always the same companies and media). Squatting exists at the city but it is not an issue in the daily lifes of Barcelona and Spain citizens, only for the fucking big owners with more than 10 flats each. Squatting happens because this bastards (big owners) are inflating the flat prices and getting the people of Barcelona out of their neighborhoods and giving the homes for temporal tourists.