BJ Homer

I work on Day One, a great journaling app. I mostly write about code and about my religion. I'm @bjhomer on Twitter.

  • Whose Lives Matter?

    In 1838, Missouri governor Lilburn Boggs issued the “Extermination Order” in response to rising tensions between incoming Mormon settlers and local residents. It read, in part: The Mormons must be treated as enemies, and must be exterminated or driven from the state if necessary for the public peace. The order authorized violent force in removing Mormons…

    bjhomer

    June 3, 2020
    Uncategorized
  • How to get Civilization 6 turn notifications on your iPhone

    The Feb 2019 update to Civilization VI added support for multiplayer “Play by Cloud” games. These are long-running asynchronous games where the save file lives on the cloud and everyone take their turn when it comes up. It’s useful to be notified when it’s your turn to keep the game moving. Steam has desktop notifications…

    bjhomer

    March 3, 2019
    Uncategorized
  • Paid Upgrades in the App Store

    App developers are increasingly turning to subscriptions to build a sustainable business model. This is understandable; the economics of a one-time-purchase business model favor short-lived apps and games, but building a high-quality app requires ongoing revenue. However, many consumers are feeling “subscription fatigue”. Each subscription may seem reasonable on its own, but subscriptions add up…

    bjhomer

    September 6, 2017
    Uncategorized
  • A U.S. analogy of the Brexit situation

    Confused about the “Brexit” situation? Here’s how it might go down if the United States were actually the United Kingdom. The Tea Party hates being part of the European Union because they have to pay a bunch of money, the EU gets to make some laws that affect the US, and immigrants can come in…

    bjhomer

    June 29, 2016
    Uncategorized
  • Swift Protocols constrained to a specific class

    Update: As of Swift 4, this is supported natively. Just do this: That’s it! Objective-C developers learning Swift often wonder how to represent something like UIViewController. The simple answer is that there’s currently no way to directly represent that construct in Swift as of Swift 2.2. However, it’s possible to work around it fairly easily…

    bjhomer

    June 7, 2016
    Uncategorized
  • Thoughts on WWDC 2015

    In my mind, these are biggest developer-facing announcements to come out of WWDC 2015: iPad Multitasking UI Testing and Code Coverage in Xcode 7 Swift 2 Swift as an Open-Source language App Thinning Watch OS 2.0 with on-device apps CloudKit Web Services Free iOS provisioning Note that these aren’t changes in the SDK itself. Developers…

    bjhomer

    June 15, 2015
    Uncategorized
  • Defining Modules for Static Libraries

    Preview: I figured out how to define modules for static libraries, so you can import them into Swift or into other module-defining frameworks. This solves a common build error: “include of non-modular header inside framework module“, as it allows you to turn that non-modular header into a modular one. You just have to define a…

    bjhomer

    May 3, 2015
    Uncategorized
  • Mutable collections in Swift

    I recently came across this question on Twitter: Hey #swiftlang peeps: How do you create an var that holds an immutable Array? As in a var that you can assign different immutable Arrays to?— Mike R. Manzano (@bffmike) October 17, 2014 This is an interesting question. As a developer coming from Objective-C and the Cocoa…

    bjhomer

    October 19, 2014
    Uncategorized
  • NSScrollView and Autolayout

    So, you’ve got an NSScrollView, and you want to add some content that is sized via auto layout constraints. Perhaps you found the “Auto Layout by Example” documentation in the Mac developer library, and discovered that though it contains a section titled Using Scroll Views with Auto Layout, the example is actually for UIScrollView, not NSScrollView.…

    bjhomer

    August 8, 2014
    Uncategorized
  • Mormon Questions: Temples

    A couple weeks ago, my brother was married in the temple in Bountiful, Utah. Temples are an important part of my beliefs as a member of the Church of Jesus Christ of Latter-Day Saints, so I thought I’d take some time to explain what they’re about and answer some common questions. First, though, a brief…

    bjhomer

    August 6, 2014
    Uncategorized
1 2 3 4
Next Page

Blog at WordPress.com.

  • Follow Following
    • BJ Homer
    • Already have a WordPress.com account? Log in now.
    • BJ Homer
    • Edit Site
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar