Basics of Pull to Refresh for Swift Developers
Guide to implementing pull-to-refresh in Swift for iOS, covering UITableViewController and regular UIViewController with UITableView.
Andrew Bancroft — Experienced iOS developer, educator, and writer with 15+ years of experience, sharing clear, practical guidance on Swift, SwiftUI, iOS development, and data persistence to help developers succeed.
204 articles from this blog
Guide to implementing pull-to-refresh in Swift for iOS, covering UITableViewController and regular UIViewController with UITableView.
A workflow for overcoming paralysis in test-first development using an almost TDD approach in Swift.
Guide on using NSFetchedResultsController with UITableView in Swift to display Core Data efficiently.
Learn how to seed a Core Data database with sample data in Swift for development and testing purposes.
Core Data cheat sheet with Swift code snippets for iOS developers covering fetch, insert, update, and delete operations.
A step-by-step guide to creating a custom UITableViewCell for text input in Swift, leveraging table views for data entry forms.
Analysis of NSNotificationCenter vs delegation in Swift for structured instance-to-instance communication.
Guide on converting complex Objective-C macros to Swift functions with examples.
A Swift tutorial on transforming immutable types using helper initializers, addressing pain points with many properties.
Tutorial on fixing MySQL Workbench connection issues with MAMP by correcting the MySQL port setting.
Learn how to unit test Core Data model layer in Swift using in-memory NSManagedObjectContext for fast, efficient tests.
Explores immutability in Swift functional programming, showing how to handle state changes by creating new instances instead of mutating existing ones.
A step-by-step guide to starting unit testing in Swift, covering project setup, frameworks, imports, and access control.
Swift unit testing screencast on using Test Driven Development to verify method calls in iOS apps.
A curated list of resources for unit testing Swift iOS apps, including courses, blogs, and talks.
Explores the two main goals of Test Driven Development (TDD) for iOS/Swift apps: ensuring code is in the right place and logic is correct.
Article argues that Swift code without tests becomes legacy code, emphasizing the importance of unit testing for code quality.
Learn how to use Swift extensions to make any type conform to a protocol, even without source code access.
A cheat sheet for iOS developers covering common UITableViewDataSource protocol methods with Swift code stubs.
Applying Agile software development principles to blogging to overcome time and perfectionism blockers.