In 2009, Peter Hosey wrote Warnings I turn on, and why. It remains an excellent explanation of why certain warnings, off by default, are a good idea to use. In it, he mentions the use of “treat warnings as errors” and calls it “hardass mode.”
Here’s a tip I picked up last night at our local Cocoaheads meeting: if you have a lot of RAM in your machine and a decent chunk of it is not currently in use, create a RAM disk and mount it at ~/Library/Developer/Xcode/DerivedData.
CocoaConf is returning to Columbus August 9-11, 2012. They have a great line-up of speakers again this year and Light Year Software is proud to be a sponsor of this year’s conference.
It is common for conferences to offer a full-day beginner’s tutorial the day before the full conference begins, but being a beginner’s tutorial, there isn’t anything to draw in the more experienced developers. CocoaConf is trying something new this year. Chris Adamson, the author of Learning Core Audio, is doing a full-day deep-dive on Core Audio.
I’m returning to do a pair of talks on networking, expanding on last year’s single session. The first will cover NSURLConnection and other basic networking APIs, plus a discussion of tips you can use to make the best use of the network and keep your app feeling fast and responsive. The second session will cover more advanced material, including how to use raw TCP and UDP sockets with Cocoa and discover services on the network with Bonjour and GameKit.
If you’re considering syncing Core Data to iCloud in your app, Drew McCormack of The Mental Faculty has a terrific series of articles discussing the difficulties he encountered while adding support for it to Mental Case.
If you have a VPS for web applications, it’s relatively easy to set up your own L2TP/IPsec VPN for use by Mac OS X or iOS clients. When you’re away from your home or office on someone else’s Wi-Fi (at coffee shops or a conference), it’s a good idea to use a VPN to keep your network use secure and private. While there are free VPN services (Cloak is one), the free plan is time and bandwidth limited. You can pay to lift the time limit, but why pay for another service if you can piggyback on another you already have?
I am not an artist, but a fact of life when creating apps in 2012 is that Apple’s standard Cocoa controls don’t provide everything. PaintCode is perfect for those times when I need a relatively simple icon that can be composed from shapes and I don’t have the budget to hire a designer.
Here’s one thing to do with an older iPad if you recently replaced it with the new Retina model:
Get Air Display on the iOS App Store ($10) and use that older iPad as a second display when you’re working away from your regular desk.
One of the projects I worked on last year was the iOS SDK for Yahoo! Connected TV. Along with the SDK, Yahoo! wanted to ship an example app that demonstrated use of the SDK. Take a look at the screenshot to the right. See anything a little out of the ordinary?
Several of the buttons, especially the colored ones along the bottom half of the directional pad, are not rectangular.