iCalories: Full iOS App with Core Data Tutorial in SwiftUI (2022)

preview_player
Показать описание
Today we will be looking at how we can create a full iOS app in SwiftUI with Core Data. We will be creating iCalories, an app that keeps track of the food and calories you eat throughout the day.

00:00 iCalories Demo
01:41 New Project
02:30 Data Model
05:20 DataController
10:35 Injecting the Database
11:21 AddFoodView
15:27 TimeFormatting
17:57 ContentView
30:53 EditFoodView
34:34 Completing the app
Рекомендации по теме
Комментарии
Автор

Even 2 years after release, this is one of the most helpful videos for app development I have ever been watching. Thank you!

vladimirschreiner
Автор

Thank you so, so much.
I've been wanting to make an app using CoreData, but haven't found a tutorial as detailed as this one. I hope you continue to post more videos like this and I'm ready to watch and like all your videos.

Park_Suho
Автор

OMG! I’ve been looking for a video on core data like this!! SO we’ll explained and easy to follow. You are a fantastic teacher. I look forward to more videos from you. I’m a subscriber!!!

zlqvvnz
Автор

Awesome tutorial, precise and simple and with grouping swift files in folders teaching the right practices, this is great for a beginner or someone looking into learning coredata.

rafaykakar
Автор

Brilliant! As a beginner programmer I really appreciate this. Thank you so much!

BossFloYeaLike
Автор

Thank you so much. I really appreciate it. This will help me a lot!

ricardokaka
Автор

Frederico, this tutorial is perfectly placed to learn Core Data and full CRUD functions. I have been following SwiftUI tutorials since SwiftUI was launched, and never have I seen a tutorial that is so straight-forward as yours. Most other tutorials get unnecessarily complicated by adding extra features and methods (e.g. not related to Core Data), which makes it difficult to focus purely on the purpose of the tutorial. I will both subscribe and follow all of your new tutorials. Thank you for your wisdom and generosity in publishing this great tutorial!

WilfClegg
Автор

Great video, very helpful
For the time formatting at 17:13 the condition can be modified to:
minutes < 60 (to  cater for minutes) 
minutes  >= 60 && hours < 24 
Just to avoid i.e 95 minutes.

appdev
Автор

Very well done. Appreciate the play-by-play as you code explaining what each line does.

antipov
Автор

Thank you so much, Core data was so confusing and complex for me before this video. wasted over three days on how to update a particular entry from core data. Love from India 🇮🇳

YogeshSoni-cm
Автор

why didn't you use " modifier?

SwiftDeveloperWorld
Автор

Excellent tutorial and quite simple to understand for those new to core data.

johnpill
Автор

Super nice tutorial. Thanks for sharing the code and pointing out the times. You explained it easily understandable and your code makes sense.

technergy_de
Автор

Thanks a lot !. I just hoped that you could've explained more about how it works. : )

dgh
Автор

Thanks for the tutorial and the clear explanation. This will help me a lot!

marcusluis_s
Автор

Thanks a lot, I learnt a lot. You are the best.

ostanjaffcompany
Автор

The 'timeIntervalSinceNow' value is in milliseconds. Why didn't you first divide by 1000 to convert it to seconds and then divide by 60 to convert it to minutes?

SwiftDeveloperWorld
Автор

I really love this tutorial! A huge thank you! ❤

arnoczkyzoltan
Автор

Thanks Federico for this outstanding CoreData Training,
Is it possible for you to develop an extension to extract the generated data into a PDF sheet as an report, an E-Mail report and a file which can be uploaded to Excel for further use.
Thanks a lot, I ll keep learning and improve my skills for my own application.
Gerd

gerdausdembergischenland
Автор

Great video really thx pls do more with Core data and Custom Calendar

kadeus