Swift Tutorials

Swift Tutorials

How to add Dark Mode in iOS 13

Published on Dec 4, 2022

Find out how to add ‘Dark mode’ to your iOS apps. Learn to adapt them and use adaptive colors.

Xcode 14: One Icon to Rule Them All!

Published on Dec 4, 2022

With Xcode 14 it is no longer necessary to use an application icon for each of the required sizes (depending on where the icon is to be displayed), only one is required. Let’s see how to do it.

Git and workflow with GitFlow

Published on Jul 20, 2021

Learn how to use Git and Gitflow to be able to control changes in the code of your projects. Understand what branch, checkout, clone, or commit mean.

Improve your Swift code with higher order functions

Published on Jun 9, 2020

Learn how to use High-order functions to improve your Swift code. map, compactMap, faltMap, reduce, filter, forEach… will help you in your day to day as an iOS developer.

How to build a maps and routes app with MapKit

Published on May 4, 2020

With Xcode and Mapkit you can easily and quickly add maps to your applications: see directions, calculate routes… Learn to use this Apple framework.

Create a FAB Button with Swift

Published on Apr 17, 2020

This is a practical tutorial on how to create a FAB or Floating Action Button for your applications. Step by step you will be able to create this component and use it to improve the UI of your applications.

How to use Swift Package Manager

Published on Apr 13, 2020

Swift Package Manager is the dependency management solution developed by Apple and will compete with Carthage and CocoaPods. In this post I explain how to apply SPM in your projects.

Use the new Apple SF Symbols in your applications

Published on Mar 24, 2020

Discover how to add hundreds of icons to your applications using SF Symbols and how to customize them.

Develop a to-do app with CloudKit

Published on Mar 18, 2020

Learn how to use and develop an application using CloudKit as database.

SceneDelegate on iOS 13

Published on Mar 7, 2020

iOS 13 hga introduced SceneDelegate and the new concept of scene. Here’s what this means and how it affects AppleDelegate.

Develop your own OCR on iOS 13 with VisionKit

Published on Feb 25, 2020

VisionKit is an Apple framework that we can use in our projects from iOS 13 and that allows us, for example, to detect text or read barcodes. Learn how to do it in this practical post.

How to test push notifications in Xcode 11.4 simulator

Published on Feb 20, 2020

Learn how to test push notifications from your apps directly in the iOS simulator. You will simply need XCode 11.4 for it. In this post I explain how to do it.

CryptoKit tutorial. How to use CryptoKit on iOS13 apps

Published on Feb 17, 2020

Cryptokit is an Apple library that allows us to work with encryption in our applications, generate public and private keys… Look in this post at some of its most interesting possibilities.

SOLID principles: Application to Swift development

Published on Feb 7, 2020

Learn the SOLID principles and how to apply them in the development of your applications. SOLID principles improve our code, making it cleaner, scalable and testable.

What is new in Swift 5.3

Published on Jan 18, 2020

In this post he explains some of the most important new features that Swift 5.3 introduces.

New architectures for iOS Apps

Published on Jan 14, 2020

In the development of iOS applications, new architectures different from those already known are being introduced (MVC, MVVM, VIPER…). One of them is Redux, which we talked about a few months ago. But there are others, like The Composable Architecture or The Elm Architecrure.

How to create a color palette (Color Assets) in Xcode

Published on Jan 4, 2020

Learn how to create color palettes in Xcode and how to define all the colors in an application in a single point.

What is MetricKit?

Published on Oct 26, 2019

MetricKit is an Apple framework, introduced with iOS 13, that allows us to obtain information about battery behavior and application performance.

Database layer in Swift

Published on Dec 20, 2018

Learn how to separate the Database layer of an application from the rest of the components, so that you can change the type of database used (for example, from CoreData to Realm) without the need for major code changes.

Dependency injection in Swift

Published on Dec 16, 2018

If you use dependency injection, your application code will become more decoupled, testable, and scalable. In this post they explained what Dependency Injection is and its types.

Detect Net status with NWPathMonitor

Published on Nov 11, 2018

Learn how to use NWPathMonitor to control the connectivity of your application. You will be able to know if there is an Internet connection or not and of what type, without the need for external libraries, thanks to Apple’s Network framework.

Result type in Swift 5

Published on Apr 6, 2018

Swift 5 has introduced the Result type, a new feature that will allow us to improve error handling in asynchronous APIs.

Custom Codable types

Published on Dec 9, 2017

Codabe, Decodable and Encodable are protocols that will allow us to work easily with information in JSON format within our applications. Use Custom Keys to be able to modify the name of the JSON parameters.

Encode/Decode protocols in Swift 4 (Introduction)

Published on Nov 25, 2017

Learn how to use the Encode and Decode protocols to pass information in JSON format to a struct or class and vice versa.