Is there a way to print value of Boolean flag in NSLog?
In Swift, you can simply print a boolean value and it will be displayed as true or false.
true
false
let flag = true print(flag) //true