WIth chase you can export it as an Excell. had set up a function in py to import all of the data from my bank and into my budget excell file. imported 3 years of expenses.
Your videos are great quality I have seen many tutors and code videos over 20 years and your stuff is very clear the only thing I would ask is if could talk a bit slower the commentary is very fast at times.
Hi Dara, amazing instructions so far. However, I could not load the JSON file in the transaction list model. Please how can I fix it? Thanks so much in advance
How can we use this as an actual app on our phones? I've completed the full video course and everything works well in development, but how can I/family members use this on their actual devices?
There is 2 ways: First, publish it to the App Store and let people download it. Secondly, attach each iPhone to the computer that you develop on. Once connected you will be prompted on your phone to trust the attached computer. When you click yes, the iPhone will appear as a runtime environment in Xcode. Instead of the iPhone 13 Simulator as the runtime Environment, select your phone and press the run button. It will need a minute but the app will then be installed on your phone and you can use it. Bear in mind, that unless you created backend functionalities to connect to your bank Account , the app will just be a nice looking App on your phone.
Double check that Transaction struct definition is the same and doesn't have any typo in variable names: struct Transaction : Identifiable, Decodable { let id: Int let date: String let institution: String let account: String var merchant: String let amount: Double let type: TransactionType.RawValue var categoryId: Int var category: String let isPending: Bool var isTransfer: Bool var isExpense: Bool var isEdited: Bool var dateParsed: Date{ date.dateParsed() } var signedAmount: Double { return type == TransactionType.credit.rawValue ? amount : -amount } }
Hi Dara Thank you for the video. It is an awesome vide for learning. While practicing, I received an error at 40 min while building the code. Error: Error fetching transactions: The data couldn’t be read because it is missing. I am using the same URL and it is working when opened in browser but Swift is unable to read the contents. What am I missing here?
Double check that Transaction struct definition is the same and doesn't have any typo in variable names: struct Transaction : Identifiable, Decodable { let id: Int let date: String let institution: String let account: String var merchant: String let amount: Double let type: TransactionType.RawValue var categoryId: Int var category: String let isPending: Bool var isTransfer: Bool var isExpense: Bool var isEdited: Bool var dateParsed: Date{ date.dateParsed() } var signedAmount: Double { return type == TransactionType.credit.rawValue ? amount : -amount } }
hello so after minute 22:08 where one adds "transation.dateparsed" in teh transactionRow it says that it cant find date in the scope in the TransactionModel? what can i do to fix this?
Hi! Referring to 40:18 on Logged Data, I'm getting the following in my console: ExpenseTracker[26775:889565] [boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics Error fetching transactions: The data couldn’t be read because it is missing. But when I input the given url manually into the browser, I'm actually able to view the json. So why is Xcode unable to read the data? Anyone? Thanks in advance!
Check that the variables names like id, account of transactionModel are exactly same as json. id for id, if you use ID for id it will give error. So, "exactly" do that.
Hi Dara- I enjoyed building the Expense Tracker App with you but I ran into a problem at the end. The build was successful but then I got and error in the simulator and no display on my phone . The error in the debug console is "[boringssl] boringssl_metrics_log_metric_block_invoke(153) Failed to log metrics.”
Check the naming of the variable in the Transaction struct vs. the variable naming from the json file. If the naming is not exactly as in the JSON Document, the JSONDecoder throws a cryptic message like the one you have. In Preview it works since you overwrite it with the previewData Asset transactionListPreviewData - This is only for preview though. Once you build, this asset vanishes and it loads the data through the URL Session as intended. This will crash the app as the TransactionListViewModel can not be loaded.