ios develope util code