I know this may be really silly - but how can I disable the iphone simulator in xcode? I just w开发者_如何学编程ant to try a few things and dont care about the view, only the console. I seriously looked everywhere and nada.
Thanks!
You need to run your code somewhere. It either runs on the device, or on the simulator. You cannot run your code on the console alone.
just "build", not "build and run" (shortcut: command + B).
If you want to test your model, and don't care about the view, create and use unit tests. But even then it needs to run the code somewhere...
精彩评论