Build an AI Assistant Expense Tracker SwiftUI App | Part 1 | iOS/iPadOS | macOS | visionOS | ChatGPT

Sdílet
Vložit
  • čas přidán 15. 06. 2024
  • This is the first part of a new series where we will build an AI Assistant Expense Tracker SwiftUI App from scratch! #swiftui #iosdevelopment #visionpro #chatgpt
    Timeline:
    00:00:00 Introduction and Demo
    00:04:40 Setup Xcode Project & Firebase
    00:26:08 Models, Utils, & DatabaseManager
    00:40:40 Building Expense Log List View
    01:38:11 Building Expense Log Form View
    01:53:55 Testing & Closing
    Completed Project Repository:
    github.com/alfianlosari/AIExp...
    AI Expense Tracker AI Assistant Demo:
    • AI Assistant Expense T...
    Firebase Website:
    firebase.google.com/
    Install Firebase CLI:
    firebase.google.com/docs/cli
    Cloud Firestore Security Rules Doc:
    firebase.google.com/docs/fire...
    Install Firebase Local Emulator Suite:
    firebase.google.com/docs/emul...
    Firestore Doc:
    firebase.google.com/docs/fire...
  • Věda a technologie

Komentáře • 36

  • @algoswift
    @algoswift Před měsícem +2

    Well done Alfian 👏
    Love your dedication to sharing your awesome projects.

  • @amoxk.6537
    @amoxk.6537 Před měsícem

    Amazing! I always learn so much from your videos, Alfian. Thank you for continually sharing your valuable knowledge with us. I'm really looking forward to part two!

  • @M1ke0xN1ghtHawk
    @M1ke0xN1ghtHawk Před měsícem

    This is great-just like all of your other videos. It's super easy to code along with. I'm looking forward to part 2, hopefully soon!

  • @sumaiyathani1743
    @sumaiyathani1743 Před měsícem +1

    Thank you , waiting for part 2

  • @hamzachaouki3195
    @hamzachaouki3195 Před měsícem

    Thank you very much for this valuable tutorial! I can't wait for part 2.

  • @andrejkling3886
    @andrejkling3886 Před měsícem +1

    Thank you Alfian...

  • @8sync
    @8sync Před měsícem

    Great tutorial!

  • @beckeralison9072
    @beckeralison9072 Před měsícem

    Thank you for the very useful video

  • @namanvaishnav6193
    @namanvaishnav6193 Před měsícem

    you the best .

  • @alfonso6263
    @alfonso6263 Před měsícem

    you are the best

  • @francoisobob
    @francoisobob Před měsícem

    Hey Alfian, amazing tutorial! Can't wait for the Part 2 :)
    PS: I was not able to get emulator data to display in the previews, only from the Cloud when running on Simulator. I even tried with your project (replacing the GoogleService file and the settings.host port with mine that was 9000), without success. There might be something I am missing...
    Edit: Looking at the Requests tab in the emulator, it seems they all been denied. Which rules should I use?

    • @XCA
      @XCA  Před měsícem +1

      For development and testing purpose, just allow read and write. Check the doc firebase.google.com/docs/firestore/security/get-started

    • @francoisobob
      @francoisobob Před měsícem

      That’s what I ended up doing ahah, thanks!

  • @user-pe6yy5eu6i
    @user-pe6yy5eu6i Před měsícem

    Thanks for your priject~If firebase not work ,how can I build the git project?

  • @summerofoz1
    @summerofoz1 Před měsícem

    wanted to use this but massive problems with access or even deleting and reinstalling firebase cli..

    • @XCA
      @XCA  Před měsícem

      Using Firebase CLI is optional, its only for showing stubs in the Xcode Preview without hitting the Cloud. If you want, you don't need to use the CLI, it will fetch the expenses from Cloud directly.

  • @pirothebest1999
    @pirothebest1999 Před dnem

    Can someone Help me? im getting "no such module (UIkit) when building for macOS.....

    • @XCA
      @XCA  Před dnem

      Hi, you can always refer to the final code in the repo github.com/alfianlosari/AIExpenseTracker

    • @pirothebest1999
      @pirothebest1999 Před dnem

      @@XCA can't make it work

  • @abanoubashraf1308
    @abanoubashraf1308 Před 8 dny

    when will you make part 2?

    • @XCA
      @XCA  Před 6 dny

      Dropping today

  • @DAFFIN69
    @DAFFIN69 Před měsícem

    why data from firebase emulator suite nothing show up on my mac or iphone 15 simulator, can you help to solution, alfian?, i follow your code nothing skip , but still nothing show up that data, example like programing book etc, or cofffe , please help

    • @XCA
      @XCA  Před měsícem

      You can check these:
      - Make sure App Transport Security Allow Arbitrary Load key is added to info.plist
      - Make sure you are using correct firestora local emulator port. Start the emulator from terminal and double check the port. Port can be different from the video as it depends on the availability of the port in your local machine.
      - Check whether the expense log from the local emulator has all these fields with valid type: id, name, amount, currency, date, category.
      Otherwise if it still not working, double check the doc firebase.google.com/docs/emulator-suite/connect_firestore or just use the cloud Firestore it provides free monthly quota :)

    • @XCA
      @XCA  Před měsícem

      Also in the video i add a conditional check to run local Firestore when in Xcode Preview. For simulator, it will hit Cloud Firestore.
      You can simply remove that condition or add additional if debug macro. :)

    • @DAFFIN69
      @DAFFIN69 Před měsícem +1

      @@XCA Akhirnya saya pakai cloud firestore saja, di tunggu part 2 ya , Alfian, Thanks

  • @mkhasson97
    @mkhasson97 Před měsícem

    🎉🎉🎉🎉

  • @bjp_for_2024
    @bjp_for_2024 Před měsícem

    not able to run the shared repo - no workspace file available in code

    • @XCA
      @XCA  Před měsícem +1

      Thanks for reporting. I’ve pushed a new commit to include the xcodeproj file to the repo.

    • @bjp_for_2024
      @bjp_for_2024 Před měsícem +1

      @@XCA Thanks

    • @bjp_for_2024
      @bjp_for_2024 Před měsícem

      not able to build getting errors

    • @truehealthx
      @truehealthx Před měsícem

      @@bjp_for_2024 No it runs fine, when is Part 2?

    • @bjp_for_2024
      @bjp_for_2024 Před měsícem

      @@truehealthx i tried to run this one