Petersteinberger - petersteinberger.com - Peter Steinberger
General Information:
Latest News:
Smart proxy delegation 30 Jul 2013 | 09:28 pm
When calling optional delegates, the regular pattern is to check using respondsToSelector:, then actually call the method. This is straightforward and easy to understand: Now, this used to be 3 lines...
Adding keyboard shortcuts to UIAlertView 7 Mar 2013 | 03:38 am
I’m not even home from the more than excellent NSConference in Leicester, but had to hack on something super awesome that Evan Doll of Flipboard presented earlier today. They added keyboard support to...
How to center content within UIScrollView 21 Feb 2013 | 04:07 pm
There seems to be quite some confusion around the net when it comes to the best way to center a view within an UIScrollView. And it’s actually not that easy to get right. In PSPDFKit v1 I used the Ap...
UIAppearance for Custom Views 12 Feb 2013 | 06:31 pm
UIAppearance hardly is a new technologly since it was first introduced at WWDC 2011, but it still doesn’t have the adoption it deserves (guilty as charged here as well). Since now most apps are IOS5 o...