macOS Programming Tutorial: Working with Alerts, Sheets and Modal Windows
One of the basic, yet vital things a developer should know when creating macOS apps is how to present alerts, system panels or custom windows to their apps. Regardless of how small or big an app is, it will always be necessary to...
Building a Trello-like iOS App with Drag & Drop API
Drag & Drop is the user interaction that works naturally when we want to build an app where user can move data around the screen. It’s being used heavily by apps like Trello, Jira, and many others to move data between boards....
How to Use Xcode Instrument to Optimize Your Swift Code
I still run across curmudgeons who flat out reject techniques like object-oriented programming (especially inheritance and polymorphism), protocols and protocol-oriented programming (especially composition), generics, and...
Dividing and Conquering Your Xcode Projects with Targets
In this tutorial, I’ll show you how to leverage Xcode targets to control the massive complexity involved in building iOS (and macOS, watchOS, and tvOS) apps. A lot of time can be saved when developers realize that not...
Realistic Rendering of 3D Photogrammetry Model in ARKit
In this tutorial, I will go through the entire process of importing a 3D photogrammetry model into ARKit, and make it look as realistic as possible, using the tools that ARKit and SceneKit provide. The finished product:...
Design Patterns in Swift #3: Facade and Adapter
This tutorial is the third installment in our series on design patterns. I started this series with a tutorial examining two examples of patterns in the “creational” category: factory method and singleton. I then...
UI Test Automation: Speed Up Mobile App UI Testing with Appium
At the time when you are reading this tutorial, millions, or billions of other users out there are probably browsing through an app on their smartphones. Having a smartphone with a huge collection of apps has already been an...
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...
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...
Using Xcode Configuration (.xcconfig) to Manage Different Build Settings
During the development lifecycle of a software project, you probably create different builds at various stages. At the early stage, there will be the one that conforms to your local configuration. When you are ready to move to...