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

  Рет қаралды 40,356

Indently

Indently

Күн бұрын

Пікірлер: 68
@vladimirschreiner6226
@vladimirschreiner6226 Жыл бұрын
Even 2 years after release, this is one of the most helpful videos for app development I have ever been watching. Thank you!
@Park_Suho
@Park_Suho Жыл бұрын
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.
@MaryAnnAdelman
@MaryAnnAdelman Жыл бұрын
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!!!
@rafaykakar8964
@rafaykakar8964 Жыл бұрын
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.
@WilfClegg
@WilfClegg 11 ай бұрын
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!
@Indently
@Indently 11 ай бұрын
Thank you for such a positive comment! Unfortunately I don't deal with iOS dev anymore, but I'm happy to hear it was still useful :)
@WilfClegg
@WilfClegg 11 ай бұрын
@@Indently My pleasure, in deed. If I was continuing my Python development, I would follow your Python videos, also! Be well.
@BossFloYeaLike
@BossFloYeaLike 6 ай бұрын
Brilliant! As a beginner programmer I really appreciate this. Thank you so much!
@appdev1686
@appdev1686 2 жыл бұрын
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.
@antipov2
@antipov2 2 жыл бұрын
Very well done. Appreciate the play-by-play as you code explaining what each line does.
@YogeshSoni-c6m
@YogeshSoni-c6m Жыл бұрын
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 🇮🇳
@technergy_de
@technergy_de Жыл бұрын
Super nice tutorial. Thanks for sharing the code and pointing out the times. You explained it easily understandable and your code makes sense.
@Indently
@Indently Жыл бұрын
Glad it helped!
@ricardokaka8896
@ricardokaka8896 Жыл бұрын
Thank you so much. I really appreciate it. This will help me a lot!
@Indently
@Indently Жыл бұрын
Glad it helped!
@TrueMomentsVelogs
@TrueMomentsVelogs Жыл бұрын
why didn't you use ".environmentObject(dataController) " modifier?
@MarvelousLXVII
@MarvelousLXVII 2 жыл бұрын
Thanks!
@Indently
@Indently 2 жыл бұрын
I really appreciate the support, thank you mate!
@johnpill1
@johnpill1 2 жыл бұрын
Excellent tutorial and quite simple to understand for those new to core data.
@marcusluis_s
@marcusluis_s Жыл бұрын
Thanks for the tutorial and the clear explanation. This will help me a lot!
@gerdausdembergischenland4998
@gerdausdembergischenland4998 2 жыл бұрын
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
@dgh6565
@dgh6565 2 жыл бұрын
Thanks a lot !. I just hoped that you could've explained more about how it works. : )
@azamsharp
@azamsharp 2 жыл бұрын
Thank you so much for a wonderful video! Currently, you are using a single class DataController for managing all the operations related to Core Data. What will be your recommendation for a more complicated app. Will you introduce more controllers like CaloriController, FitnessController etc? Thanks again!
@Indently
@Indently 2 жыл бұрын
Such a pleasant surprise to have you comment on one of my videos! I watched a lot of yours when I was learning iOS 😁 It’s been quite a while since I did anything with iOS, so I wouldn’t be able to tell you at the moment. Keep up the great work with your tutorials through!
@azamsharp
@azamsharp 2 жыл бұрын
@@Indently Thanks for wonderful videos.
@bi0hazardd144
@bi0hazardd144 Жыл бұрын
@@Indently Hi Indently, can I ask why you stopped working with iOS development? Did you decide to take a different career path, or was it simply a hobby and your work requires you to work in Python? I would love to hear more about your story, thanks!
@TrueMomentsVelogs
@TrueMomentsVelogs Жыл бұрын
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?
@kadeus
@kadeus Жыл бұрын
Great video really thx pls do more with Core data and Custom Calendar
@ostanjaffcompany173
@ostanjaffcompany173 2 жыл бұрын
Thanks a lot, I learnt a lot. You are the best.
@arnoczkyzoltan6158
@arnoczkyzoltan6158 2 жыл бұрын
I really love this tutorial! A huge thank you! ❤
@ChristianLawrence
@ChristianLawrence Жыл бұрын
Great tutorial, thanks for making. Have you done a tutorial of interacting with an online service for data?
@LoganDavinci
@LoganDavinci 8 ай бұрын
Thank you! Is there a way we can Encrypt and Decrypt data inside Coredata for security purposes? (this was reported for one of our app during PEN testing)
@iowint2298
@iowint2298 Жыл бұрын
Great video! The Add item toolbar item click was not working after the first data entry. it works randomly and ignores a lot of taps on the simulator. After breaking my head and reading about different solutions in the wild. Comparing code & copy pasting each code file separately with the sample code, I realized it works on iphone 14 pro flawlessly. It is showing random issues in iphone 14. Guess there is a bug on apple side and i will think twice before I use a toolbaritem on my real app :P
@richardsommer4204
@richardsommer4204 2 жыл бұрын
Thanks so much!! Very helpful!
@adamgumm2265
@adamgumm2265 Жыл бұрын
Extremely…..helpful. 🙏🏼
@bodeproppl837
@bodeproppl837 2 жыл бұрын
thank you for this great video!!! It is really helpful
@zjfeng8447
@zjfeng8447 2 жыл бұрын
love this video!!!!❤❤❤
@Memes_uploader
@Memes_uploader Жыл бұрын
I dont know will you read it, but you can create extension for NSManagedObjectContext and add there addFood and save and other functions and in the view you could write context.addFood(), context.save()
@tyrzong
@tyrzong 2 жыл бұрын
great tutorial thank you for making this
@everyontech2716
@everyontech2716 Жыл бұрын
very good video..easy to understand
@nawodyaishan
@nawodyaishan 2 жыл бұрын
Great one !
@relax_music668
@relax_music668 Жыл бұрын
very good,thanks😊
@ArchitectDorukhanDemir
@ArchitectDorukhanDemir Жыл бұрын
Thanks Bro 💯🙏🏻
@MarvelousLXVII
@MarvelousLXVII 2 жыл бұрын
Great video.
@kevincueva4419
@kevincueva4419 9 ай бұрын
Thank you very much!
@maryannadelman4438
@maryannadelman4438 Жыл бұрын
well I answered my own question. However, when I click on the item in the list it won't take me to the edit view. Instead, it's a lot of code text in the middle of the screen: (entity: item, ID ......... and on and on. Any idea why this is happening? I followed the tutorial and just made changes to fit my app (Entity is "Item", attributes are "name" and "desc" which are both strings. Any help would be appreciated.
@pierremarais7669
@pierremarais7669 Жыл бұрын
Hi thanks for your video, I have a question, how can I 'import' a .csv file into my Coredata environment? and can I use search function to search through my Coredata entity for specific words, similar to using sql statements, thanks Pierre
@LanPodder
@LanPodder Жыл бұрын
Isnt DataController just the equivalent of a Repository in spring boot?
@TimestampMaster
@TimestampMaster 2 жыл бұрын
Really great video! Do you have any idea how to get rid of the “CoreData: error: +[Food entity] Failed to find a unique match for an NSEntityDescription to a managed object subclass” error whenever you add an item to the list?
@TimestampMaster
@TimestampMaster 2 жыл бұрын
Nevermind. I found a solution. If you were curious, in order to get rid of the error go to your DataController class and add the line static let shared = DataController() Than go find where you created new instances of a DataContoller and replace “DataController()” with “DataContoller.shared” without parentheses
@Mahadev-x7u
@Mahadev-x7u 2 жыл бұрын
Thank you…
@SOK-gn6hw
@SOK-gn6hw 2 жыл бұрын
when we edit food time shouldn't change
@hartleydeviations
@hartleydeviations 2 жыл бұрын
The calories go in increments of ten but I'd like to have any increment, so instead of only 110, 120, etc how could I do 101, 105, 108, etc?
@TheFistRZ
@TheFistRZ 2 жыл бұрын
Very good video! But what do I do if I want to have two data models? I have tried but the app crashes and I get this error: "The fetch request's entity 0x2812288f0 'TheItems' appears to be from a different NSManagedObjectModel than this context's"
@philippeberl897
@philippeberl897 Жыл бұрын
How can I populate the database with data? I only want to edit it and run the app with pre-loaded data.
@rparham1997
@rparham1997 Жыл бұрын
Getting error "Food not found in scope"
@timqiq
@timqiq Жыл бұрын
Restart Xcode.
@RawanOmar-zn2qm
@RawanOmar-zn2qm 2 жыл бұрын
thankssssssssssss
@karenghara9383
@karenghara9383 Жыл бұрын
top
@jarvix27
@jarvix27 2 жыл бұрын
hey bro I need a reddit bot can u make that I will pay
@qianqian888
@qianqian888 Жыл бұрын
very helpful to me, thank you very much~
@kickedanon
@kickedanon 2 жыл бұрын
I had a question. I noticed you were force unwrapping food.name. Is it not possible to get a nil value for food.name with the code we have currently?
@Indently
@Indently 2 жыл бұрын
I think you can just remove the default value of banana from your data model and it should provide nil if there's nothing
@oninizer
@oninizer Жыл бұрын
So helpful! Thank you!
@Indently
@Indently Жыл бұрын
Glad it was helpful!
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН
Todo List using Core Data SwiftUI Xcode Example Tutorial | Part 1
18:14
SwiftData Basics in 15 minutes
15:18
CodeWithChris
Рет қаралды 55 М.
Grafana is the goat... Let's deploy the LGTM stack
5:59
Fireship
Рет қаралды 517 М.
SwiftUI List with Custom Cell & Passing Data
36:27
Sean Allen
Рет қаралды 119 М.
iOS 17 Data Flow with Observation Framework
28:41
Stewart Lynch
Рет қаралды 9 М.
This NEW SwiftUI Feature Is AMAZING | Navigation Stacks
20:05
iOS Core Data QuickStart Tutorial 2020
1:10:58
CodeWithChris
Рет қаралды 105 М.
SwiftUI Data Flow in iOS 17 - Observation & @Observable
7:57
Sean Allen
Рет қаралды 60 М.