Developers however are spread all over the place (some in Stockley Park/Covent Court, London, Paris etc) and some of their acquisitions never moved e.g. Cambridge. That said even these developers are on the periphery and mostly doing localisation type engineering e.g. supporting the various EMEA specific payment/shipping methods for the Apple Online Store.
If you want to work on core iOS, OSX, iPhone, iPad etc then you still need to be in Cupertino.
Behemots like Apple have the money and infrastructure to make it irrelevant where offices are located, and in Europe (even considering that Europe is not a monolithic entity) there is a potential pool of talent larger than the US.
Where I live (Madrid) salaries for engineering jobs are a fraction of what they are in US, every multinational has a presence here, but most local jobs are sales or retail.
Additionally I'm not even sure if there is much dev work going on in their Cork plant? Would love to hear from someone in the know :)
But it isn't your glamorous Apple Car/Apple Watch/R&D development.
However, it's a shame that the H1B lottery is as it is, because startups have a really hard time hiring people. It would help startups to grow if it were easier to hire people from outside the US. As an European programmer trying to go to the US, I really hope that the US government gets rid of the lottery system.
[1]: https://news.ycombinator.com/item?id=10539100