This maintenance release for DTFoundation fixes our block-based action sheet and alert view for iOS 8 GM.
This is an enhancement request that came to me when pondering how to execute code following the dismissal of a modal view controller. It’s filed as rdar://17915792 and on Open Radar.
While working on an additional section for my book, I encountered a tricky situation. Pause for a moment and ponder how you would solve this: You present a modal view controller. Some action within it communicates via delegate to the presenting view controller and this dismisses it. You need to present a new modal view controller right after the first one has animated out.
When integrating your own CocoaPods into your apps you often find some things you’d like to tweak in your component from within the app project/workspace. This would allow you to immediately test the fix in the context of the app. This blog explains how to work with Development Pods which allow you to do exactly that.
How would you – most elegantly – crop out the center square of an image, preserving the aspect ratio and output the image with a given size?
That’s a good question. There is a “classic” and a “modern” method to achieving this.