Utilities for IOS