top
about archive search zqueue.com
Matt Gallagher: Cocoa with Love Matt Gallagher: Cocoa with Love
  • App architecture basics in SwiftUI Part 4: Services

    Mar 23, 2021

    This article is about adding a separated Services-layer to an app. A Services-layer is, in my opinion, the single best app architectural addition you can make, after the basic Model-View separation already implicit in SwiftUI.
    Read more...
  • App architecture basics in SwiftUI Part 3: Module-separated layers

    Feb 12, 2021

    Slicing an app into modules is the best organizational step you can make. It's a step you should take before you choose to make any other deliberate architectural choice.
    Read more...
  • App architecture basics in SwiftUI, Part 2: SwiftUI's natural pattern

    Jan 19, 2021

    I'll look at the pattern that application architectural pattern that emerges naturally when writing SwiftUI apps in a minimalist way. I'll also look at the different roles that exist in the basic SwiftUI application architecture.
    Read more...
  • App architecture basics in SwiftUI, Part 1: Coding through iteration and integration

    Dec 31, 2020

    I'm going to write a JSON feed reader app in SwiftUI and focus on writing the app through small, incremental additions.
    Read more...
  • 22 short tests of combine – Part 3: Asynchrony

    Aug 18, 2019

    This article will be the final third of my investigation, looking at sequencing and threading in Combine; what guarantees does Combine offer for thread safety and delivery order. I'll finish up with a quick look at Combine's performance.
    Read more...
  • 22 short tests of combine – Part 2: Sharing

    Aug 17, 2019

    This middle third of the investigation will span a trio of topics: sharing computation, shared reference lifetimes and sharing subscribers.
    Read more...
  • 22 short tests of Combine – Part 1: Protocols

    Aug 16, 2019

    This article will be the first third of my investigation into Combine, covering an effort to re-implement the three key protocols of Combine: `Publisher`, `Subscriber` and `Subscription`
    Read more...
  • First impressions of SwiftUI

    Jun 8, 2019

    This article will look at how SwiftUI's approach to declarative views compares to CwlViews, why the two approaches differ and what Apple changed to make this possible. I'll end with some thoughts about how this will affect macOS and iOS development.
    Read more...
  • Declarative Views

    May 3, 2019

    In this article, I'll look at the the biggest problem with non-declarative views and how frameworks have slowly become more declarative, over time. I'll take a guess at what approach a declarative view framework from Apple might use – although keep in mind, I have zero insider knowledge and there's only a month before WWDC proves how wrong I am.
    Read more...
  • Introducing CwlViews

    Apr 28, 2019

    CwlViews is a library that offers declarative construction for all common iOS and macOS view and application objects. The result hides many of the busywork tasks that consume much of Cocoa application programming, leaving behind a highly concise, declaratively constructed, view-state driven, reactively connected experience.
    Read more...
1 2 3 4 5 6 7 8 9 Older →
  • Subscribe: RSS or JSON
  • Twitter: @cocoawithlove
  • Github: mattgallagher

© 2008-2021 Matt Gallagher. All rights reserved.
Code may be used in accordance with license on About page.
If you need to contact me: