• Raspberry Pi Birdhouse Software

    In my last post I went over the components of the bird house camera I set up this year to get a better look at the local black-capped chickadees. Today I’ll talk about the software that makes it work. Initial Setup Being relatively new to Raspberry Pi, I started off with a full install of…

    Read More

  • Solar Powered Birdhouse

    In my last couple of posts I’ve talked about the hardware and software behind my birdhouse camera project. I haven’t previously covered how I’m giving it all enough power to operate, and therein lies a tale. No Power? No Problem If I had a power outlet located anywhere near the bird house, this would have…

    Read More

  • Raspberry Pi Birdhouse Camera

    My current non-app related project has taken me out into the back yard, but brought along my coding and technical experience. Given this site’s name, the project might be called the atomic birdhouse. For the past couple of years I’ve had a bird house in my yard, in which black-capped chickadees have nested and raised…

    Read More

  • Clash of the Optionals

    …or, how to accidentally break Swift initialization rules. Today I’m going to talk about optionals. Swift optionals. And also another kind of optional. And how you might break the ironclad rules of Swift without realizing it until it’s too late. What is an “optional” anyway? It depends who you ask. Swift will give you one…

    Read More

  • Core Data Using Only Code

    If you know anything about Core Data, you’re probably aware of Xcode’s built-in model editor. If you’ve used Core Data, you’ve probably spent more time with it than you care to remember. It edits the data model, which then gets compiled to a binary form Core Data can use when your app runs. Conveniently it…

    Read More

  • Stumping People for 1000* Years

    * Base 2 Last week at 360iDev I hosted the 8th edition of Stump 360. Stump is an evening event that, to my surprise as much as anyone else’s, has become a tradition at 360iDev. What is Stump 360? Stump started as an unofficial spin-off of “Stump the Experts” at Apple WWDC, which ran for…

    Read More

  • Core Data Backups, Redux

    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 method called replacePersistentStore(…). Arnaud Joubay recently messaged me to ask why I used a different approach…

    Read More

  • Mostly Undocumented

    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 method called replacePersistentStore(…) instead. He also sent me a link to a post on Apple’s…

    Read More

  • Adding thumbnails with PDFKit

    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 view with PDFThumbnailView, which ended up looking like this. PDFThumbnailView works with…

    Read More

  • Backing up Core Data Stores

    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? This won’t be mainly about data safety,…

    Read More