iOS Money TextField

Most financial apps at some point need to have a user input a monetary amount. A very common way this is handled is a widget that accepts only numeric input. As the user types, it adds the given digit to the cents field. For example, the user types 1 and it displays $0.01. Then they […]

iOS App Install Request in App

Recently I was faced with an issue where I was writing an app that could call another app using iOS’s URL scheme. An issue I ran into was how to handle the calling app not being installed. Basically, when openURL failed, I needed to ask the user if they wanted to install the app. It […]

iOS Activity Overlay

I was recently working on an iOS project and was implementing a login view. As usual, the user enters their credentials, the credentials are sent to a server for verification and, if successful, the user is allowed into the app. The problem I ran into is that the asynchronous account validation leaves the user on […]

Interop Objective-C Objects In C Using ARC

Introduction Using C functions from Objective-C is very easy but going the other way isn’t so easy. Especially with ARC which can destroy the object out from under you because C code is outside of ARC. With ARC Objective-C objects are no longer allowed in C structs for this very reason. Here is a situation […]

Preparing Music for Manual Copying Through iTunes

Like many people I prefer to manage my music collection myself instead of leaving it up to something like iTunes. Thankfully iTunes (which you must use if you have certain devices) allows manual copying of music to a device. The one real problem I have is most of my music is in the lossless FLAC […]

Binary Headers

Introduction Earlier in the year I wrote a Lua implementation of xxd -i (it’s at the bottom under the “Embedding” section). I wrote this because a few platforms I was working with didn’t support xxd. I didn’t want to attempt compiling and installing it. I had Lua installed on these platforms so it was easier […]

Service Explorer

About An Android app to list services. All services and running services can be shown. They can be filtered to search for specific services. Detailed information about a service is available. This app is particularly useful for debugging when creating an app that provides an exported service. This makes it easy to see if the […]

s2n Memory Hardening Analysis

Recently Amazon.com introduced s2n as a new TLS implementation. The idea is to have a small and simplified TLS library. Looking at it I noticed it’s very Linux centric. It cannot be compiled on Windows. There are patches to make it work on OS X. There is a report that it works on FreeBSD but […]

Leaving Sigil in the Hands of New Maintainers

As of today I’m retiring from being part of Sigil. Nothing nefarious just lack of time (mainly) and motivation. This doesn’t mean the end of Sigil. Kevin Hendricks and Doug Massay have been working on Sigil with me for months now. I’m leaving it in their very capable hands. To accommodate this transition I’ve created […]