A Story About Swizzling "the Right Way™" and Touch Forwarding
Learn why traditional method swizzling breaks UIKit's touch forwarding and discover a better approach that preserves _cmd integrity.
Learn why traditional method swizzling breaks UIKit's touch forwarding and discover a better approach that preserves _cmd integrity.
Explore how Apple detects popover presentation in UIImagePickerController and learn to bypass the restriction using my Aspects library.
Fix the severe scrolling and content positioning bugs in iOS 7's UITextView with PSPDFTextView, a drop-in replacement.
Fix the misaligned label in iOS 7's printer controller by swizzling UIPrinterSearchingView's layoutSubviews method.
Learn how to inspect view hierarchies of third-party iOS apps using a jailbroken device and debugging tools like Reveal for design insights.
Fix the broken animation, frame positioning, and status bar issues in UISearchDisplayController on iOS 7 with this comprehensive solution.
Eliminate delegate boilerplate code in Objective-C using NSProxy to automatically handle respondsToSelector checks and method forwarding.
Add keyboard shortcuts to UIAlertView and UIActionSheet for faster simulator testing by intercepting keyboard events with Enter and Escape keys.
Learn the best approach to center content in UIScrollView using contentInset instead of layoutSubviews or setContentOffset for better zooming behavior.
Learn how to properly implement UIAppearance in custom views, including important gotchas about setter tracking and initialization patterns.