Skip to main content

Handling the Keyboard Animations in SwiftUI with ObservedObject - iOS Tutorial

· 5 min read
Full Stack Developer
Last updated on August 29, 2020

Handling the Keyboard Animations in SwiftUI

While working on the SwiftUI Chat tutorial, we ran into the issue of handling the keyboard animations by adjusting the layout of all the views visible on the screen, depending on whether the keyboard is visible or not. In this tutorial, we are going to learn how to handle the keyboard animations in SwiftUI with the help of ObservedObject.

How to Test Push Notifications in iOS Simulator - iOS Tutorial

· 5 min read
Full Stack Developer
Last updated on February 26, 2020

Push Notifications Demo

With every release of Xcode, Apple provides us with extremely useful improvements and new features. And as always, from Xcode 11.4 (beta version – up until the publish date of this article), we get another piece of good news from them. That is we can simulate push notifications on the iOS simulator. Finally! Yes, you're not mistaken, it's time to say goodbye to the annoyance of testing on physical devices whenever we want to implement and test push notifications.

Adding an iOS Launch Screen to Your App in Swift - iOS Tutorial

· 5 min read
Full Stack Developer
Last updated on October 15, 2020

In this detailed tutorial, we are taking a look at how you can add and customize an iOS launch screen in your iOS app and why it's important to take your launch screen design seriously. The task itself is not difficult, and I'll assume you are writing your iOS app in Swift, using Xcode.

Note: If you come from an Android/React Native background, you might have used "splash screen" to describe this app starting screen. Apple prefers "Launch Screen", which is what we're going to use in this article.

ViewBuilder and ViewModifier: Base Views and Reusable Components in SwiftUI - iOS Tutorial

· 5 min read
Full Stack Developer
Last updated on February 10, 2020

ViewModifier SwiftUI

Hey everyone, in this article, we are going to learn how to build custom reusable components with ViewModifier, and how to create base views with ViewBuilder. These are powerful mechanisms to implement gorgeous design systems that are consistent across the entire app and that encourage code reusability and good architectural patterns.

How to Use Camera and Library to Take Photos in SwiftUI - iOS Tutorial

· 6 min read
Full Stack Developer
Last updated on February 5, 2020

camera swiftui

Hello, welcome back to our SwiftUI tutorials series. In this article, we are going to learn how to use the photo camera and library picker in SwiftUI to take photos within our iOS apps – a feature that nearly every mobile application needs nowadays, especially with the latest iPhone release, that has 3 cameras!

How to Integrate UIKit with SwiftUI

· 4 min read
Full Stack Developer
Last updated on September 2, 2019

swift ui

When you start developing with SwiftUI, you will reach certain points during development where you would like to use some APIs from UIKit. In order to integrate UIKit with SwiftUI, you can use one of two protocols – UIViewControllerRepresentable and UIViewRepresentable. We will soon be migrating all of our iPhone app templates (currently running on UIKit) to SwiftUI, so having them use both UIKit and SwiftUI as a transition state during migration will be a huge advantage in order to not block our customers who are willing to take a stab at SwiftUI early on (even if we don’t recommend it yet!).

Introduction to SwiftUI And The Future of iOS Development

· 11 min read
Full Stack Developer
Last updated on August 8, 2019

swift ui intro

SwiftUI is a newly released framework to help iOS developers build user interfaces across all Apple platforms with the power of Swift. SwiftUI has been launched at WWDC 2019 and has been increasing in popularity exponentially ever since. SwiftUI addresses the major pain points that iOS engineers were facing with building interfaces, and for these reasons, SwiftUI is the future of front-end development on iOS. We are making a quick introduction to SwiftUI to highlight its simplistic yet powerful paradigm.