The Dangling Pointer
  • Home
  • About
Sign in Subscribe

code

A collection of 2 posts
apple

Even Apple Leaves TODOs in Production Code

My credit card got charged today for my Apple Watch which wasn't supposed to ship until June. I was so excited that I tweeted the shipping notification to sarcastically note the availability in June still. Copying that text into a tweet, I actually got: Preparing for Shipment TODO:
22 Apr 2015 1 min read
blocks

NSNotificationCenter Block-based Observer

Back in iOS 4, a nifty block-based observer method was added to NSNotificationCenter: * (id)addObserverForName:(NSString *)name object:(id)obj queue:(NSOperationQueue *)queue usingBlock:(void (^)(NSNotification *))block; Super convenient, right? I love using blocks to pass simple callbacks to controllers instead of creating a delegate protocol. There is a catch
17 Dec 2013 1 min read
Page 1 of 1
The Dangling Pointer © 2025
  • Sign up
Powered by Ghost