Frequently used iOS utility codes.