top
about archive search zqueue.com
Matt Gallagher: Cocoa with Love Matt Gallagher: Cocoa with Love
  • 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...
  • Article updates, 2018 edition

    Oct 9, 2018

    After a look at headaches due to Xcode 10's new build system, this article will largely be a log of changes to Cocoa with Love content, in reverse chronological order, as I go back through all my Swift articles and make sure everything is up-to-date for Swift 4.2, Xcode 10, iOS 12 and mac OS 10.14.
    Read more...
  • A Farewell to StreamToMe

    Sep 4, 2018

    Last night, I removed my app StreamToMe from the iOS App Store, after 9 years on sale. This will be a discussion about what it's like to have an app on the App Store that is financially successful but eternally problematic, from a support and maintenance perspective. I'll talk about why I lost interest in StreamToMe and, at times, deliberately neglected my own product. Finally, I'll talk about why I've decided to simply pull it from the store – not open source it or sell it – even though it still works for many people. .
    Read more...
  • Model-View-Controller without the Controller

    Jan 20, 2018

    The upcoming CwlViews library offers a syntax for constructing views that has a profound effect on the Cocoa applications, making them naturally 'unidirectional' and eliminating the need for `UIViewController` subclasses. In this article, I look at what the Cocoa application design pattern becomes if we take away the need for a controller.
    Read more...
1 2 3 4 5 6 7 8 9 Older →
  • Subscribe: RSS or JSON
  • Twitter: @cocoawithlove
  • Github: mattgallagher

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