Higher Order Functions in Swift - forEach, filter, sorted
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.
Tutorials, examples, practical guides, and more about the Swift language.
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.
Read about the @discardableResult attribute in Swift and learn how to ignore return values from methods when you don't want to use them.
In the second part of Working with Property Lists in Swift series see how to perform advanced encoding and decoding of property lists.
Find out in this first part of Working with Property Lists in Swift series how to use Codable to encode and decode to and from plist files.
Getting the type identifier of a local file using the URL is an often needed task. Learn more in this post, and how to get other types that conforms to.