Asked 6 years ago
17 Aug 2017
Views 1506
denyy

denyy posted

var_dump at ios swift code

i am starting code with ios swift and objective c . so i want to know any debug function there which give full structure of variable like its type and length of char of string etc.. i mean meta data about the variable .

i can say like var_dump in php , i am finding like var_dump in ios swift or objective c code.
Mitul Dabhi

Mitul Dabhi
answered Nov 30 '-1 00:00

print function


print(varable)

or NSLog function

        NSLog("%@", variable);



Post Answer