A generic configurable loading view for iOS