Core Data Backups, Redux
Mar 28, 2021, 8:00 PM
This is the second of two posts following up on my earlier post about backing up and restoring Core Data.
My past post covered the difficulty of learning how to use mostly-undocumented framework methods, specifically about a Core Data...
Mar 24, 2021, 8:00 PM
Last year I wrote about backing up and restoring Core Data. Recently Arnaud Joubay messaged me to ask about it. I used a method called migratePersistentStore(...) to duplicate a persistent store. Arnaud asked why I had not used a similar...
Backing up Core Data Stores
May 25, 2020, 8:00 PM
Today we’re going to travel back in time a little with Core Data. Or at least find out how your app can do so. What if you want to make a backup copy of your app’s data? What if you want to restore from that backup later on?...
Adding thumbnails with PDFKit
Apr 14, 2020, 8:00 PM
Today I’m continuing with some ideas from my recent post about using PDFKit. In that post I was using a custom PDF view for an app that would work something like a basic slide presentation app.
Part of that was adding a thumbnail...
JSON vs Property Lists, Revisited
Mar 2, 2020, 7:00 PM
In a previous post I wrote about How JSON compares to Apple property lists and the obstacles to converting data between them. That was a while ago but the post is still accurate, as far as it goes. But Swift changes the situation in some...
Getting started with PDFKit
Feb 25, 2020, 7:00 PM
In my post about my custom presentation slide app I mentioned that because of time constraints, I decided against doing my own slide layout. Instead I’d do that in DeckSet, export my slides to PDF, and show the PDFs in my app.
Interactive Presentation Slides at 360iDev
Jan 27, 2020, 7:00 PM
This is a story of how a trip to a karaoke bar led to me writing my own app to display presentation slides. Of how a user interface that allows live smartass comments led to me being completely nerd sniped until I was able to do something...
Better logging with Emoji
Jan 16, 2020, 7:00 PM
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...
Return to Independence
Jan 13, 2020, 7:00 PM
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...
BombBomb in the Gazette
Nov 3, 2017, 8:00 PM
The Colorado Springs Gazette just did a nice feature article about BombBomb, the place where I write apps these days. The best part (for me) is that the lead photo shows Conor McCluskey (our CEO) showing off an iMessage extension I wrote...
Data Detection in Swift
Oct 24, 2017, 8:00 PM
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,...
Migrating from Dropbox
Nov 9, 2016, 7:00 PM
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...
Date Math is Hard, Let's Do it Tomorrow
Nov 5, 2016, 8:00 PM
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–...
My other blog
Sep 8, 2016, 8:00 PM
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.
As some of you are aware, when...
Stump 360 Questions, 2015
Aug 11, 2016, 8:00 PM
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...
Stump 360 III: The Search for Stump
Aug 11, 2016, 8:00 PM
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,...
Using Stack Views in Table Cells
Aug 3, 2016, 8:00 PM
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...
Flexible UI Design with UIStackView
Jul 27, 2016, 8:00 PM
As I mentioned in my last post, last week I did a talk at iOSDevCamp DC where I talked about UIStackView, a relatively new UIKit class that’s my new favorite thing in iOS development. I’m going to cover some of the more useful...
UIStackView talk at iOSDevCamp DC
Jul 25, 2016, 8:00 PM
Last week I did a talk at iOSDevCamp DC, an annual event hosted by Luis de la Rosa. I talked about UIStackView, under the admittedly grandiose title of “Mastering UIStackView”. I’ve used stack views for a number of things...
Dates and Data Models
Feb 24, 2016, 7:00 PM
Just use NSDate, right? The obvious choice for handling dates in iOS and OS X apps is NSDate. It’s obvious, right? It’s got “date” right in its name, doesn’t it?
And that’s the thing about NSDate....
File Coordination Fixed!
May 17, 2015, 8:00 PM
I wrote a post a few months ago about sharing data between iOS apps and app extensions in which I recommended using NSFileCoordinator and NSFilePresenter. But I had to update the post to remove that portion when some helpful people pointed...
Swift Generators and Sequences
Mar 22, 2015, 8:00 PM
A large part of the Swift Standard Library is concerned with Generators, Sequences and Collections and functions that operate on them, so it’s pretty important to have a good understanding of them.
I was going to write a blog post about...
Using Core Data with Swift
Mar 15, 2015, 8:00 PM
Over the past month or so I’ve been diving into Swift, after many years of working with Objective-C on Macs and iOS. It’s been a change but, gradually, I’m learning the Swift way of doing things. On the way I’ve run...
Sharing data between iOS apps and app extensions
Nov 19, 2014, 7:00 PM
Since iOS app extensions run as part of a host application rather than as part of their containing app (i.e. your app’s extensions run in somebody else’s app), data sharing isn’t automatic. Finding standard locations like...
iOS 8 App Extension Demo
Nov 18, 2014, 7:00 PM
iOSDevCamp Colorado was a couple of weeks ago and I did a presentation/demo on iOS app extensions. I wanted to focus on how to actually do things, so mostly I worked in Xcode rather than present from slides. But rather than paste code in...
iOS 8 App Extension Development Tips
Oct 2, 2014, 8:00 PM
Recently I’ve been working on some iOS 8 app extensions, and I’ve run into a few non-obvious details that might come in handy for anyone else in the same situation. Some of the following relates to bugs still in the system, and...
CloudKit: Moves like Azure
Jun 16, 2014, 8:00 PM
After my past travails using iCloud with Core Data, I was both interested and concerned when Apple announced CloudKit at WWDC 2014. In this post I’m going to go over what Apple has planned for CloudKit from the perspective of someone...
[objC autorelease]; t-shirts
Jun 9, 2014, 8:00 PM
At WWDC 2014 Apple introduced Swift, a new programming language for iOS and OS X developers. Objective-C has had a long and distinguished run with Apple, but times change and we move on. In recognition of this, and in reference to the...
Making your own Passbook Business Card
Jun 8, 2014, 8:00 PM
My Passbook and iBeacon enabled business card was something of a hit at WWDC last week. Some people wanted more detail on how it worked or how to create their own version. This post describes the process, from the perspective of a software...
Passbook and iBeacon for a 21st Century Business Card
May 29, 2014, 8:00 PM
I’ll be in San Francisco during WWDC next week (though without a ticket). This is the only time of year I ever think about business cards, and this year I decided that paper business cards suck and it was time to do something...
Apr 11, 2014, 8:00 PM
Last year I did a series of posts here where I ran through problems I had encountered with Core Data’s iCloud integration, with various solutions and workarounds I had been able to devise. Then iOS 7 and Mac OS X 10.9 came out with...
Probably Approximately Correct Location for iOS
Oct 27, 2013, 8:00 PM
If you’re writing an iOS app and you need to know the user’s current location, the answer is straightforward: use Core Location. That fires up device GPS (when available). Apple’s A-GPS combines this with things like...