Swift Coding
A collection of blog posts about Swift coding
I hope this set of articles is of use to you!
Photo by Mad Rabbit Tattoo on Unsplash
For the best free guide for Swift coding use CS193p, this is a wholly online course focussing on SwiftUI.
Articles
Quick Guides
The UITableView Example
The Programmatic UITableView Example
Beginner
Using a XIB File with a UIView Subclass
The Only UIStackView Guide You Will Ever Need
Imperative vs. Declarative Swift Programming
Default Arguments
Write Programmatic Constraints for Swift Projects
Ranges in Swift
Property Observers in Swift
Zip and Zip2Sequence in Swift
Easy
SEE Retain Cycles in Xcode
New Features for iOS 14: SwiftUI
|Hello, World" SwiftUI
Text Scroll with SwiftUI
|Create a Horizontally Scrolling UICollectionView with Dynamic Cell Sizes
Debug using Breakpoints in Xcode
Use lldb to Dynamically Change Code in Xcode
The Singleton
viewDidLoad() Vs. loadView()
Core Data with SwiftUI
The UINavigationController and UINavigationBar in Swift
Normal
Semaphores
Throw inside a closure
A Networking Manager with Alamofire
Use OperationQueue to Chain API Calls in Swift
Did Apple Kill UITableView? - UICollectionView Lists
Property Wrappers
Compositational Layouts
MVVM-C
MVC
VIPER
Theoretical VIPER
MVVM
MVVM RxSwift
The MVI Architecture Pattern in Swift
Using Redux and Swift
Loading Animation
The Only CAGradientLayer Guide You Will Ever Need
Combine and URLSession in UIKit
Parallel Programming with Operation and OperationQueue in Swift
Dark Mode iOS
iOS11 Compatibility
KeyPaths
Swift Package
ThreadSafeArray
ServiceLocator Pattern
StatePreservation
Cache URLResponses in Swift
MVVM Dependency Injection using Storyboards
Recreate the SwiftUI Sandwiches WWDC demo
Use SwiftUI in a Playground
Write a Network Layer in Swift
Encode Behaviors into Reusable View Controllers
Embed a UICollectionView Inside a UITableView
A UIGestureRecognizer tutorial
Challenging
TypeErasure
TwoWayBinding
Track My Movement: A RxSwift Project<>
Core Data
The Core Data Stack: Persistent Store Types
Learning the Basics of Core Data
Core Data: Using Codable
NSPredicate with Core Data
Core Data Basics: Testing
Tips
What Is The Difference Between @escaping and @nonescaping Closures in Swift
Throw or Rethrow that Error?
How Implicit Return Types Removed that Annoying Swift Inconsistency
Code snippets
Playgrounds
Parse JSON without knowing the type
Get a Comma Separated List From An Array
That little Swift Bug: Protocol Customization Points
Theory
Kruskal's Algorithm
WWDC Notes: Keynote
WWDC Notes: Platforms
Semantic Versioning
SOLID principles
Writing FIRST Swift Tests
Union Find
Design Patterns
LeetCode
Leetcode Weekly Contest 194 Swift solutions
Leetcode Weekly Contest 195 Swift solutions
Leetcode Weekly Contest 197 Swift solutions
Leetcode Weekly Contest 216 Swift solutions
Leetcode Weekly Contest 217 Swift solutions
PrefixSum
Get in touch
I'm usually around on Twitter
Feel free to sign up to my newsletter