Advanced iOS Development: Keychain Access
1h 17mAdvanced2020-01-23
Authors

Bear Cahill
Mobile Application Developer
Course details
Want to give your iOS app the ability to store local, encrypted data like IDs, passwords, or credits card numbers? In this course, instructor Bear Cahill shows you how. Bear demonstrates how to leverage the iOS keychain, which allows you to give your apps a mechanism to store bits of user data in an encrypted database. Using practical examples, he explains how to store keychain values, as well as how to retrieve, update, delete, and share data from the keychain. He wraps up with a series of code-based challenges and solutions that help you put these new concepts into practice. After completing this course, you'll have the knowledge you need to write code to use the keychain in your own iOS apps.
Topics include:
- Creating keychain queries
- Storing generic passwords
- Retrieving data from the keychain
- Handling search results
- Updating and deleting keychain values
- Working with keychain access groups
Topics include:
- Creating keychain queries
- Storing generic passwords
- Retrieving data from the keychain
- Handling search results
- Updating and deleting keychain values
- Working with keychain access groups
Skills covered
iOS DevelopmentComputer SkillsiOSMobile DevelopmentAppleBusiness Software and ToolsDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Using keychain encryption in iOS app
- 02 - What you should know
1. iOS Keychain Services
- 03 - User experience considerations
- 04 - Secure enclave
- 05 - Attribute keys and values
2. Storing Keychain Values
- 06 - Xcode project configuration
- 07 - iOS code overview
- 08 - Keychain query creation
- 09 - Storing a generic password
- 10 - Review keychain database
- 11 - Challenge - Store an internet password
- 12 - Solution - How to store an internet password
3. Retrieving Data from the Keychain
- 13 - Keychain search concepts
- 14 - Keychain search query
- 15 - Searching in keychain
- 16 - Handling search results
- 17 - Challenge - Fetch only data
- 18 - Solution - How to fetch only data
4. Updating and Deleting Keychain Values
- 19 - Update keychain preparation
- 20 - Updating values in the keychain
- 21 - Challenge - Delete from keychain
- 22 - Solution - How to delete from keychain
5. Keychain Sharing
- 23 - Keychain access groups
- 24 - Sharing keychain data
- 25 - App group data sharing
- 26 - Sharing data in app group
6. Building the App Challenges
- 27 - Overview of challenges
- 28 - Challenge - Add user authentication
- 29 - Solution - Add user authentication
- 30 - Challenge - Add notes to keychain
- 31 - Solution - Add notes to keychain
- 32 - Challenge - Reading keychain items
- 33 - Solution - Read keychain items
- 34 - Challenge - Update and delete keychain items
- 35 - Solution - Update and delete keychain items
Conclusion
- 36 - Next steps
Related courses
- Advanced iOS App Development: Core Animation
- Advanced iOS App Development: Core Motion
- Advanced iOS App Development: MapKit & Core Location
- Shared Economy for iOS Development
- Apple watchOS App Development: Advanced APIs
- iOS App Development: Essential Courses
- iOS App Development: RESTful Web Services
- iOS 16 Development Essential Training