Network Framework in iOS: How to Monitor Network Status Changes
Hello folks and welcome! Beyond any doubt, all apps that exchange data with servers need to know one thing all the time: Whether they are connected to Internet or not. When being offline, it’s usually desirable to alter the...
How to Preview Your iOS Apps in Dark Mode Using Xcode 11
Earlier, Apple dropped the first beta of iOS 13 to the public. For a general user, dark mode is definitely the biggest visual change in this release. By flipping an option in Settings, iOS makes everything dark! In dark mode, the...
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...