iOS practice problems