A library for show log in console. CocoaPod Specs for iOS/macOS.
App desktop download NConsole
pod 'NConsole', '=1.0.1'
import NConsole
let dataTest = DataTest(name: "Thanh", old: 22, className: 11)
NConsole.isEnable = true
NConsole.log("Data::", dataTest)
NConsole.log("Hello")
NConsole.groupCollapsed("Hi, how are you?")
NConsole.log("Data:", dataTest)
NConsole.groupEnd()
- Need to set
ENABLE_USER_SCRIPT_SANDBOXING = NO
inVS CODE
to run the app on the simulator.
GO to the VS CODE => SEARCH(Command +shift + f) => ENABLE_USER_SCRIPT_SANDBOXING = NO;