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

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ม.ค. 2025

ความคิดเห็น •

  • @vladimirschreiner6226
    @vladimirschreiner6226 11 หลายเดือนก่อน +6

    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 ปีที่แล้ว +4

    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 ปีที่แล้ว +3

    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!!!

  • @appdev1686
    @appdev1686 2 ปีที่แล้ว +4

    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.

  • @BossFloYeaLike
    @BossFloYeaLike 6 หลายเดือนก่อน

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

  • @rafaykakar8964
    @rafaykakar8964 ปีที่แล้ว +5

    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 10 หลายเดือนก่อน

    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  10 หลายเดือนก่อน

      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 10 หลายเดือนก่อน

      @@Indently My pleasure, in deed. If I was continuing my Python development, I would follow your Python videos, also! Be well.

  • @antipov2
    @antipov2 2 ปีที่แล้ว +3

    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 🇮🇳

  • @ricardokaka8896
    @ricardokaka8896 ปีที่แล้ว +1

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

    • @Indently
      @Indently  ปีที่แล้ว

      Glad it helped!

  • @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!

  • @marcusluis_s
    @marcusluis_s ปีที่แล้ว

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

  • @johnpill1
    @johnpill1 2 ปีที่แล้ว +1

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

  • @dgh6565
    @dgh6565 2 ปีที่แล้ว +1

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

  • @gerdausdembergischenland4998
    @gerdausdembergischenland4998 2 ปีที่แล้ว +3

    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

  • @ostanjaffcompany173
    @ostanjaffcompany173 2 ปีที่แล้ว +1

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

  • @TrueMomentsVelogs
    @TrueMomentsVelogs ปีที่แล้ว +2

    why didn't you use ".environmentObject(dataController) " modifier?

  • @MarvelousLXVII
    @MarvelousLXVII 2 ปีที่แล้ว

    Thanks!

    • @Indently
      @Indently  2 ปีที่แล้ว +1

      I really appreciate the support, thank you mate!

  • @kadeus
    @kadeus ปีที่แล้ว

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

  • @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()

  • @LoganDavinci
    @LoganDavinci 7 หลายเดือนก่อน

    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

  • @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?

  • @TrueMomentsVelogs
    @TrueMomentsVelogs ปีที่แล้ว +1

    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?

  • @bodeproppl837
    @bodeproppl837 2 ปีที่แล้ว

    thank you for this great video!!! It is really helpful

  • @richardsommer4204
    @richardsommer4204 2 ปีที่แล้ว

    Thanks so much!! Very helpful!

  • @adamgumm2265
    @adamgumm2265 ปีที่แล้ว

    Extremely…..helpful. 🙏🏼

  • @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

  • @tyrzong
    @tyrzong 2 ปีที่แล้ว

    great tutorial thank you for making this

  • @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 ปีที่แล้ว +1

      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!

  • @everyontech2716
    @everyontech2716 ปีที่แล้ว

    very good video..easy to understand

  • @zjfeng8447
    @zjfeng8447 ปีที่แล้ว

    love this video!!!!❤❤❤

  • @nawodyaishan
    @nawodyaishan 2 ปีที่แล้ว +1

    Great one !

  • @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.

  • @LanPodder
    @LanPodder ปีที่แล้ว

    Isnt DataController just the equivalent of a Repository in spring boot?

  • @relax_music668
    @relax_music668 ปีที่แล้ว

    very good,thanks😊

  • @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"

  • @MarvelousLXVII
    @MarvelousLXVII 2 ปีที่แล้ว +1

    Great video.

  • @ArchitectDorukhanDemir
    @ArchitectDorukhanDemir ปีที่แล้ว

    Thanks Bro 💯🙏🏻

  • @kevincueva4419
    @kevincueva4419 8 หลายเดือนก่อน

    Thank you very much!

  • @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

  • @SOK-gn6hw
    @SOK-gn6hw 2 ปีที่แล้ว +2

    when we edit food time shouldn't change

  • @philippeberl897
    @philippeberl897 ปีที่แล้ว

    How can I populate the database with data? I only want to edit it and run the app with pre-loaded data.

  • @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?

  • @rparham1997
    @rparham1997 ปีที่แล้ว +2

    Getting error "Food not found in scope"

    • @timqiq
      @timqiq ปีที่แล้ว +2

      Restart Xcode.

  • @Mahadev-x7u
    @Mahadev-x7u 2 ปีที่แล้ว +2

    Thank you…

  • @jarvix27
    @jarvix27 2 ปีที่แล้ว +1

    hey bro I need a reddit bot can u make that I will pay

  • @RawanOmar-zn2qm
    @RawanOmar-zn2qm 2 ปีที่แล้ว

    thankssssssssssss

  • @karenghara9383
    @karenghara9383 ปีที่แล้ว +1

    top

  • @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!