Changed iOS to use NSLog rather than printf. This is so that the simulator actually prints to the console.