Tag Archives: cocoa

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

Posted in Technology | Tagged , , | Comments Off

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.)

Posted on by Steven Fisher | Comments Off

Dave Dribin (now of Apple): Fun with C99 Syntax. From May 2010, but I missed it then: C99 offers a better syntax than NSMakeRect.

Posted on by Steven Fisher | Comments Off

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.

Posted on by Steven Fisher | Comments Off

Cocoa With Love (Matt Gallagher): Memory and thread-safe custom property methods

Posted on by Steven Fisher | Comments Off

Matt Gallagher (Cocoa with Love): Safe, threaded design and inter-thread communication

Posted on by Steven Fisher | Comments Off

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.

Posted on by Steven Fisher | Comments Off

Matt Gallagher: Rules to avoid retain cycles

Posted on by Steven Fisher | Comments Off

I knew about Quartz Debug.app , but hadn’t heard of NSShowAllDrawing. Sounds more practical.

Posted on by Steven Fisher | Comments Off

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

Posted in Technology | Tagged , , , , | Comments Off