PinnedScott MatthewmanBe More GARY: Upping your RSpec gameImprove your test code by moving away from the DRY principle·11 min read·Feb 19, 2024----
Scott MatthewmanCreating a CSV Export library for Swift (Part 1)Hand-rolling a strongly-typed CSV export syntax from scratch·6 min read·Jan 3, 2024----
Scott MatthewmaninGeek CultureModelling an optional attribute with SwiftUI pickersHow to express “none of the above” without reaching for custom code·6 min read·Dec 3, 2021----
Scott MatthewmanDismissing SwiftUI modal views in iOS 15 and macOS 12This post discusses changes to SwiftUI first revealed at WWDC 2021 and are still in beta, so are subject to change.·4 min read·Jun 11, 2021----
Scott MatthewmaninGeek CultureBuilding a login screen using modal views in SwiftUICreating a dummy view that prevents users from accessing your app until they log in is quick and easy using ‘full screen cover’ modal…·10 min read·May 22, 2021--1--1
Scott MatthewmanCreating a segmented progress bar in SwiftUI with Swift PlaygroundsBuilding custom controls in a declarative style is easy with SwiftUI — and you can do it all on an iPad if you like·7 min read·Apr 27, 2020----
Scott MatthewmanA tear, Sarah Jane?Nine years since the passing of Elisabeth Sladen, aka Doctor Who’s Sarah Jane Smith, here is a reprint of my obituary from 2011.·4 min read·Apr 19, 2020----
Scott MatthewmanRuboCop in legacy projects, part 2: Focus on the presentApplying your style guide selectively is the way to stay sane, but takes a little work·7 min read·Oct 22, 2019----
Scott MatthewmanRuboCop in legacy projects, part 1: TODOs and TODON’TsRuby and Rails developers: adding style linters to your legacy projects is harder than it should be. Let’s do something about that.·6 min read·Oct 2, 2019--2--2
Scott MatthewmaninSkills MatterFind the cause of randomly failing tests with RSpec bisectIf your test suite is randomly failing, it may also be able to help you find out why.·7 min read·Jun 29, 2018--2--2