some tools in iOS