ios helpers