Ad

Our DNA is written in Swift
Jump

Book in Production

I’m happy to report that my book Barcodes with iOS has entered the production stage. Over the past few weeks I had some back and forth with a tech proofer, my developmental editor as well as a copy editor. A few minutes ago I had a meeting where we discussed the transition into full on production. A few virtual high fives were in order.

Read more

Radar: Xcode fails to update inline help from documentation comments

When researching documentation comments for a talk I’ll be giving at a conference I got stumped by this issue with Xcode 6.0.1. When I created a fresh project the documentation popup would be instantly updated, but when changing documentation in my larger projects (e.g. DTFoundation or DTCoreText) the updated would never happen.

Filed as rdar://18394363 and on Open Radar.

Read more

DTRichTextEditor 1.6.8 + DTLoupe 1.5.5

This update for DTRichTextEditor and DTLoupe hot fixes an issue with loupe rotation under iOS 8.

Read more

DTFoundation 1.7.3

This maintenance release for DTFoundation fixes our block-based action sheet and alert view for iOS 8 GM.

Read more

Radar: Transition Coordinator set too late to be useful for unwind segues

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.

Read more

Dismissal Completion Handler

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.

Read more

DTDownload 1.1.1

This maintenance update for DTDownload fixes a dependency clash with DTFoundation and contains several minor fixes.

Read more

Development Pods

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.

Read more

DTFoundation 1.7.2

This maintenance update for DTFoundation fixes a slew of warnings that appear building for iOS 8 only or with Xcode 6.

Read more

Square-Cropping Images

Christian asks:

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.

Read more