This method besides printing your message it shows the file name, the line and the function method where the log was made. The file, function and line numbers are extracted using literal expressions.
This makes it easier to find where the log message come from and if you have the KZLinkedConsole plugin installed in Xcode you just need to click on the error message in the console and Xcode will take you there.
For a more advanced logging library I recommend XCGLogger
== Update (2016-01-25) ==
I found out that the print statement doesn’t print to the System Logs, this could be useful in scenarios that you want to see the log message on a user device. So I update my method to use the NSLog function
I attended the Apple TV Tech Talks in London this week. They are part of a tour that developers and designers from Apple are doing around world to show the possibilities of the new Apple TV and share some insights on how to design and develop for it.
The presentations where all very good with a lot of suggestions on how to optimise/improve your app in terms of UI/UX and tech. Even more valuable where the coding and UI/UX workshops where you could present your questions directly to an Apple engineer or designer. You could even get design review from one of the UX experts from Apple.
In conclusion it was great and concise conference about tvOS, in a way I think they are better than the WWDC because they are more focused and a lot less crowded! It was also a great opportunity to connect with London developers community and see some old colleagues. I hope they do them again next year!
Inspiration strikes — anytime, anywhere. Manage your WordPress blog or website on the go, from your iOS device: view your stats, moderate comments, create and edit posts and pages, and upload media. All you need is a WordPress.com blog or a self-hosted WordPress.org site running 3.6 or higher. With WordPress for iOS, you have the power of publishing in the palm of your hand. Draft a spontaneous haiku on the train. Snap a photo on an afternoon stroll for the week’s photo challenge at The Daily Post. Respond to your latest comments, or monitor your stats to see where today’s readers are coming from.