← Back to Peter Steinberger

Peter Steinberger

Founder of PSPDFKit. iOS/macOS developer exploring AI-powered development tools and agentic workflows.

https://steipete.me

Articles - Page 5

Swifty Objective-C

Modern Objective-C adopts Swift-like features: nullability annotations, generics, and syntax improvements.

Surprises with Swift Extensions

Swift extensions on Objective-C classes can cause unexpected method naming issues. Learn common pitfalls and how to avoid them.

Using ccache for Fun and Profit

Learn how to use ccache to dramatically speed up C/C++/Objective-C compilation times in large iOS projects and CI systems.

Researching ResearchKit

Apple's ResearchKit open-source project reveals useful iOS development techniques and implementation insights for developers.

UIKit Debug Mode

Access hidden UIKit debugging tools by bypassing Apple's internal checks to enable secret flags for logging touches, gestures & animations.

Hacking with Aspects

Shows how to use the Aspects library to bypass Apple's restrictions on UIImagePickerController popover detection.

Fixing UITextView On iOS 7

PSPDFTextView is a drop-in replacement that fixes severe scrolling and positioning bugs in iOS 7's UITextView.

Fixing What Apple Doesn't

Fix iOS 7's misaligned printer label by swizzling UIPrinterSearchingView's layoutSubviews method to correct Apple's UI bug.

Smart Proxy Delegation

Use NSProxy in Objective-C to automatically handle delegate method forwarding and respondsToSelector checks, eliminating boilerplate code.

UIAppearance for Custom Views

Learn to implement UIAppearance in custom views, including key issues with setter tracking and initialization patterns.