Implementation of Service Locator pattern for Objective C