Posts
All the articles I've posted.
-
UIAppearance for Custom Views
Published:• 4 min readLearn how to properly implement UIAppearance in custom views, including important gotchas about setter tracking and initialization patterns.
-
Hacking Block Support Into UIMenuItem
Published:• 12 min readImplement block support for UIMenuItem by swizzling the responder chain to enable cleaner API patterns.
-
Using Subscripting With Xcode 4.4 And iOS 4.3+
Published:• 2 min readUse Objective-C's modern subscripting syntax with Xcode 4.4 and iOS 4.3+ through a clever header-only hack that enables array[index] notation.
-
Pimping recursiveDescription
Published:• 2 min readEnhance UIView's recursiveDescription to clearly show view controller hierarchies and containment relationships for easier debugging.
-
NSURLCache Uses A Disk Cache As Of iOS 5
Published:• 3 min readDiscover how NSURLCache in iOS 5 now automatically implements disk caching to a SQLite database based on Cache-Control headers.
-
Moving On... Or How Waiting For A Visa Was The Best Thing That Ever Happened To Me.
Published:• 4 min readAfter months of waiting for a US visa, I share my journey from freelance to full-time indie developer and the creation of PSPDFKit.
-
Don't Call willChangeValueForKey Unless It's Really Needed
Published:• 4 min readLearn why willChangeValueForKey and didChangeValueForKey are unnecessary when using setter methods for KVO in Objective-C.
-
Reboot
Published:• 1 min readThis post marks the reboot of my blog where I plan to share iOS development insights and personal thoughts.