Give a shoutout to Joey Kyber on social or copy the text below to attribute.

When deploying Node Express application, you have several different choices. This includes DigitalOcean, Heroku, Amazon Elastic Beanstalk and many more. Deploying to Elastic Beanstalk not only allows us to automatically scale the app based on load but also tap into other amazing features of Amazon AWS Services including DynamoDB, S3, AWS Backup and many more.

In this post, we will take a look at all the necessary steps needed to deploy a Node Express app to Amazon Elastic Beanstalk. We will also learn how to automate deployment using Codepipeline. …

Concurrency allows multiple tasks to run at the same time. Understanding concurrency is an important part of iOS app development. When used correctly, it can create a pleasant user experience and can even avoid crashing your app. In this course, you will learn about the new concurrency features available in Swift using Async/Await and Actors.

Async/Await and Actors are the future direction of concurrency in Swift and this course will teach you the concepts and practical uses of these modern features. After completing this course, you will be comfortable to add these new features in your applications.

[Get the complete course today]


  • Xcode 13…

Photo by Agung Raharja on Unsplash

As a developer who has worked in React, Flutter and SwiftUI, it is always nice to see that how many SwiftUI features are inspired from existing platforms. All three major platforms (React, Flutter and SwiftUI) have adopted a declarative approach for building user interfaces. This means you can easily transfer your knowledge between React, Flutter and SwiftUI.

In iOS 15 a new task modifier has been introduced, which can be used to perform an operation when the view appears and cancelled when the view disappears. …

Swift language allows you to create several different types of properties, including computed, property observers and even lazy properties. In this article, we will learn how lazy properties can provide performance benefits for time consuming calculations.


Let’s consider a scenario, where we are responsible for creating questions for an exam. The Exam struct is implemented below:

enum Level {
case easy
case medium
case hard

struct Exam {
let level: Level

var questions: [String] {…

Application domain objects are the building blocks of any system. The domain represents the entities and the connections between entities of the app. The domain is also used to map the real world into our system.

There are many ways of implementing domain objects. In this article I will show you how to implement models using enums.

Struct as Models

Let’s begin with modeling our data as structs and then we will learn how to take the enum route. Consider a scenario, where we are building an application for a conference. Conference domain can have many models, but we are only focusing on…

Asynchronous programming is a common requirement of any iOS application. The ability to perform task on a separate thread and not disturbing or blocking the user interface is always considered a good practice. In iOS 15 and Swift 5.5 Apple introduced async/await feature, which allows developers to easily implement asynchronous tasks with increased clarity and less lines of code.

In this article, we are going to take a look at how you can use async/await, continuation and actors in your iOS application.

Asynchronous Programming Using Callbacks

Before we jump into the new async/await features, we need to see how things are handled currently. …

New button roles, control prominence, control group, and more

graphic showing title of the article and Swift logo
graphic showing title of the article and Swift logo
Image by author

Buttons are an important part of any iOS application, and in iOS 15, SwiftUI introduces several different ways to implement and customize button views. In this article, we are going to learn about all the new ways you can customize your buttons.

Let’s get started…

Rounded Corners

In the previous version of iOS, if we had to create a nice-looking, large button with rounded corners, then we may have to write the following code:

The result is shown below:

Photo by Matt Duncan on Unsplash

When working with asynchronous code we often leverage the use of callbacks so we can execute code when the asynchronous operation finishes. This works fine in simple scenarios but gets complicated if we have to perform a future request based on the result of the previous request. The callback pattern also open doors for not remembering to execute the user interface code on the main thread, which can lead to performance issues.

Swift 5.5 includes a new way of performing asynchronous actions. This is done by the support of async/await feature. …

Photo by Jordan M. Lomibao on Unsplash

Apple introduced tons of new features in Swift and SwiftUI. This includes Async/Await, Pull to Refresh, Continuation, Text Formatters etc. In this article, we are going to combine all the features together and build a stocks application.

Source Code

Stocks Service

For this article, we are not using a real stocks API. The stocks service we are going to implement will return hard-coded data with random prices. The implementation of getStocks function is shown below:

As you can see the getStocks function takes in a completion closure, which is fired after 2.0 seconds. We used DispatchQueue.main.asyncAfter to simulate the delay in…

A first look at the new view to asynchronously load and display images

Photo by Taras Shypka on Unsplash.

At WWDC 2021, Apple unveiled tons of new SwiftUI features that will allow developers to create iOS apps even more fluently. One of the most anticipated features is the ability to display images using the Image view. In previous versions of SwiftUI, this was not possible and had to be implemented using custom code.

In iOS 15 and Xcode 13, Apple introduced AsyncImage, which allows you to download an image using just the URL. In this article, we will look at how to use AsyncImage in our SwiftUI applications.


AsyncImage is pretty straightforward to use. Just supply with the URL…

Mohammad Azam

iOS Developer, speaker and educator. Top Udemy and LinkedIn instructor. Lead instructor at DigitalCrafts.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store