If I’m doing mass operations inside objective C, and a lot happens in the console… I cannot see it all happen in windows.
Instead of adding the argument ">>WriteLog.log" what would the proper way to log the console inside of Objective C?
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.
Agreed with James, NSLog is the first method I’ve ever used with Obj-C to log.
To expand on James’ the NSLog requires a string object as it’s first argument, with optional referenced variables as following arguments.
IE:
To see where %@, %i, %.2f come from, study string format specifiers.