ios library - misc utils