Utilities for ios