Suppose I have an object containing some data.
How can I see that data using NSLog?
If anyone is not clear about my question, then can ask me again.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want to see an NSArray and NSDictionary and etc objects then you can directly print like
NSLog(@"%@",object);If it is an user defined object then you need to display by calling with property (attribute).
User defined object with name object and properties like
Print them in the console as follows:
NSLog(@"%@, %d, %@" object.property1,object.property2,object.property3);