iOS Keychain Access with Locksmith Tutorial (Cocoapod Install)

Поділитися
Вставка
  • Опубліковано 22 сер 2024
  • Learn how to use Locksmith to securely store sensitive data in your app. Don't use NSUserDefaults to store things like passwords and API keys! Locksmith stores the data in the keychain which is the secure storage on iOS. We will be doing this in a Swift Xcode project.
    We'll be installing Locksmith with the Cocoa Pod set up so if you missed the video on how to install and set up Cocoapods, check it out here:
    • CocoaPods Tutorial - H...
    Related Links:
    Get a customized roadmap for your app and start building it in 7 days:
    ⚡ codewithchris.c...
    GitHub Page
    github.com/mat...
    For more tutorials on how to build iPhone apps, make sure you subscribe and visit my site where you'll find a community of like minded learners! Learning something new is always more fun with other people!
    UA-cam: / codewithchris
    Website: codewithchris.com
    CodeWithChris is dedicated to teaching beginners and non-programmers all about building iOS apps. On the site, you'll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have successfully picked up Swift, Objective-C, Xcode and app building from my course and materials!
    Intro & Outro music
    "Heartbreaker" by Jahzzar (www.betterwithm...)

КОМЕНТАРІ • 30

  • @CodeWithChris
    @CodeWithChris  5 років тому

    QOTD ⚡Did you know Locksmith is compatible with Swift 4?
    👇 Kick start your own app with my free 7 Day App Action Plan ➡️ bit.ly/7dplan

  • @DougHarper
    @DougHarper 8 років тому +1

    These Cocoapod videos are great. I can add pods in my sleep now.

  • @rutvikhiranee1508
    @rutvikhiranee1508 4 роки тому +1

    for user ...is there any way to access those data that we stored into keyChain?

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      The keychain data is secured behind the user's iCloud account and password, check the Settings app.
      @AdrienVillez

  • @Sophie333C
    @Sophie333C 8 років тому

    Hi Chris, great video yet again. I was wondering if you would do a follow up video showing how to save more than the password. cheers!

  • @ethan7930
    @ethan7930 4 роки тому +1

    Does this still work in Xcode 11? And if not, where can I go to learn about keychain password autofill?

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      Hello, yes this still works in the latest ios version, in fact we have a small tutorial on this on our "iOS Bento" course with you are subscribed to CodeWithChris+ on our website, check out the available modules here academy,codewithchris.com
      - Francis

  • @ilyasuyanik1065
    @ilyasuyanik1065 8 років тому +2

    great tutorial!

    • @CodeWithChris
      @CodeWithChris  8 років тому +1

      +Ilyas Uyanik Thanks for watching and happy new year! :)

    • @ilyasuyanik1065
      @ilyasuyanik1065 8 років тому +1

      +CodeWithChris It would be nice to add a tutorial with native ios keychain when you have time. In addition to that, I recommend you to bring some tutorials for Xamarin.

  • @mnouman6736
    @mnouman6736 6 років тому

    you are awesome chris

  • @juanmorillo958
    @juanmorillo958 8 років тому

    Thanks Chris for tutorial!, great videos

  • @bhushanrocks412
    @bhushanrocks412 3 роки тому

    dont you need to enable capability keychain?

    • @CodeWithChris
      @CodeWithChris  3 роки тому

      "Hello, not really internal keychain is fine without adding capability, the capability hidden behind paywall (or apple developer membership) is keychain sharing which is a bit different. this video is also quite old so its a bit outdatedm however we have an updated version of this as part of our iOS Bento in our paid membership course, you can check out our courses and whats inside here learn.codewithchris.com
      - Francis"

  • @user-wv2fh6qd8s
    @user-wv2fh6qd8s 7 років тому

    Thanks for the tutorial! What is the difference between using Locksmith, Firebase and OAuthSwift when logging in with Email and Password?

  • @kalpeshdhumal1532
    @kalpeshdhumal1532 8 років тому

    great tutorial....i like waht you are doing

  • @cleversonluiz5839
    @cleversonluiz5839 8 років тому

    Thanks Cris... I'm loving this videos showing some great libs... I would appreciate an tutorial on how upload video/photo with progress indicator... Thanks again and happy new year! Cheers!

  • @julienfadel1609
    @julienfadel1609 8 років тому

    Equivalent library for objective-c, if possible.
    Thank you.

  • @jonydon4347
    @jonydon4347 4 роки тому +1

    Great how can i do authentication in biomertic in my app.my app uses Api for login .how i enable that user log in account by the biometric ?

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      This might help medium.com/@vishwasng/bibiometric-authentication-in-ios-36f51a65b39b
      -Kat

  • @mfaani
    @mfaani 7 років тому +1

    Chris, Thanks for this simple made video.
    as for `forUserAccount` does that mean if I have a device, that could be used for multiple users, I should somehow capture the username/userID there instead of the AppName?

  • @reilem
    @reilem 8 років тому +3

    After following all the instructions and after attempting to build, multiple .swift files including Locksmith.swift had around 50 errors between them. -It's all out of date code.-
    EDIT: Turns out I was still using swift 2.3 instead of swift 3. My bad! :)

  • @matthewso3948
    @matthewso3948 5 років тому +1

    Thanks for good video. I am trying to save data into Keychain (library called KeychainAccess) and the data I save keeps gone away. Everytime re-launch the keychain is empty. I don't know what i am missing..any thought?

    • @CodeWithChris
      @CodeWithChris  5 років тому

      I never coded to make use of Keychain, so let's find some tutorials online!
      Here are a couple:
      medium.com/@jakkornat/saving-data-in-ios-keychain-e9ae885abc48
      medium.com/ios-os-x-development/securing-user-data-with-keychain-for-ios-e720e0f9a8e2
      @AdrienVillez

    • @matthewso3948
      @matthewso3948 3 роки тому

      @@CodeWithChrisIt is really late though I wanted to say thank you for your support!

  • @manasemichaelmhando8034
    @manasemichaelmhando8034 7 років тому +1

    Is this still an effective library to use ? @CodeWithChris Since it's a long time video 2015.

    • @CodeWithChris
      @CodeWithChris  7 років тому

      It's seems to be well maintained. It was recently updated (a month ago) according to the github page. I think it's still great to use!

    • @manasemichaelmhando8034
      @manasemichaelmhando8034 7 років тому

      Well thanks for the notice, will look into it in my next project. Cheers

  • @RumeshEranga
    @RumeshEranga 8 років тому

    Hi, are there any similar library for Objective C, I see that this is only for swift. :(