June Bash
bluesky mastodon github bandcamp
JuneBash.com | code music about posts now
Entries tagged :: swift.
  • 2025-01-26

    Task Management in Swift — Part 3: Duplicate Key Behavior

  • 2025-01-25

    Task Management in Swift — Part 2: Introducing the TaskStore

  • 2025-01-25

    Task Management in Swift — Part 1: The Problem

  • 2021-05-29

    Multiple Conformances to Codable in Swift

    (Note: This post uses Swift 5.4 and the iOS 14 SDK)

    There may be some circumstances where you want to encode/decode a model in multiple ways, depending on certain conditions or use-cases. There's a lot of potential solutions to this problem. Here's some of them.

    …
    Read more ⟶
  • 2020-10-27

    Functional, Composable Swift Styles With UIKit (and Beyond)

  • 2020-10-21

    Functional-izing Swift Code

  • 2020-10-15

    An Alternative Type-Erasure with Swift Using Closures

  • 2020-10-09

    Functional-izing Network Code with Swift Combine

  • 2020-10-05

    A Crash Course in Swift Combine

  • 2020-09-30

    How to Type-Erase Protocols in Swift

  • 2020-09-25

    Using "Protocol" Witnesses in Swift

  • 2020-09-23

    Lessons from Lambda School Labs

    (Note: This post uses Swift 5.2 and the iOS13 SDK)

    It's been almost exactly a year since I started taking classes at Lambda School, and now I'm on the cusp of completing my time there and starting my job search in earnest (hit me up if you know a place!). As part of completing my "endorsement" (aka graduation), I need to write a "what I learned at school today"-style article. Once again you can probably read my hint of snarkiness, but also, again, I think this is a potentially useful exercise.

    …
    Read more ⟶
  • 2020-08-06

    Using the Coordinator Pattern in iOS13+

  • 2020-07-29

    Testing Code Challenge Solutions in Swift

  • 2020-07-22

    Optional Protocol Methods & Properties in Swift

  • 2020-07-15

    Non-Generic Initializers on Generic Types in Swift

  • 2020-06-24

    Creating Conway's Game of Life in Swift

  • 2020-06-04

    Refactoring Bloated Functions

  • 2020-03-09

    Abstracting Away Your Persistence with Swift

  • 2020-01-26

    Writing an Atomic Property Wrapper in Swift

    (Note: This post uses Swift 5.1.)

    This weekend I was working on a framework for fetch operations, and was wanting an easy way to make access to a property atomic in order to prevent race conditions where multiple things try to access or change something at the same time, which could cause all sorts of issues.

    After doing a bit of research, this ended up being a two-step process, but in the end it makes both creating and accessing this property easy and succinct.

    …
    Read more ⟶
  • 2020-01-02

    Super Countdown Tracker: Sorting and Filtering Objects in Swift

    Happy New Year! I realized recently that I haven't written in awhile and I never really wrote about Super Countdown Tracker, so I'm now taking care of both of those things.

    …
    Read more ⟶
  • 2019-09-27

    Why Lambda School?


Made with love by June and Claude using Zola
View source code
© 2025 June Bash