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...
Introduction to SnapKit: Make Auto Layout Easy for iOS App Development
Dear readers, it’s been a long time since my last post, so I’m happy to come back with a new tutorial, which I truly believe you’ll find quite interesting. Today I’d like to tell you about a third-party...
Understanding Delegates and Delegation in Swift 4
I’m going to talk about “delegates” and “delegation.” I’ll lead you through a simple example of implementing the delegation design pattern in Swift 4, with full source code. My intent here is...
ARKit Tutorial: Light Estimation with Ambient Intensity and Color Temperature
Once upon a time, a rock skid, made a spark, and humankind learned to create fire. This is the fifth installment of our ARKit series. Today, we will walk you through how to implement light estimation in augmented reality with...
Swift 4 Generics: How to Apply Them in Your Code and iOS Apps
Question 1: Can I write one Swift function that can find the index/position of any specific instance of any type stored in any array that stores objects of that type? Question 2: Can I write one Swift function that can determine...
Creating a Custom Core ML Model Using Python and Turi Create
In the past few years, the use of machine learning approaches to solve problems and perform complex tasks have been increasing. Machine learning enables us to use big data to perform complex tasks, such as image classification...
Working with URL Schemes in iOS Apps
The URL scheme is an interesting feature provided by the iOS SDK that allows developers to launch system apps and third-party apps through URLs. For example, let’s say your app displays a phone number, and you want to make...
Introduction to Natural Language Processing in Swift
There are several underused and not-so-popular frameworks hidden in the iOS SDK. Some of them can be useful and time-saving tools. The Natural Language Processing Class is one of them. Available in both Swift and Obj-C, the...
Building a Barcode and QR Code Reader in Swift 4 and Xcode 9
So, what’s QR code? I believe most of you know what a QR code is. In case you haven’t heard of it, just take a look at the above image – that’s a QR code. QR (short for Quick Response) code is a kind of...