Swift Tutorials
-
Arrays VS Sets In Swift
Read in this post about the differences between Array and Set in Swift and see how to perform the most basic and common operations in both.
-
Converting Dates To Formatted Strings Easily in Swift
Getting formatted strings from dates is really easy in Swift. Find out in this post all available built-in styles to use in your apps.
-
Defining Custom Errors With Advanced Descriptions In Swift
Go beyond providing basic textual descriptions of custom errors in Swift exploring additional APIs for perfect user-facing error messages.
-
Self vs self in Swift – Find out the differences with practical examples
“Self” with capital “S” and “self” with small “s” are two different concepts in Swift. This video makes everything clear with code examples.
-
The Equatable Protocol In Swift
Learn about the Equatable protocol in Swift, find out when it’s necessary to adopt it and meet an additional reason that makes it important.
-
Testing Throwing Methods In Swift Actors
Read about how to test error throwing code that exists in actors asynchronously and what to look out for smooth testing.
-
New Feature in Xcode 14 – Inserting Code Automatically To Codable Types Using Auto-Completion
Learn how to let Xcode 14 auto-complete all the necessary code in Codable types when they don’t conform automatically to it.
-
Iterating Through Enum Cases With CaseIterable In Swift
It’s often needed to get enum cases as an array and iterate through them, something that’s really easy in Swift and this post shows how.
-
In-Out Parameters In Swift Functions
Read about the in-out parameters in Swift functions and find out how to mutate provided arguments if necessary inside functions.