swift
-
Using Custom Strongly Typed Values For Better Coding in Swift
Write safer and more comprehensive code in Swift by implementing and using custom strongly typed values, avoiding potential unwanted problems.
-
Creating Enums with Custom Raw Type in Swift
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.
-
Frame vs Bounds in iOS: Implementing A Visual Demonstration
Find out what is the difference between frame and bounds in iOS through the implementation of a small app that explains everything visually.
-
The Factory Method Design Pattern
Meet the factory method design pattern through simple examples and find out how it helps to keep the various concepts in code separated.
-
The Defer Statement in Swift
Find out in this post what the Defer statement is in Swift and how to use it in order to perform clean up actions in code blocks effectively.
-
Using Action Closures with UIKit Controls
Explore how to use action closures with UIKit controls, the new alternative of the old good target-action pattern available since iOS 14.
-
Using Variadic Parameters in Swift
Learn about variadic parameters and how to implement functions that contain them and accept an arbitrary number of values.
-
Overloading Functions in Swift
Overloading functions in Swift is a common technique, and this post shows how to apply it and gain flexibility and convenience.
-
Stored and Computed Properties in Swift
Explore and understand what stored and computed properties are in Swift, and how to gain better programming habits for better code.
-
Escaping Closures in Swift
Read about escaping closures in Swift and how to avoid memory related problems in a post that explains everything in simple words.