Ios Drawing App Sample Code