Protocol Oriented Programming in Swift: Is it better than Object Oriented Programming?
We’re going to talk in-depth about protocol-oriented programming (POP) using Swift 4 in this article. This post is the second and final article in a two part series. If you haven’t read the introductory article,...
Protocol Oriented Programming in Swift: An Introduction
The greatest enemy of software developers is complexity, so when I hear about new technologies promising to help me manage chaos, I listen. One of the “hot” methodologies generating much attention recently (at least...
What’s New in Swift 4 by Example
Apple announced Swift 4 as part of Xcode 9 at WWDC a few weeks ago. Although still in beta during the summer until its final release in September, this is the first version of the language that doesn’t break your code. It brings...
A Beginner’s Guide to Protocols and Protocol Extensions in Swift
Welcome to the tutorial on protocols and protocol oriented programming in Swift! In this tutorial, we’re going to talk about what protocols are and how you can use them in conjunction with protocol oriented programming. We’ll...
Mastering Swift: Enumerations, Closures, Generics, Protocols and High Order Functions
Welcome to the “Mastering Swift” tutorial series! This tutorial is a bit different from the ones usually featured on AppCoda, because instead of teaching you about the iOS APIs or a specific iOS topic, this tutorial...
Building Your First Web App in Swift Using Vapor
In WWDC 2015, Apple announced that Swift would be open source. Shortly after that, in December 2015, Swift’s codebase was public on GitHub. Open sourcing the Swift codebase introduces developers to a multitude of...
Creating Gradient Colors Using CAGradientLayer
Every developer always uses color combinations along with images to produce a good-looking result when creating an app, trying always to achieve the best user experience possible. Sometimes, however, something more might be...
What’s New in Swift 3
Apple integrated Swift 3 into Xcode 8 beta at WWDC and will release the final version later on this year. This is the language’s first version that is open source and works both on Mac OS X and Linux. If you have followed the...
Using CocoaPods in Your Swift and Objective-C Projects
Understanding CocoaPods, a dependency manager for Swift and Objective-C projects, is a critical skill every iOS developer should have. If you have no experience with CocoaPods, this short post is written for you. We’re...
Documenting Your Swift Code in Xcode Using Markdown
Amongst all the features Xcode 7 incorporates, there is one that admittedly distinguishes; that is the new revolutionary, much better way to write code documentation. With the introduction of Xcode 7, developers can use the...