3 ms·
> eg that Jobs saying the iPhone ran OS X was a lie Yeah that made me roll eyes too. From a coder's point of view, iOS is macOS with just a few very small diff
by flohofwoe 4y ago
> eg that Jobs saying the iPhone ran OS X was a lie
Yeah that made me roll eyes too. From a coder's point of view, iOS is macOS with just a few very small differences. E.g. I can build Metal-based apps that share 99% of the source code between their macOS and iOS versions. Just a small ifdef'ed code block here and there is all that's needed.
As for the UI layer, this was a right decision to start from scratch, since laptops and touch devices need a very different UI philosophy (I wish that the current macOS and iOS teams would better understand this - trying to merge the two UI philosophies will only result in pain and suffering for all users, as Windows had already shown - this doesn't mean that there couldn't be a very high level UI framework which is abstract enough to map the same UI declaration to two vastly different UIs though).