Primarily iOS and MacOS are designed differently for mobile devices, desktop and laptops. However, they do share a common kernel and many other core components.