Apple also provides very detailed human interface guidelines for all their OSes. They are all more than 100 pages long, and describe how every single UI element should act and what the user should expect. When designing a UI using Apple's provided graphical tools, it actually guides the programmer to follow those guidelines, in terms of button sizes, spacing, etc. Apple cares about UI/UX, and it trickles down.