Nimble: when to use waitUntil or toEventually
Explains the differences between Nimble's toEventually and waitUntil for testing asynchronous Swift code, with guidance on when to use each.
Explains the differences between Nimble's toEventually and waitUntil for testing asynchronous Swift code, with guidance on when to use each.
Explains how to use Swift protocol composition to simplify dependency injection and reduce boilerplate in iOS projects.
A Swift developer recreates Ruby's 'unless' keyword in Swift, discussing its differences from 'guard' and sharing the implementation.
A Swift developer introduces a 'strongify' function to simplify and clean up the common pattern of weak-strong dancing when avoiding retain cycles in closures.
A tutorial on using XCTest closure-based expectations with NSPredicate to test asynchronous Swift code.
Lyft's iOS team shares their experience using Interface Builder at scale, addressing common criticisms and sharing custom tools for a better workflow.
A guide to using dependency injection with static methods and classes in Swift to improve testability of legacy code.
SwiftGen 4.2 released with major internal refactoring, plus updates on other open-source projects like Reusable and fastlane.
A beginner's talk on reactive programming with RxSwift, explaining core concepts and sharing demo resources.
Argues for deprecating UITableView in favor of the more flexible UICollectionView, citing Apple's internal work on table-like collection view layouts.
Lyft engineers detail their approach to making the iOS app accessible, focusing on VoiceOver integration and UI improvements.
A guide to writing maintainable tests for iOS apps, covering the Red-Green-Refactor cycle and the Arrange-Act-Assert pattern.
Explores building a Swift library for real-time, live updates to iOS app UI and themes without recompilation, using Traits and runtime features.
Introducing Sourcery, a meta-programming tool for Swift that automates code generation to reduce repetition and improve safety.
Explores how to use Swift's addition operator overloading for expressive code, covering numbers, strings, arrays, and ranges.
A developer reflects on attending Swift Summit SF 2016, discussing insights from the conference and the value of reading Swift's open-source standard library code.
A guide explaining when and how to use the 'self' keyword in Swift programming, covering clarity, brevity, and mandatory vs. optional usage.
A developer explains the challenges of using PHLivePhotoView with Auto Layout and the solution to fix ambiguous content size issues.
Swift programming guide on initializing arrays and dictionaries using literals and shorthand syntax for cleaner code.
Explains the use of the underscore (_) keyword in Swift for omitting argument labels and ignoring tuple components to reduce code verbosity.