Skip to main content

38 posts tagged with "Swift"

Swift programming language tutorials and guides

View All Tags

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.

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

· 8 min read
Full Stack Developer
Last updated on February 28, 2021

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
Last updated on February 16, 2021

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.