utils for ios