开发者

disable iphone simulator

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...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜