Skip to main content

43 posts tagged with "Swift"

The 'Swift' tag on our blog covers a wide array of topics related to the Swift programming language. From tutorials for beginners to in-depth articles for seasoned developers, we've got you covered.

View All Tags

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

· 4 min read
Full Stack Developer

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

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

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

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

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

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

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

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

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

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.

Top 10 Open Source Swift Libraries to Bootstrap Your Next iOS Project

· 8 min read
Full Stack Developer

Open Source Swift Libraries

Open Source Swift Libraries are becoming more diverse and are growing in numbers quickly, as Swift becomes more mature. In this article, we curated the best open source Swift Libraries that you can use to bootstrap your next iOS project. They will make your codebase more robust, more performant and will allow you to ship iOS projects more quickly.

Debugging Code in Xcode - 10 Debugging Tricks for iOS developers

· 5 min read
Full Stack Developer

Debugging code written in Swift/Objective-C can be tricky sometimes, especially for someone who’s just starting to learn iOS programming. We’re listing a few techniques and tools for debugging code in Xcode, that any successful mobile app developer should be familiar with. The inspiration for this list was the work we’ve done building our beautiful iOS app templates.