How to dump data stored in objective-c object (NSArray or NSDictionary)

后端 未结 5 800
情深已故
情深已故 2020-12-08 00:41

Forgive me for a potentially silly question here, but in other programming languages (scripting ones like PHP or Perl) it is often easy to dump everything contained within a

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-08 00:45

    Be careful with NSLog logging -> you most likely don't want it in production code.

    You may want to use an alternate logging function that calls NSLog when your product is running in debug mode.

提交回复
热议问题