Asked 30+ days ago
17 Aug 2017
Views 146
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 Jan 21 '18 20:17

print function


print(varable)

or NSLog function

        NSLog("%@", variable);



Edit Answer
Share
Post Answer