BuySellAds.com

Until Dec 3rd, 44% off all Manning books, including Barcodes with iOS! Promo code: mobicftw
Our DNA is written in Objective-C
Jump

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

DTCoreText 1.6.11

In the 3 months since the previous release quite a few things happened on the development branch of DTCoreText. Additionally there were some issues related to iOS 7.1 and Xcode 5.1 that needed urgent addressing. Even though there are a few new features I decided to go with a bug fix version number. This way if somebody is using DTCoreText via CocoaPods and has the the version restricted to 1.6.x he gets all the critical fixes.

Read more

DTDownload 1.1

This minor update to DTDownload adds a new feature: DTDownloadQueue now has a download priority.

Read more

DTChartView 2.1

DTChartView is the very first component that I ever sold. Just like with the recent update to DTCalendarView there are still some stubborn users, so I finally brought it into the present.

Read more

DTCalendarView 2.1

DTCalendarView is one of the very first components I started selling on the Cocoanetics Parts Store and the last update to it was 3 years ago. Because it still has a few stubborn users who love it (despite the dated iOS look), I updated it for iOS 7, 64 bit and fixed the warnings of Xcode 5.1.

Read more

DTFoundation 1.6.2

This maintenance release addresses a few minor build issues with the new Xcode 5.1.

Read more

Printing to Thermo-Labels

A few days ago I largely finished chapter 5 of my book where I explain how to print a sheet of QR stickers as well as individual serial number barcodes to roll-feed printers. The latter is a new capability of iOS 7 and extremely useful if all you want to print is a single label. This is why I picked the use case of a serial number barcode for my book. The assumption for the sample app is that you want to print a single serial number as Code 93 which you would stick to the back of some corporate IT hardware item.

Read more