Better logging with Emoji
Jan 17, 2020
Apple’s developer tools provide a rich variety of debugging aids. Sometimes though, it’s useful to do things the old fashioned way. With debugging, this often means just printing out data while your code runs, and then looking through the results to see what’s going on.
Some scenarios where printing debug data helps include:
When you need to check on something that happens a lot. When the mental context switching between using your app and using the debugger gets to be too much.
Return to Independence
Jan 14, 2020
Aaaaand, I’m back. It’s been a long time since I posted anything here.
Mainly this was because I worked full time for a while. I found it hard to work all day on someone else’s project, then come home and do even more blog-worthy code-related stuff. At the end of the work day I was done with code. So, this blog faded away. Back before that, in my glorious years of independence, I could find time to explore whatever technical areas caught my eye.
BombBomb in the Gazette
Nov 4, 2017
The Colorado Springs Gazette just did a nice feature article about BombBomb, the place where I write apps these days.
Data Detection in Swift
Oct 25, 2017
I have a love/hate relationship with regular expressions. I love them because they’re great for examining text to find useful information and, often, to change the text in some way. I hate them because once you get beyond basic matching, they descend into bizarre write-only code that gives me flashbacks to my days writing Perl. In extreme cases they may well endanger the universe. And so we come to one of my recent coding issues: How can I find out if a string contains a valid email address?
Migrating from Dropbox
Nov 10, 2016
Over the past year or so I’ve been trying out Resilio Sync (formerly BitTorrent Sync) as a possible alternative to Dropbox. It’s gradually improved to where I think I can rely on it. With my Dropbox subscription up for renewal in a couple of weeks, now’s the time. In this post I’ll describe how to set up Resilio to get a Dropbox-like experience.
What I want from file syncing I’ve used Dropbox for several years now.
Date Math is Hard, Let's Do it Tomorrow
Nov 6, 2016
This post is based on a lightning talk I gave at CocoaConf San Jose a couple of days ago.
It’s that time of year– the time when summer time, or “Daylight Saving Time” as we for some reason call it in the USA– is ending. That time when a developer’s thoughts turn to date math and what a pain in the ass it can be.
Why is this so hard to get right?
My other blog
Sep 9, 2016
I try to keep this blog on topic, sticking to technical posts of interest to iOS and macOS developers. So when I wanted to write about something else I set up a different blog unrelated to my business.
Stump 360 III: The Search for Stump
Aug 12, 2016
Later this month I’m hosting Stump 360 III: The Search for Stump, the third annual Stump 360. It’s part of 360iDev in Denver. It’s on August 23, 4:45pm - 6:00pm.
In case you’re not familiar with Stump 360, here’s some possibly interesting information.
Stump is sort of approximately a game with two teams, the audience and the panel. It’s a quiz/trivia style event where each team poses questions to the other in the hope of stumping them.
Stump 360 Questions, 2015
Aug 12, 2016
Here’s the list of questions asked at Stump 360 in 2015. If you’re not familiar with Stump 360, see my other post that describes it more fully
In general, Stump 360 questions can cover
Anything iOS or Apple related Especially anything covered in a 360iDev talk. Keep in mind the audience is allowed to use Google, etc, so questions shouldn’t be too easy.
These are the questions asked of the audience at Stump 360 in 2015.
Using Stack Views in Table Cells
Aug 4, 2016
One of the cool things UIStackView can do for you is make it easy to dynamically update your app’s user interface while it’s running, with smooth animations and not a lot of code. My recent talk at iOSDevCamp DC covered some techniques. Natasha the Robot wrote a couple of great posts based on my talk, and today I’m going to talk about another unexpected (to me?) use of stack views.