BuySellAds.com

My book Barcodes with iOS 7 is nearing completion. Buy it now to get early access!
Our DNA is written in Objective-C
Jump

DTFoundation 1.6.3

This maintenance update to DTFoundation fixes an issue with DTFolderMonitor. The update is available via GitHub tag or Cocoapods.

Read more

Radar: Add global prototype cells

If you like storyboards you might be wanting to use them for larger apps too. But there is source of frustration for us developers. If you have prototype cells that are identical on multiple table view controllers you cannot easily copy them. I filed a feature suggestion for adding global prototype cells.

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

Read more

DTLocalizableStringScanner 1.0

There’s been a bit of movement on our open source replacement for genstrings. So I figured it would finally be deserving of getting the same treatment as all our other popular repos: automated unit testing, coverage tracking, releases via CocoaPods.

Because of the unwieldy name I refer to it as genstrings2 and it provides the scanning functionally for the Linguan Mac app which was acquired by Peer Assembly.

Read more

Unwinding

You know the story: you have an app laid out as storyboard, want to show a modal view controller and when the user is done with it it you want to dismiss it, … or un-present it, or whatever you need to get rid of the modal VC and return. Now what about a view controller that can be both presented modally or via push onto a navigation controller?

Then it starts to get complicated. Unless you know about how to unwind. It’s actually quite awesome, but you have to use it several times because it is a little bit counter-intuitive how to implement unwinding. I’m writing this tutorial so that I myself can remember how to do it in the future.

Read more

Deal of the Day

My publisher Manning  is highlighting 3 of their iOS titles on April 11, all three are the “Deal of the Day” meaning that you get 50% off with promo code “dotd041114au” if you purchase them on this day.

Read more

New Affiliations

Manning’s affiliate system iDevAffiliate didn’t have a disaster recovery plan. So it hit them very hard – and all their clients – when their server colocation provider decided to physically move their server to a different state.

Read more

Book Updated!

Barcodes and iOS 7

Readers of my book get good news today! My publisher Manning released version of the MEAP-version of the book.

Previously available chapters 1 through 3 have been reworked based on the feedback several reviewers gave. There were some tough requests which I just couldn’t fit into the style of the book. But for the most part the book has become much better for it.

If you haven’t pre-ordered the book via Manning’s Early Access Program (MEAP) then please do so today!

Read more

M7 Pedometer

Apple’s iPhone 5S features a dedicated motion coprocessor, dubbed the “M7″. Probably because the M stands for Movement/Motion similar to the A in “A7″ standing for … um, Apple. This coprocessor collects and analyzes data from multiple iPhone sensors and determines two interesting pieces of information:

  • the motion activity state of its user (car, walking, running, standing still) ad hoc and history
  • the number of steps taken ad hoc and history

Let’s build a functional pedometer app so that we can learn about and explore the latter.

Read more

Radar: AV Foundation wastes energy processing Audio even if not captured

For my book I wanted to see if there is a way to see the performance impact of various settings. So I launched the Energy Diagnostics instrument for the first time. I was not able to conclusively demonstrate the impact of any capture setting, but I did see something odd. Even though my barcode scanner sample app does not have any need for audio data AV Foundation appears to insist on capturing and processing it.

As the energy diagnostics performance instrument indicates, this causes energy usage for “Audio Processing” even though for the purpose of scanning barcodes audio is not needed. In the least developers should be able to indicate to iOS that they have no use for audio processing so that the system can conserve this energy.

This bug report is filed as rdar://16389364 and on Open Radar.

Read more

Radar: Make Aztec and PDF417 Core Image generators public

There are 3 generators in Core Image for 2D barcodes, but only the one for creating QR codes is documented. So I filed a bug report suggesting that the documentation was “missing”. I also sent an email to the responsible Apple evangelist.

The response I got from Apple was that if something was not documented it is to be considered private. The bug report about adding the documentation for Aztec and PDF417 was closed.

Read more