Build an AI Assistant Expense Tracker SwiftUI App | Part 1 | iOS/iPadOS | macOS | visionOS | ChatGPT
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
Well done Alfian 👏
Love your dedication to sharing your awesome projects.
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!
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!
Thank you , waiting for part 2
Thank you very much for this valuable tutorial! I can't wait for part 2.
Thank you Alfian...
Great tutorial!
Thank you for the very useful video
you the best .
you are the best
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?
For development and testing purpose, just allow read and write. Check the doc firebase.google.com/docs/firestore/security/get-started
That’s what I ended up doing ahah, thanks!
Thanks for your priject~If firebase not work ,how can I build the git project?
wanted to use this but massive problems with access or even deleting and reinstalling firebase cli..
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.
Can someone Help me? im getting "no such module (UIkit) when building for macOS.....
Hi, you can always refer to the final code in the repo github.com/alfianlosari/AIExpenseTracker
@@XCA can't make it work
when will you make part 2?
Dropping today
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
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 :)
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. :)
@@XCA Akhirnya saya pakai cloud firestore saja, di tunggu part 2 ya , Alfian, Thanks
🎉🎉🎉🎉
not able to run the shared repo - no workspace file available in code
Thanks for reporting. I’ve pushed a new commit to include the xcodeproj file to the repo.
@@XCA Thanks
not able to build getting errors
@@bjp_for_2024 No it runs fine, when is Part 2?
@@truehealthx i tried to run this one