
When developing iOS apps, we often need to persist sensitive user data such as passwords, authentication tokens, or cryptographic keys.
For this type of data, storing values in plain files or UserDefaults is usually not appropriate. Instead, iOS provides the Keychain Services API, which stores sensitive data in an encrypted and system-managed database.
In this article, we'll look at how the Keychain API works and how to save, retrieve, update, and delete keychain items in Swift.
SwiftUI provides built-in support for animations. In many cases, adding animations only requires attaching an animation to a state change.
There are two common ways to do this:
In this article, we'll look at how both approaches work and when to use each of them.
Natascha Fadeeva is the author and creator of this site. She is a senior freelance iOS developer located in Leipzig, Germany. Since 2019, she has been publishing articles on iOS and Swift topics on tanaschita.com. Natascha is passionate about programming and at least as passionate about teaching programming. Besides running this site, she has been freelancing as an iOS developer since 2012. Since then she has worked for many companies of different sizes on complex user focused software applications. She is a senior iOS developer with over 10 years of experience in a professional environment. Natascha holds a master's degree in computer science. She has proficiency in writing clean, reusable and testable code. She has the ability to work on projects requiring detailed analysis, teamwork, problem solving, time management, clear communication and logical thinking. She is constantly learning new technologies.