Ad

Our DNA is written in Swift
Jump

Announcing BarCodeKit

iOS7 will have the ability to scan 1D and 2D bar codes built-in. The same is true for generating 2D bar codes. Which begs the question why Apple opted to omit support for creating 1D bar codes. (rdar://14694904)

One second hand explanation I heard was that laser-based scanners might have trouble reading 1D codes from the screen of an iPhone, whereas 2D codes require a camera anyway and therefore can be easily scanned even from a display.

While this explains the omission to a certain degree, I don’t buy it. I can think of many scenarios where you would want to print a 1D bar code, or put it into a PDF that is supposed to printed. Also, as CCD-based scanners become more prevalent they will soon be available in larger numbers than laser-based scanners.

In short, I am seeing a niche that is not being served. Thus I’m announcing BarCodeKit.

Read more

DTCoreText 1.6.4

This update for DTCoreText brings fixes and improvements of equal proportion.

Read more

DTFoundation 1.5.2

This update for DTFoundation fixes issues with DTLog and DTHTMLParser and adds a few new utility methods.

Read more

DTCoreText 1.6.3 + DTRichTextEditor 1.6.2

Two minor version updates are fixing issues in DTCoreText and DTRichTextEditor.

Update: If you have trouble building via CocoaPods please make sure that you have version 0.23 and also refresh your pod specs. I had to – once more – modify the spec to fix a build problem. Sorry for the inconvenience.

Read more

DTFoundation 1.5.1

This is a mostly a clean-up release for DTFoundation with a few interesting additions.

Read more

Block-Based Logging Replacement for NSLog

It became apparent that we should have a standard method for logging in our frameworks. Some of use are happily using Cocoa Lumberjack in product apps, but not everybody might share this test. So there was a need to have some sort of looking hooks in our shared library code. This would allow everybody to hook up his own favorite logging framework or simply use NSLog.

In this blog post I am explaining the rationale behind DTLog, new in DTFoundation as of version 1.5.1.

Read more

Monitoring a Folder with GCD

There is no notification to be gotten if the user adds or removes files to your app’s documents folder. The only way to update your list of files in that case is to monitor the folder for changes. There are several different approaches to achieve this, the traditional one being the File System Events API.

But since iOS 4 – together with GCD – Apple added a simpler method for monitoring a vnode, dispatch sources.

Read more

iOS Developer Challenge

it is very rare that I review other developer’s apps; and usually only if they make use of one of my components. But for the iOS Developer Challenge I am making an exception. This app is quite unique as it is a fun mixture of being an iOS development game and education app.

Read more

DTCoreText 1.6.2

This hot fix update of DTCoreText addresses a few issues that arose from the cleanup and reorganisation of DTFoundation 1.5.0.

Read more

DTFoundation 1.5.0

This update for DTFoundation was originally 1.4.5. But some breakage occurred from fixing the name of a sub spec. So the solution was promote that to 1.5.0. This works because DTCoreText references 1.4.4 which means that it only sees the last version of DTFoundation which still has the typo.

The main theme – besides some minor fixes – was a big clean up effort which aims to reduce the amount of unnecessary classes in the Core and UIKit sub specs, as well as rename the DTHMLParser sub-spec to DTHTMLParser.

Read more