I love the "new"(from the Beginner course) edits! Honestly man, you are a life saver!
@SwiftfulThinking Жыл бұрын
Happy to help!
@Hannappel20007 ай бұрын
I watched all your 77 beginners and now halfway through this . Great job, right speed of explaining. Thanks for that. I honestly would be lost without you as you are addressing the right topics in the right way. One thing I am really struggling with in my app is passing data around. Your courses are great for understanding, when it gets more complex though - do you have an advice how to optimize e.g. environment, the new observable class, bindings, etc. I am often not sure which is the best way of using what when. Any video on that topic would be great.
@dugrut13252 жыл бұрын
I'm back watching Continued Learning. You have the best show on the internet! The best part is, every time I watch, it's like the first time! hahaha
@kavinda_dilshan_paramsoodi5 ай бұрын
I intensionally missed this tutorial year ago, and now I regret doing that. I did it because I was afraid of Core Data even without knowing what it was. But now it just looks simple and easy to understand. Thanks Nick.
@ZefsAl2 жыл бұрын
The best channel, there is nothing on the Internet about this topic!
@IvanObodianskyi Жыл бұрын
Great explanation, thank you! It's already 2023 and your tutorial still top, good job Nick👍
@umarmohammad68413 жыл бұрын
hands down the most useful swiftui videos on youtube
@SwiftfulThinking3 жыл бұрын
Wow, thanks Umar! :)
@rungxanh29012 жыл бұрын
Thank you Nick for the preface at 0:55. It clears it up that I don't need to have both an @FetchRequest variable and Core Data view model at the same time. Very neat 🤝
@arturolatorre3713 жыл бұрын
By far the best SwiftUI channel out there! You deserve a lot more subscribers!
@mmmaria183 жыл бұрын
I really can't thank you enough, you are a savior!! Keep the awesome work!! :)
@Stevesvideoshelf3 жыл бұрын
WooHoo!! Core Data! I've been looking forward to this one! Thanks Nick. Great video!
@SwiftfulThinking3 жыл бұрын
You are cruising though these playlists 😂🥳🥲
@mig123943 жыл бұрын
Thanks. It is the first time that I see somebody who mark core data in the project and use it, the others remake everything
@SwiftfulThinking3 жыл бұрын
Yea, it's great that Apple gives us some template code but it can be hard to understand. I'm happy this helped!
@dugrut13252 жыл бұрын
Thanks for your great training: My first goal is to make a 'Simple' journal app. Tag each entry with the current date:time. Save the entries automatically into CoreData. Recall entries in ScrollView based on Date. Then later automatically tag each entry with current weather:temperature; my current location during entry, then edit entries, allow for dictation, eg. as my knowledge increases.
@natgenesis50382 жыл бұрын
You just make core data easy to me ;thanks so much man
@erenunal15125 ай бұрын
22:05 I cant append new item (orange). Every line of codes are same but it doesnt work on canvas for me. Actually it works on simulator. Does anyone know why?
@ashleym6157Ай бұрын
Having the same problem
@erenunal1512Ай бұрын
@ ıts a bug on canvas
@simonbogh3 жыл бұрын
Probably the best video tutorial/walkthrough I have watched, really nice to see even the standard core data code in the project really well explained, thank you. Question: Do you have a video or could you make an example of using multiple entities and also showcasing one-to-one, one-to-many etc. relations, how it works and how it can be used? /cheers
@simonbogh3 жыл бұрын
Well, I kept watching your videos and it seems like one on core data relationships is coming 😂 thanks mate
@TechRagh3 жыл бұрын
Thanks for your videos! Keep 'em coming👍🏻
@SwiftfulThinking3 жыл бұрын
Thanks Tech Rag, will do! :)
@nevemra5 Жыл бұрын
Very useful information, thanks!
@bbulliard3 жыл бұрын
Such an excellent video! Well done! Thank you
@SwiftfulThinking3 жыл бұрын
Thanks again Bob!!
@rishabhbhatia184717 күн бұрын
I tried SwiftData today and its just so much more simpler and intuitive. Do you plan to make videos on that?
@SwiftfulThinking17 күн бұрын
Yes, I will make SwiftData videos to replace these videos soon.
@PaidAchK Жыл бұрын
Im having a lot of trouble following along, there's been an update and trying to do exactly as you do the view isn't updating with the newFruit to the list. I've searched and I can't seem to find what I am doing wrong
@yrac24093 жыл бұрын
Hello! love your tutorials, it's so easy to understand compared to many others I have watched. I've already started with firebase for the backend and I was wondering if you've ever thought of doing a tutorial on that? Thanks a lot!
@SwiftfulThinking3 жыл бұрын
Hi Amy! Yes, I am planning on doing a Firebase course soon. I just haven't gotten to it yet!
@yrac24093 жыл бұрын
@@SwiftfulThinking Awesome! Love your videos!
@joywu12 жыл бұрын
Hi Nick, I found there is one miss function you didn't introduce in coreData: "move", I can add/ delete/update item, but when I want to do .onMove function, I found when I move the ForEach .onMove it will back to the original order in the entity. even I add saveData() after func move, it more badly afterI click Done it immediately back to the origin order. Can you help to have some advise, or core data cannot use .onMove function?
@natgenesis5038 Жыл бұрын
Thanks so much bro I learn swift in project ,swiftui ,filesytem ,GCD ,core data from you ,…..
@rasheed1andrew3 жыл бұрын
can you always add core data to an already existing project later on?
@pawelpow3 жыл бұрын
Yes!
@Nunny253 жыл бұрын
Thanks,.. I was so afraid to start with CoreData, because it looks so complicated for me. Believe I will understand it with You finally.
@SwiftfulThinking3 жыл бұрын
Yes, it can definitely be challenging. Let me know if you have any questions Charlie :)
@Nunny253 жыл бұрын
@@SwiftfulThinking Hi, I have questions :-) If You have model data (array with inserted data), can You some simply way insert it to entity in one step (structure is the same), or You have to pass array in cycle and insert each item separately? How You can delete all items in entity? Thank You
@Nunny253 жыл бұрын
@@SwiftfulThinking And other very important thing is to get number of items in entity, ... is empty or not.?
@Mahadev-x7u3 жыл бұрын
Thank you for sharing your knowledge...
@SwiftfulThinking3 жыл бұрын
Glad you're enjoying the videos :)
@nicoballmann34003 жыл бұрын
Hey there! Is there a possibility to put the tapGesture on the entire row?
@SwiftfulThinking3 жыл бұрын
Hey Nico, yea you should be able to add a TapGesture to any View in Swift (you can't put it on the ForEach but you can put it on a view inside the ForEach closure).
@relaxingvibes55602 жыл бұрын
Everything works when I use a List to render out the words...but what if I want to create card components? I tried and I only get the last word, not all the words from Core Data
@andresraigoza20823 жыл бұрын
Thank you so much!!! 🙂 I wanted to ask you, how to decide when to use core data or remote data?
@SwiftfulThinking3 жыл бұрын
This is a big question but I'll try to simplify... If there is data that (1) other users need access to, or (2) you want to be saved for the current user to use across multiple devices, then you need to store it in a remote location so that other devices can access it. If it's data only for the current user on the current device, then you can save it locally. There are several options for saving locally, most common is (1) UserDefaults for small pieces of data, (2) FileManager for large data blobs, such as Images/Videos/Audio, and then (3) CoreData when you have a larger data sets that you want to save, such as data Models in your app.
@andresraigoza20823 жыл бұрын
@@SwiftfulThinking Thank you for your quick reply. Very clear answer. You’re great 👍🏻
@aashutoshrimal Жыл бұрын
I am getting the error "executeFetchRequest:error: A fetch request must have an entity.", although I had implemented the same as your code.
@Jump_Jay2 жыл бұрын
Question: I can NEVER pick color literal! Is the a setting you have to adjust in the menus to get that to work? As always, love the great content/education!
@santiagocotanos17353 жыл бұрын
I dont know why at FecthedResults the editor says that item is not in the scope
@SwiftfulThinking3 жыл бұрын
Did you figure it out? You might have to restart Xcode. It happens sometimes..
@rishabhbhatia184718 күн бұрын
This is giving some problems in canvas as well as simulator. Only if I build it on actual iPhone it works. The canvas never shows added item in list and also crashes when I edit the list. The simulator also never saves an item. As soon as I click on add item it gives error in Xcode. I have latest Mac OS and XCode updated. Only if I build on actual device it all works perfectly.
@thisrabbit36732 жыл бұрын
A huge thanks for this series, it helps a lot! While in my trying, I wonder what are the best practices for making core data works with the preview in SwiftUI, in other words, how to preview my customized view component with different (mocked) input data (for example, a blank state, and a state with some data) if this view directly pull data from the core data database using the @FetchRequest?
@Srijonlucky01113 жыл бұрын
Awesome work! Could you please help me, if I have three Entities called Country, State, and Districts. I would like to filter Districts entity depending on selection of State. How it should be done?
@ushadesai63063 жыл бұрын
Following Compiler error appear in the CoreData template app: 1. Generic parameter 'Content' could not be inferred' (in the ***App.swift) 2. Cannot find 'FruitEntity' in scope (in Persistence.swift and ContentView.swift) I have followed the same steps as in the tutorial.
@bgriffin54473 жыл бұрын
Your cpu fan is 🐐
@SwiftfulThinking3 жыл бұрын
It's not good 😭
@aaronefrainchavez563812 күн бұрын
I got a really complicated problem with my App lol. I got 2 diferent Entities but the second one its not recognized by Xcode when I do FetchRequest by time. Help!!!!!!!!!!! I'm just learning with YT so ain't got a Teacher to teach to me.
@vamsi38773 жыл бұрын
Thanks 👍
@SwiftfulThinking3 жыл бұрын
No problem 👍 You are always watching my latest vids! Thanks!
@angelrangel4042 жыл бұрын
Hey men, I want to be like you when I're big!
@东皇太一-s4g Жыл бұрын
他是真的想教会我,我哭死。 He really wants to teach me, I cry to death。 ty
@manzoorahmaddeveloper81113 жыл бұрын
@Денис-ж3ф5р3 жыл бұрын
Core Data is the most difficult topic I've ever happened to deal with.
@SwiftfulThinking3 жыл бұрын
Yea it can be challenging haha. I hope this video helped.
@Денис-ж3ф5р3 жыл бұрын
@@SwiftfulThinking yeah it helps a lot.
@paulmax9155 Жыл бұрын
guard let index = offsets.first else { return } - (...index is not optional) This is extra code, completely useless((