some ios utils