Basics of Pull to Refresh for Swift Developers
Guide to implementing pull-to-refresh in Swift for iOS, covering UITableViewController and regular UITableView scenarios.
Andrew Bancroft is an experienced iOS developer and educator with over 15 years of experience. He shares tutorials, courses, and insights on Swift, SwiftUI, Core Data, and app development best practices.
203 articles from this blog
Guide to implementing pull-to-refresh in Swift for iOS, covering UITableViewController and regular UITableView scenarios.
A practical guide to an almost TDD workflow in Swift, helping developers overcome paralysis when writing tests first.
Tutorial on using NSFetchedResultsController with Swift to display Core Data in a UITableView.
A Swift tutorial on seeding a Core Data database with sample data for development and testing.
A Core Data cheat sheet for Swift iOS developers with code snippets for common operations.
Tutorial on creating a custom UITableViewCell for text input in Swift using Xcode and Storyboard.
Analysis comparing NSNotificationCenter and delegation patterns in Swift for instance-to-instance communication.
Guide on converting complex Objective-C #define macros to Swift functions with examples.
A Swift tutorial on transforming immutable types using helper initializers to simplify property updates in classes.
Troubleshooting guide for connecting MySQL Workbench to MAMP's MySQL server, fixing port mismatch issues.
A guide to unit testing Core Data model layers in Swift using in-memory NSManagedObjectContext for fast, database-free tests.
Exploring immutable types with changing state in Swift through functional programming, using new instances instead of mutation.
A 5-step guide to getting started with unit testing in Swift, covering project setup, frameworks, imports, and access control.
Swift unit testing tutorial on verifying method calls using Test Driven Development (TDD) with iOS examples.
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 apps in Swift: proper code placement and correct logic.
Discusses the importance of unit testing in Swift to avoid writing legacy code, inspired by Michael Feathers' definition of legacy code as code without tests.
Learn how to use Swift extensions to make any type conform to a protocol, even without access to its source code.
A cheat sheet for iOS developers listing common UITableViewDataSource protocol methods with code stubs.
Applying Agile software development principles to blogging to overcome time and perfectionism blockers.