I would like to display property content from the following singletons:
[shared session I have tried to: po [session shared manager]. Myarray po [[Session shared manager] myarray]
But always get this error:
A syntax error near the end of the expression
Any suggestions?
--- Edit ---
I am working with SDK 3.0.
I have discovered this problem, which I have three open brackets, which instead of two you can not see here because I have written the number of brackets incorrectly. it is working now. Thank you.
If you use XCode debugger and you set breakpoints in some space that already It is only initial and can be seen, you can click on the variable and choose print details.
You can do it in simple way like NSLog () What is the problem in this approach? Normally, I see that it will print all the details () method of all the objects in the array?
And I'm not sure, but at the end of the statement you have a shortage of semicolons ";" Can you check again for that one?
Comments
Post a Comment