Skip to main content

iOS Data Persistence in Swift

· 13 min read
Full Stack Developer
Last updated on November 9, 2021

intro to blog

In this article, I would like to showcase the basics of iOS data persistence with Swift, by presenting a general overview of what’s possible. Data persistence is the mechanism of storing any type of data to disk so that the same data can be retrieved without being altered when the user opens the app next time. While you could save the same data on a server, in this tutorial we are going to describe all the ways to store data locally in iOS apps.

MVVM with Combine in SwiftUI – Tutorial

· 7 min read
Full Stack Developer
Last updated on October 28, 2021

mmvm intro

In this article we are going to learn how to implement the powerful MVVM design pattern in SwiftUI applications that are leveraging the Combine framework. The combination of these 3 concepts will be the standard of iOS app architecture for the years to come, so it’s really important to set up a solid groundwork when it comes to designing Swift apps going forward.

How to Create Beautiful iOS Charts in Swift | iOS Tutorial

· 8 min read
Full Stack Developer
Last updated on October 18, 2021

Create Beautiful iOS Charts in Swift

Presenting data through graphs and charts is one of the most remarkable features of mobile applications today. iOS Charts make apps look more beautiful and noticeably more attractive. We already integrated a number of Swift Charts into many mobile app templates such as the Dashboard iOS App Template or Personal Finance iOS App Template.

Free mobile icons and images to use in your app

· 4 min read
Full Stack Developer
Last updated on September 20, 2021

When designing a template for your mobile app, there’s always the need of using images, icons, and various other UI assets. If you’re only working on a prototype, investing too much time or money for purchasing these assets is not really worth it, so you always end up looking for free mobile icons and images. In this article, we list a handful of websites that offer free mobile icons and images, which you can use in your mobile app, without worrying about copyright infringement.

How to Secure User Data with Keychain in Swift

· 7 min read
Full Stack Developer
Last updated on September 6, 2021

Secure User Data with Keychain in Swift

In today’s privacy-focused world, keeping a high bar for the security of our iOS apps, by storing critical user data securely is more important than ever. When handling sensitive user data such as passwords, in-app purchases, etc, in iOS apps, a mobile developer needs to take security into consideration. In our App Templates, we are taking security very seriously, by making it part of our core values. In this tutorial, we will show you how to use the Keychain in Swift to store sensitive user data by implementing a persistent login feature on iOS.

How to Generate Haptic Feedback in Swift

· 3 min read
Full Stack Developer
Last updated on August 23, 2021

Generate Haptic Feedback in Swift

As we have mentioned in previous posts, there are more and more iOS applications in App Store and obviously we are living in a highly competitive market. Hence, creativity and differentiation are essential for success. In today’s article, we will show you a great feature that makes apps feel more playful and performant – haptic feedback. We’ll learn how to generate haptics feedback in Swift with code examples.

How to add a shadow to a UIView in Swift | Source Code Example | iOS

· 2 min read
Full Stack Developer
Last updated on August 11, 2021

iOS has built-in support for adding shadows to UIView components. All you need to do in order to add a shadow to a UIView object is to set the shadow properties of the view’s layer. Shadows are a powerful user interface design element, making the visual components stand out by giving them a 3D look and feel. In order to display a shadow in Swift, iOS allows you to specify its color, opacity, offset and radius. Our recommendation is to try out different values for these variables, to see for yourself what are they exactly.

Why should you localize iOS apps?

· 4 min read
Full Stack Developer
Last updated on December 8, 2021

localizing

Localization is the process of adapting a client app to a specific language. A localized mobile app renders all its content in the user’s language. In this article, we discuss a few key aspects on why you should localize iOS apps. While it could be obvious while this is a good idea, most developers would rather not invest time for localizing their apps, when working on a minimum viable product. Even if you don’t plan on adding localization support initially, it’s recommended to keep an eye on localization while writing your code, to make sure you won’t run into much trouble when the time for localizing the app comes.

Introduction to Protocol-Oriented Programming in Swift

· 8 min read
Full Stack Developer
Last updated on June 1, 2021

Introduction to Protocol-Oriented Programming in Swift

Writing highly-modularized code is critical in building a robust iOS app, that is scalable and extensible. To make a well-architected iOS app in Swift, there are various design patterns that can be used, to build a high-quality codebase. We focus a lot on building robust architecture in our Xcode app templates, so in this article we are sharing the way we leverage protocol-oriented programming in Swift, to create scalable iOS apps. We are not creating just one app, but instead, we are making a ton of app templates, so a good design is critical to our mission.

How to color UIImage objects programmatically in Swift

· 2 min read
Full Stack Developer
Last updated on March 19, 2021

UIImage is the Swift approach to modeling images. In order to display an image on the screen, you’re most likely going to use UIImageView, which takes a UIImage object and presents it in the view hierarchy. To color UIImage objects there’s some extra work required. Coloring images can be very helpful when dealing with app icons, tab bar items, navigation items, etc.