Skip to main content

41 posts tagged with "Swift"

Swift programming language tutorials and guides

View All Tags

The Adapter Pattern in Swift - iOS Design Patterns - Xcode Projects

· 4 min read
Full Stack Developer
Last updated on September 29, 2022

iOS Design Patterns in Swift

At iOS App Templates, we are building fully coded mobile app templates in Swift, to help startups create their mobile products faster. Part of our mission is to provide highly modularized source code so that developers can easily customize and adapt our code to fit their needs. We are starting a tutorial series on iOS Design Patterns in Swift. In this article, we are going to talk about the adapter pattern, which we widely use in our Xcode projects.

5 Best Free iOS App Templates of 2026

· 5 min read
Full Stack Developer
Last updated on January 29, 2026

Building a mobile app used to be a difficult job and only well-versed mobile developers had the ability to do it. But as the mobile development industry evolved over the last few years, the bar for creating an iOS app lowered, and so did the price. Both entrepreneurs and beginners in programming can easily create their own iOS apps now, with minimum coding skills, thanks to a ton of app templates that have emerged as the mobile industry took off. In this article, we are listing the best free iOS app templates, which you can freely use to create your own app in just a few minutes and with no financial investment. These app templates are also a great way to learn Swift or Objective-C or to just get your hands dirty with the iOS development process.

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.

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.

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.