What logging solutions to use while log-debugging objective-C code?

后端 未结 2 713
Happy的楠姐
Happy的楠姐 2021-01-07 07:36

I am currently using NSLog everywhere in my code just to test it, is there a better and more professional way besides using standard NSLog? Mind sharing what other professio

2条回答
  •  臣服心动
    2021-01-07 08:12

    I'm debugging in Xcode, using standard tools, for example, by adding breakpoints to some lines and viewing values of iVars when it stopped there. You can also use Instruments to test performance and memory management.

提交回复
热议问题