Friday Q&A 2017-07-14: Swift.Codable
An in-depth look at Swift 4's Codable protocol, exploring its features for automatic serialization and comparing it to older Apple serialization methods.
An in-depth look at Swift 4's Codable protocol, exploring its features for automatic serialization and comparing it to older Apple serialization methods.
Tips for improving Objective-C code using Swift-inspired macros and techniques, focusing on type inference and modern syntax.
A tutorial on implementing a drop shadow effect on a UIVisualEffectView in iOS, similar to the style used in the iOS Maps app.
Explains the behavior and potential dangers of using beforeSuite and afterSuite hooks in the Quick testing framework for Swift.
Explains the execution order of nested beforeEach and afterEach blocks in the Quick testing framework for Swift.
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.