Posts
All the articles I've posted.
-
Hacking with Aspects
Published:• 3 min readExplore how Apple detects popover presentation in UIImagePickerController and learn to bypass the restriction using my Aspects library.
-
Fixing UITextView On iOS 7
Published:• 2 min readFix the severe scrolling and content positioning bugs in iOS 7's UITextView with PSPDFTextView, a drop-in replacement.
-
Fixing What Apple Doesn't
Published:• 2 min readFix the misaligned label in iOS 7's printer controller by swizzling UIPrinterSearchingView's layoutSubviews method.
-
How To Inspect The View Hierarchy Of Third-Party Apps
Published:• 3 min readLearn how to inspect view hierarchies of third-party iOS apps using a jailbroken device and debugging tools like Reveal for design insights.
-
Fixing UISearchDisplayController On iOS 7
Published:• 1 min readFix the broken animation, frame positioning, and status bar issues in UISearchDisplayController on iOS 7 with this comprehensive solution.
-
Smart Proxy Delegation
Published:• 4 min readEliminate delegate boilerplate code in Objective-C using NSProxy to automatically handle respondsToSelector checks and method forwarding.
-
Adding Keyboard Shortcuts To UIAlertView
Published:• 3 min readAdd keyboard shortcuts to UIAlertView and UIActionSheet for faster simulator testing by intercepting keyboard events with Enter and Escape keys.
-
How To Center Content Within UIScrollView
Published:• 3 min readLearn the best approach to center content in UIScrollView using contentInset instead of layoutSubviews or setContentOffset for better zooming behavior.
-
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.