How to declare Swift protocol for a specific class

Learn how to create protocols that constrain their conforming types to a given class. Read more

Similar

Tutorial on server side Swift and Vapor2

After doing web development since PHP4.1, I almost gave up and decided to learn Ruby and Ruby on Rails. Then I discovered Laravel two years ago and have been using it since. I have also been developing Swift and Objective-C for iOS and macOS and released (more…)

Read more »

Modern Networking in Swift 5

Making HTTP requests is one of first things to learn when starting iOS and macOS development with Swift 5. In this article we'll build modern networking layer with Swift 5 APIs: URLSession, the Combine framework and Codable. We'll discuss why such librari... (more…)

Read more »