Learn about how to add the right dependencies to the Xcode project, Including the needed items that are required for continuing onto using the keychain.
- [Instructor] Okay, so enough chit chat. Let's dive into some of the code. So the first thing we want to look at is our project. In the exercise files I've provided a default foundation app that we can start with. Now this is based on the master-detail template and it follows very much that same pattern. So there's going to be a table view with some notes, and then you tap on a note and you can see the details. The user will be able to create new notes, and edit existing notes. And before that, they have to log in. Now a lot of this is stubbed out as far as the functionality goes, but it gives us a place to start. So I'm going to run this in the simulator and we'll see how the functionality works. So when our app starts, it wants us to log in. Now right now it doesn't really do anything, so we can pretty much put anything in there, and I'll tap Login, and we don't have any notes. I can tap the plus sign, and it'll take me to the UI where I can add a new note, and I'll add a one, and I'll go back, and then we'll see that one is added there. And I can add a second note, and go back, and I'll have two. And if I click on one of those I can edit it. So pretty straightforward. It doesn't persist, these notes, in memory anywhere, so if we restart the app they'll be gone. We can also edit the notes by sliding or using the edit button. Pretty standard master-detail template app but with notes and the login. And in the next video, we'll look at the code and dive into that just a little bit as far as what the functionality is that we're starting out with.
- Creating keychain queries
- Storing generic passwords
- Retrieving data from the keychain
- Handling search results
- Updating and deleting keychain values
- Working with keychain access groups