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.
Go through a detailed making of a customizable view that displays an animated checkmark in SwiftUI meeting various techniques along the way.
Read about the in-out parameters in Swift functions and find out how to mutate provided arguments if necessary inside functions.
Go through the implementation of a simple wrapper around Timer in Swift, and see how small solutions like that can enhance the coding process.
Meet a built-in API that allows to enumerate substrings and count text components such as words and paragraphs easily in Swift.
Learn how to use the new async/await pattern in order to fetch remote data both in recent and in older system versions.
Read about how to change the default navigation view style in SwiftUI using a view modifier, and override the default behavior.
Write safer and more comprehensive code in Swift by implementing and using custom strongly typed values, avoiding potential unwanted problems.
Meet the ViewBuilder attribute that enables us to create and return SwiftUI views from methods, and read about an additional useful tip.
Find out in this post how to create enums with raw values of custom types in Swift, and go through a demonstration of all you need to know.