Learn about variadic parameters and how to implement functions that contain them and accept an arbitrary number of values.
Overloading functions in Swift is a common technique, and this post shows how to apply it and gain flexibility and convenience.
Explore and understand what stored and computed properties are in Swift, and how to gain better programming habits for better code.
Read about escaping closures in Swift and how to avoid memory related problems in a post that explains everything in simple words.
Learn how to provide default values in Swift dictionaries, and how to get back actual values instead of nil even when keys do not exist.
Read about the failable initializer in Swift, and how to use it in custom types in order to return nil if proper initialization fails.
This post showcases four handy higher order functions in Swift necessary in everyday programming that all devs should be constantly using.
Three quite common higher order functions in Swift; forEach, filter and sorted. Read on to find out what they are for and how to use them.
This post presents and explains three important and common higher order functions in Swift that are important tools to every developer.
What exactly are higher order functions in Swift? This post explains that, and it goes one step further by showing how to create your own.