NSBlog
"A failure in the hot air department"
Showing entries tagged "arc". Full blog index.
Friday Q&A 2014-05-09: When an Autorelease Isn't
at 2014-05-09 13:59
Welcome back to another Friday Q&A. I apologize for the unannounced hiatus in posts. It's not due to anything interesting, just a shortage of time. Friday Q&A will continue, and I will continue to aim for my regular biweekly postings. For today's article, I have a little story about an
autorelease
call that didn't do what it was supposed to do.Friday Q&A 2012-06-01: A Tour of PLWeakCompatibility: Part II
at 2012-06-01 13:38
Last time, I discussed the basics of PLWeakCompatibility in terms of the motivation, the basic hooks used to get the compiler to call our code when handling
__weak
variables, and calling through to the original implementations where available. Today, I'm going to discuss the implementation of the zeroing weak reference facility that gets used when the runtime doesn't supply its own __weak
support.Friday Q&A 2012-05-18: A Tour of PLWeakCompatibility: Part I
at 2012-05-18 16:53
A few weeks ago, I introduced
PLWeakCompatibility
. This is a small library that can be dropped into an app to enable use of the __weak
qualifier on OSes that don't support it. ARC is officially supported on Mac OS X 10.6 and iOS 4, but __weak
is only available on 10.7 and iOS 5. PLWeakCompatibility
adds support for __weak
on those older OSes when using ARC. Today I'm going to discuss how PLWeakCompatibility
works on the inside.Introducing PLWeakCompatibility
at 2012-03-31 03:09
As a way of atoning for the lack of a Friday Q&A today, I'm pleased to introduce PLWeakCompatibility. Do you like ARC? Do you need to support older OS releases? Do you wish you could use
__weak
variables on those older OSes? If so, then I have good news for you! PLWeakCompatibility is the solution you've been looking for.Buy Videos of My VTM Presentations
at 2012-01-09 16:52
I gave two presentations at the Voices That Matter conference in Boston in November. Both presentations were recorded and the videos are now available for purchase. And as a special present for my readers, you can get 35% off!
Friday Q&A 2011-09-30: Automatic Reference Counting
at 2011-09-30 15:02
Since the moment Apple announced it, readers have asked me to write about Automatic Reference Counting, or ARC. Today is the day. I'll talk about Apple's new memory management system, how it works, and how to get the most out of it.