all code for ios code lib