Swift
Learn more and get better in Swift using this list of Swift blog posts, tutorials, tips, and tricks.
Share Swift Code between Swift On Server Vapor and Client App
Sharing Swift code between a backend and client app is one of the benefits you'll get when working with Swift ...
Read More
Read More
Ranges in Swift explained with code examples
Ranges in Swift allow us to select parts of Strings, collections, and other types. They're the Swift variant of NSRange ...
Read More
Read More
MainActor usage in Swift explained to dispatch to the main thread
MainActor is a new attribute introduced in Swift 5.5 as a global actor providing an executor which performs its tasks ...
Read More
Read More
Optimizing your app for Network Reachability
Network Reachability is a vital aspect of apps that use some networking capabilities. Your users won't always have a good ...
Read More
Read More
The operation couldn’t be completed: solving errors in Swift
"The operation couldn't be completed" is a common error to receive from Apple's standard SDKs or 3rd party libraries. The ...
Read More
Read More
Equatable conformance in Swift explained with code examples
Equatable conformance allows you to compare one object with another. Based on whether the objects match, you can perform a ...
Read More
Read More
Using User Defaults to store preferences in Swift
User Defaults are the go-to solution for Swift applications to store preferences that persist across launches of your app. It's ...
Read More
Read More
Detached Tasks in Swift explained with code examples
Detached tasks allow you to create a new top-level task and disconnect from the current structured concurrency context. You could ...
Read More
Read More
Task Groups in Swift explained with code examples
Task Groups in Swift allow you to combine multiple parallel tasks and wait for the result to return when all ...
Read More
Read More
Enum explained in-depth with code examples in Swift
Enum usage in Swift: If case, guard case, fallthrough, and the CaseIteratable protocol. These are all terms which could sound ...
Read More
Read More
OptionSet in Swift explained with code examples
OptionSet in Swift allows you to define a set of options for configurations. It's the Swift variant of the well-known ...
Read More
Read More
@dynamicCallable in Swift explained with code examples
It's all in the name: @dynamicCallable in Swift allows you to dynamically call methods using an alternative syntax. While it's ...
Read More
Read More