There are several ways a company can achieve an economic moat. One way is to become a leading platform or ecosystem, such as Apple‘s (NASDAQ: AAPL) app store. Application developers usually write for iOS first, since that is where the most financially well-off customers are. The more apps on the iOS app store, the more likely people are to buy an iPhone, in a virtuous circle.