collection of useful ios utility methods