Tag Archives: Cocoa Touch
Objective-C memory management
With Automatic Reference Counting (ARC) coming out soon, you could argue this post is coming almost too late. But there’s a lot of confusion over this, and I don’t think ARC will help much if you don’t understand the why … Continue reading
You can annotate your sources for better clang results. Best use is probably to specify that certain parameters to your functions can’t be nil/null. (via Peter Hosey on Twitter.)
Dave Dribin (now of Apple): Fun with C99 Syntax. From May 2010, but I missed it then: C99 offers a better syntax than NSMakeRect.
Martin Pilkington (Code Collector Pro) on Objective-C 2.2 features. He covers the code reduction features of the new runtime. These are coming to “modern” Apple runtimes, meaning 64-bit Mac and iPhone.
Matt Gallagher (Cocoa with Love): Control and configuration of applications through Info.plist. I hadn’t heard of UIRequiresPersistentWiFi before, so this will be helpful to me.
James Thomson (PCalc): How to make your iPhone application start faster
Three20
I downloaded the latest version of Three20 today by Joe Hewitt. I read through some of the code and ran through the included “catalog” demo. If you’ve used the Facebook application, you’ve seen early versions of a lot of these … Continue reading
John Casasanta (Tap tap tap) on the impact of the iPhone 3GS RAM increase. Pretty memory usage graphs.
NSURL synchronous requests
Can’t verify this yet, but something I want to investigate later: Chris Parker (who “works for a fruit company in Cupertino”) via Twitter: Hey iPhone devs: sending synchronous requests via NSURL on the main thread is a good way to … Continue reading