improved image-paint samples; fixed ios sample xcode project