iOS Core Data QuickStart Tutorial 2020

  Рет қаралды 101,898

CodeWithChris

CodeWithChris

Күн бұрын

Пікірлер: 282
@CodeWithChris
@CodeWithChris 3 ай бұрын
👋 Our "Launch Your First App" program will help you build up your iOS skills to publish your very own feature rich app even if you’re a beginner starting from scratch. codewithchris.com/plus
@calebhermann
@calebhermann 2 жыл бұрын
I really appreciated how you stuck to Core Data and didn't get lost in the UI of everything. This got me started in a great way. Thank you!
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Core Data is a tough cookie to get at first, glad we were able to help! @AdrienVillez
@SejutiSharminMethila
@SejutiSharminMethila 9 ай бұрын
I am making an iOS app that uses the camera to capture a flower image, classifies it using a pre-trained Core ML model, retrieves additional information from Wikipedia using an API request, and updates the UI accordingly. I want to create a core data local database with machine learning capabilities inside it. That's why I am here watching this tutorial. Very nicely explained all the steps. I will re-watch it again to build a better understanding. Thank you, please don't stop making tutorials.
@CodeWithChris
@CodeWithChris 9 ай бұрын
We're happy that our content gives value to you. We wish you all the best on the project you're working @SejutiSharminMethila! Happy Coding! --Joash
@artemstarovoyt9615
@artemstarovoyt9615 2 жыл бұрын
Hey Chris, I am new to Swift and Core Data but I am fairly proficient Java Developer - I must say your lessons and incredibly informative and you have a very unique ability to cater to both experienced and new developers. I truly enjoy watching your videos! They are amazing!!! Thank you very much!
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Your comment made our day, Artem! Thank you so so much! -Arthur
@pratyushclasher499
@pratyushclasher499 4 жыл бұрын
After watching your video...i am really improving my coding skills.... Thanks for help.....💗💗💗💗
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Glad to hear that! - Kat
@konstantin215
@konstantin215 4 жыл бұрын
Thank. It helped to refresh the memory very quickly regarding CoreData. Very simple and straightforward, and most importantly without unnecessary water. The only thing I want to add is that there is not enough demonstration of how to bind an array to one object, for example, a contact to which a list of messages is attached, because developers, including beginners, often face this. Thanks for the guide!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thanks for the feedback! - Kat
@s.mohammadmousavi4684
@s.mohammadmousavi4684 7 ай бұрын
I was checking several youtube videos and series for learning to work with core data, all of them seemed either to simple or confusing because they jumped to a huge code base really quickly without explaining the core data properly first. Your explanation is perfect and easy to follow. Thanks.
@abymathew575
@abymathew575 4 жыл бұрын
Your coredata tutorial is the best and simple clean tutorials I’ve ever experienced.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Wow, thanks! - Kat
@TitouanYT
@TitouanYT 3 жыл бұрын
Thank you very much ! I'm wondering why this video only has 4k view because it is so good. You really deserve more. PS : i love the way you speak x)
@CodeWithChris
@CodeWithChris 3 жыл бұрын
You are truly a legend! We value your support so much! :-) -Arthur
@spectre__et
@spectre__et 3 жыл бұрын
Amazing Explanation man. Thanks alot.. That really cleared so much about CoreData
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Cheers, Abdul! Keep on going! :-) -Arthur
@vladc.5311
@vladc.5311 2 жыл бұрын
Wow I also gave up on CoreData after watching boring apple presentations then found this tutorial and it's absolutely a breeze to understand the concept now
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Thank you for the kind words!! - Pat
@manojguggilla2288
@manojguggilla2288 5 ай бұрын
I appreciate your reply for every Comment
@mrmihawkgaming8951
@mrmihawkgaming8951 2 жыл бұрын
Bro!!!! Thanks a lot. Your video on Core Data help me to understand many concept of it. You are the best teacher buddy.😎
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Wow, thank you for your awesome comment. Made our day! -Arthur
@citywitt3202
@citywitt3202 4 жыл бұрын
Where has this been all my life :D
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Welcome to CodeWithChris! 😀 - Kat
@sheikhbayazid1778
@sheikhbayazid1778 4 жыл бұрын
it would be great if you’d make a same video for swiftui
@merylt972
@merylt972 4 жыл бұрын
I agree that would be awesome
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Hello, you can add your requests here: cwc.to/request :) - Kat
@user-ke9bo2fj8x
@user-ke9bo2fj8x 6 ай бұрын
Could you please add some more UI elements to show the structure of the family? That should be very helpful for beginners to learn how Core Data works. Thanks!
@maaz6912
@maaz6912 2 жыл бұрын
Chris, thank you for providing such an in-depth and informative tutorial on Core Data. It would be very helpful if you could provide us with the code that you have created in these tutorials. Cheers.
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Hello, kindly post your question in our CodeCrew forum so that our technical support staff can assist you. Go here: codecrew.codewithchris.com/ Thank you! -Arthur
@cimoi2638
@cimoi2638 11 ай бұрын
great tutorial I love how it is in one part and that it's concise I didn't have to skip that much. thank you!
@CodeWithChris
@CodeWithChris 10 ай бұрын
Glad it was helpful! Thanks for watching! - Iñaki
@joshuafagans7534
@joshuafagans7534 3 жыл бұрын
Fantastic tutorial, just what I needed. Thanks!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Awesome, Joshua! :-)
@yukkikatakamuna25
@yukkikatakamuna25 3 жыл бұрын
I love your videos! Very clear and easy to listen! Thank you always!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Yes, thank you so much for your support, Yukki! We appreciate you a ton! :-) -Arthur
@anamikachourasia2537
@anamikachourasia2537 3 жыл бұрын
Thank you very much for making so informative series so that beginners can learn without much difficulty. You are really one of the best developer as well as tutor indeed. ✌️😄👏
@CodeWithChris
@CodeWithChris 3 жыл бұрын
And you are one of the kindest and most promising students that we have. You'll only get better and better, Anamika! :-) -Arthur
@shawnfrank5303
@shawnfrank5303 3 жыл бұрын
Great tutorial and I have to really appreciate the time and effort that has gone into making this so detailed. I have used CoreData with Obj C some time ago so I wanted to refresh my knowledge and I learned so many new things. I would say one thing I was hoping to see was about the migrations if we need to change the DataModel when shipping a new version of the app - does this still need to be done or has Apple taken made this easier somehow ?
@CodeWithChris
@CodeWithChris 3 жыл бұрын
"Hello, supposedly all the datamodels or the ""set-up"" should be the same accross different versions because its an apple ""core"" database.. however, do remember that this is a local only database,, so if the user decides to change phones then the data won't get carried over, for that it would be ideal to check out cloud solutions like Firebase. - Francis"
@SylsMusicRoom
@SylsMusicRoom 3 жыл бұрын
Awesome content! Very clear explanations. Thank you so much for sharing this that will be more than useful for the WatchOS SwiftUI App I'm making
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Glad that our lessons helped you! Keep on going! -Arthur
@DD-hh3sp
@DD-hh3sp 2 жыл бұрын
You're a great teacher, Chris. Well done, as with all of your videos!
@CodeWithChris
@CodeWithChris 2 жыл бұрын
And you're a great student for sure. Thanks for learning with us! -Arthur
@flexyfishy8078
@flexyfishy8078 4 жыл бұрын
Hey Chris, i finished my app today. But i dont know what i can use for data protection. I am using Firebase and all that stuff. Maybe you can make a video on that? I know a lot of people facing this problem👌🏻 Have a great day!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Hello, using Firebase Auth is data protection is in itself, yo u can also limit data access based on firebase rules, i suggest checking firebase documentation for it or maybe some articles - Francis
@curtisjones9988
@curtisjones9988 3 жыл бұрын
Thank you for bringing brevity and order to the topic. Hours of searching and this video helped me implement it all.
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Glad to know this! Keep on going! -Arthur
@victorsebastian732
@victorsebastian732 2 жыл бұрын
Amazing tutorial. Everything was explained in a great way and very understandable. Thanks for the effort to make this long course. Looking forwards to more videos!
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Super appreciate your support, Victor! All the best! -Arthur
@programming5523
@programming5523 2 жыл бұрын
Chris is the best out their his explaining is very clear and precise.Thanks for all the useful content.
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Thank you for the kind words! :) - Pat
@Mrinal765
@Mrinal765 3 жыл бұрын
Struggling to learn CoreData from a long time. You sorted it out. Thank you. :)
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Cheers! Happy to hear this! -Arthur
@user-hs8ef2lz3x
@user-hs8ef2lz3x 8 ай бұрын
It would be great if you could also show how to modify an existing model when implementing Core Data in an existing project, that already has a data model with structs that conform to Codable for json parsing.
@edwardjob1437
@edwardjob1437 3 жыл бұрын
Really great tutorial! Explained very clearly👍
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Thank you so much, Edward! :-) -Arthur
@sajithtm4864
@sajithtm4864 3 жыл бұрын
Excellent delivery of the concepts in a simple way. Amazing presentation 👌. It would be really great if you could make a video on core data multithreading. Thank You.
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Thank you so so much, Sajith! We always do our best to produce high-quality content for you guys. Your support means everything! :) -Arthur
@kimtipatel7
@kimtipatel7 2 жыл бұрын
Really nicely explained new version of Coredata
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Thank you! - Pat
@ponmaniraja7050
@ponmaniraja7050 3 жыл бұрын
Crystal and clear explanation. Thanks Bro. If possible pls post video about create multiple NSManagedObjectContext.
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Thank you so much for your kind words! :-) -Arthur
@user-a_fellow_traveler
@user-a_fellow_traveler 2 жыл бұрын
thanks a lot mate, your explanations are really good and simple, just what i've been looking for
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Glad to hear that! - Pat
@francoismajola3014
@francoismajola3014 3 жыл бұрын
This was very helpful. Hard to come by such a clear presentation of Core Data for beginners. Thank you so much.
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Awesome, glad to know that you are finding so much meaning in our tutorials! :-) -Arthur
@sergiopuccini
@sergiopuccini 2 жыл бұрын
Wow! Video quality and magnification is great, i can look it on my ipad! Thank you!
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Thanks for all the love, Sergey! Spasiba! :) -Arthur
@iYousef911
@iYousef911 4 жыл бұрын
Can you make in app purchase using SwiftUI not UIKit please
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Hello. the libraries to be used should be generally the same, the main difference would be how data is displayed and afterwards, but basically it uses the same base framework (UIKit) - Francis
@jugglinpagasi
@jugglinpagasi 3 жыл бұрын
Chris, I’m totally still using UIKit and Storyboard(I blame you for teaching it to me lol), so this is the good stuff for me! Lol thanks!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Yay, happy to know this. Keep on having fun learning! -Arthur
@GOKUSUN-lg2ls
@GOKUSUN-lg2ls 10 ай бұрын
that's super great! it's very very helpful to me
@seanLeprechaun
@seanLeprechaun 2 жыл бұрын
Love this tutorial. Really easy to follow. I have to build a video tutorial for a project at my office. Do you mind if I ask what tool(s) you use to make these? I love how you're able to fit such a large screen into a smaller window with scrolling rather than making things cramped or tiny.
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Hello, Sean! Kindly post your question in our CodeCrew forum so that our tech support staff can assist you. Thanks for watching! :) -Arthur
@cheesecake2281
@cheesecake2281 3 жыл бұрын
Great tutorial. cheers
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Happy to know this. Thank you! -Arthur
@shivshankargupta4051
@shivshankargupta4051 3 жыл бұрын
Thanks man for creating such amazing video. Keep posting..
@CodeWithChris
@CodeWithChris 3 жыл бұрын
We highly appreciate you, Shivshankar! Thanks for your kindness! :-) -Arthur
@arthur_darbinyan
@arthur_darbinyan Ай бұрын
Thanks a lot!!!
@comfortablenetworks5415
@comfortablenetworks5415 3 жыл бұрын
Nice beginner tutorial from a professional informatical perspective. #coredata #learnNextStep
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Thank you so, so much! We can't wait to see you grow! :-) -Arthur
@bigmtnstudio
@bigmtnstudio 2 жыл бұрын
Awesome tutorial. Thanks, Chris!!
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Thanks for everything, Mark!
@olegsharov6605
@olegsharov6605 Жыл бұрын
Chris, you are great teacher! Thank you for your effort
@CodeWithChris
@CodeWithChris Жыл бұрын
Thank you for the kind words! :) - Pat
@nikitaalymov5880
@nikitaalymov5880 2 жыл бұрын
Excellent lesson! Thank you for this video :)
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Thank you for watching! - Pat
@gauravkalele7491
@gauravkalele7491 Жыл бұрын
Dude you are awesome ! Very very helpful videos !
@CodeWithChris
@CodeWithChris Жыл бұрын
Glad you like them! - Pat
@user-uw4qv6vy6n
@user-uw4qv6vy6n 3 жыл бұрын
perfect video about core data!!! Thank you
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Priviet! Thanks for learning with us. Spasiba! :-) -Arthur
@swiftdevchannel
@swiftdevchannel 8 күн бұрын
every time i create an nsmnagedobject subclass it tells me entity is ambiguous in the file
@NaveenKumarIOS
@NaveenKumarIOS Жыл бұрын
Hey chris ! , I have learned a lot from your lessons to become a code crew member Thanks :)
@CodeWithChris
@CodeWithChris Жыл бұрын
So happy to have you on board! Don't forget to add this link to your tabs: codecrew.codewithchris.com/ See you in the forum! @AdrienVillez
@mrmillburnt
@mrmillburnt 8 күн бұрын
every time i create a nsmanagedobject subclass it tells me enitity is ambiguous i cant get past it
@user-pu9xn1fw5m
@user-pu9xn1fw5m 3 жыл бұрын
Thank you so much. Your videos have been so helpful!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Yay, we're glad to know that we positively impacted your learning journey. The best is yet to come for you! :-) -Arthur
@ivanlyaskovets6804
@ivanlyaskovets6804 2 жыл бұрын
Awesome tutorial! Thanks a lot!
@CodeWithChris
@CodeWithChris 2 жыл бұрын
You're welcome! :) - Pat
@ariangmohamadi3251
@ariangmohamadi3251 3 жыл бұрын
thank you very much , it help me a lot
@CodeWithChris
@CodeWithChris 3 жыл бұрын
You are so welcome! Keep on going! :-) -Arthur
@w0mblemania
@w0mblemania 2 жыл бұрын
Thanks for the tutorial. It was very good! @43:17 You say we're calling self.context.save() from a background thread. Are you sure this is correct? UIAlertAction is being called as a response to a UI event on the main thread, thus it should be guaranteed to call the handler on the main thread, not a background thread. Cheers.
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Hello, kindly post this question in our CodeCrew forum so that our tech support staff can assist you. Go here: codecrew.codewithchris.com. Thank you! -Arthur
@vaishnavirathod4822
@vaishnavirathod4822 2 жыл бұрын
Awesome tutorial. Very nicely explained loved it. Made Easy....Thank you very much
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Happy that you liked our tutorial. Keep on going! :) -Arthur
@yzhan004
@yzhan004 Жыл бұрын
Hey Chris, first, I have to say your tutorial is so helpful, thanks for providing so many wonderful videos. Then, I have a question on core data, is that only stored in local machine? could the data be shared with other users? for example, if I try to develop an app there has user login, and can I use core data to store all user info? or I have to let my app connect a real db, sql?
@ahmadkhattab5700
@ahmadkhattab5700 3 жыл бұрын
This is a great video with great explanation much love bro
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Much love to you too, Ahmad! Salaam! -Arthur
@user-gb1uj3zw6o
@user-gb1uj3zw6o 2 жыл бұрын
Such a great tutorial! Thank you so much!
@CodeWithChris
@CodeWithChris 2 жыл бұрын
You are so welcome! Happy to help! -Arthur
@marinaalecriim
@marinaalecriim 2 жыл бұрын
thank you so much for this tutorial! you made all this content to be so clear! =)
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Appreciate your support, Marina! We're all cheering for you! -Arthur
@gjermundification
@gjermundification 3 жыл бұрын
@CodeWithChris As pr usual, well taught. Here is my question 14:22 When do you think this is the right way to do it? And when do you think you should rather choose related records through a relationship/edge?
@CodeWithChris
@CodeWithChris 3 жыл бұрын
"Hello, it depends on the design really, in database design it would be ideal to make a separate table and make a relationship as it would make things more scalable and easier to track and have one mega table full of information that may be blank - Francis"
@muzammalabdulghafoor6418
@muzammalabdulghafoor6418 2 жыл бұрын
Great video
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Thank you! @AdrienVillez
@luisr2033
@luisr2033 4 жыл бұрын
What website or app do you use to get images that you use in your Xcode projects and how do you make the quality of those images differ for different phones???
@CodeWithChris
@CodeWithChris 4 жыл бұрын
You can get images from pixabay.com, unsplash, or icons8.com - Kat
@TK-tg1hx
@TK-tg1hx 3 жыл бұрын
What a great video!!! I really want to thank you so much!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
You're so welcome, subscribe for more! :-) -Arthur
@pasaninduwaraedirisooriya2008
@pasaninduwaraedirisooriya2008 3 жыл бұрын
The best explanation as always...
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Wow, so humbling. Thank you for learning with us! -Arthur
@devonm
@devonm Жыл бұрын
Is this still up-to-date enough to be helpful for a novice in 2023?
@TheHungryP0tat0z
@TheHungryP0tat0z 3 жыл бұрын
Hey Chris, really great video. I'm a bit stuck as how to use Core Data with SwiftUI instead of Storyboards. In my project I have a Persistence.swift file and I've been trying to make sense of it but can't find much information about it online, any help or pointers would be appreciated.
@CodeWithChris
@CodeWithChris 3 жыл бұрын
"Hello, it should be possible to link your persistence file but on the appdelegate side so it because globally usable i suggest creating a blank swiftui project with coredata enabled so you can see the appdelagate code that you need, then modify it to your preference - Francis"
@danielcrompton7818
@danielcrompton7818 Жыл бұрын
So am I right core data is some kind of ORM (object relational mapping) service?
@sairamakula15
@sairamakula15 3 жыл бұрын
very useful chris...please do more videos.thank you!!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
We sure will make more! Thanks a ton, Sairam! -Arthur
@sairamakula15
@sairamakula15 3 жыл бұрын
@@CodeWithChris please do video on table view.
@abduls4321
@abduls4321 4 жыл бұрын
Hi Chris, I’m confused to be honest as I see lots of videos to create an app. I need your guidance how can I start creating my own app from start to finish based on my idea that I want to implement for my own business. How to start ? Knowing the basics to stater to advance. Do you have something as a step by step process tell advance and tell I am able to launch my app ??? Please advice
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Hey there, you've come to the right channel. Start with this Beginner playlist bit.ly/BeginnersPlaylist - Kat
@SteveGoodwinAuthor
@SteveGoodwinAuthor Жыл бұрын
The advice regard using and INT64 is incorrect. An INT64 will take up 4 times the disk space, 4 times the bandwith etc over an INT16. An INT 16 will also only take up 2 bytes of memorys, while and INT 64 will take 8 bytes. The achritecture of the chip doesn't reflect the storage requirement of the object. Hence why an 8 bit image only takes up x, a 16 bit image takes up x, a 24 bit image takes up x etc.
@aleksejsigaj1373
@aleksejsigaj1373 3 жыл бұрын
Thank you for this video!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
You're welcome, Alexey! :-) -Arthur
@rupu1372
@rupu1372 4 жыл бұрын
Should i watch this video or your previous core data video series?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Hi there! This video is the stitched version of all the lessons in the Core Data series. So if you want to watch the Core Data series in one seating, this is it. - Kat
@user-pu9xn1fw5m
@user-pu9xn1fw5m 3 жыл бұрын
Hi I'm trying to read core data for a MacOS app and I'm having a lot of difficulty. I would really appreciate some guidance on how to populate this cell with the user data. I don't know where to go from here: func tableView( tableView: NSTableView, viewFor tableColumn: NSTableColumn?, row: Int) -> NSView? {tableView: NSTableView, viewFor tableColumn: NSTableColumn?, row: Int) -> NSView? { guard let userCell = tableView.makeView(with Identifier: NSUserInterfaceItemIdentifier(rawValue: "userCell", owner: self) as? Custom TableCell else { return nil } return userCell }
@CodeWithChris
@CodeWithChris 3 жыл бұрын
"Hello, uhmm, why is this all NS? are you using a very old version of Xcode? i suggest posting this on our community forum so we can take a better look at it.. head over to codecrew.codewithchris.com - Francis"
@monicamarineoffice7243
@monicamarineoffice7243 4 жыл бұрын
HELLO, CHRIS WHICH SOFTWARE DO YOU USE FOR THE ANIMATIONS IN YOUR VIDEOS AND WHICH SOFTWARE DO YOU USE TO MAKE YOUR THUMBNAIL.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
We use Figma/Sketch for editing images and Camtasia for videos. - Kat
@daylightkiller2611
@daylightkiller2611 4 жыл бұрын
Hello Chris, Please what software do you use to create the animations in your videos. And which software do you use to create your thumbnail. Please answer
@CodeWithChris
@CodeWithChris 4 жыл бұрын
We use Figma/Sketch for editing images and Camtasia for videos. - Kat
@daylightkiller2611
@daylightkiller2611 4 жыл бұрын
@@CodeWithChris Thanks Chris
@daylightkiller2611
@daylightkiller2611 4 жыл бұрын
@@CodeWithChris Please Chris is there a way you can do a tutorial on Camtasia I Know is not part of iOS App development.
@ElverGalarga-rh6gm
@ElverGalarga-rh6gm 4 жыл бұрын
Awsome this tutorial. There is some xcode tool (i use 10.3) or third party to check data stored in my entities?? or only i can see them from application who create them??. There are entity constraints??
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Hello, im not sure if there are third party because its a core apple feature but i guess there should be some cocoapods or github projects that you can find for it - Francis
@CoachTatecom
@CoachTatecom 3 жыл бұрын
well done mate. thank you.
@CodeWithChris
@CodeWithChris 3 жыл бұрын
You're so kind! Thanks a ton for your support! :-) -Arthur
@jesuscalleja8537
@jesuscalleja8537 3 жыл бұрын
Thanks a lot!, really helpful :D !
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Glad to know that we have helped you, Jesus! :-) -Arthur
@maks8835
@maks8835 3 жыл бұрын
excellent work
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Thanks for your kindness! Have fun! -Arthur
@willasaskara
@willasaskara 4 жыл бұрын
thanks a lot!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
You are so welcome, Willa! Have a great day! :-) -Arthur
@oldschool84
@oldschool84 Жыл бұрын
Thanks for this tutorial, it's explained so easy to understand. I have a question. I am a beginner and I am currently developing a webshop application. Data is pulled from the Magento backend, via GraphQL and the Apollo client. I need the application to download all data about products and prices while it is online, but to be able to work later in offline mode as well. So when he returns to the online mode, to withdraw all changes and if there are any, to write them in Core Data. Is Core Data a good choice for such a thing?
@CodeWithChris
@CodeWithChris Жыл бұрын
Hey there! We suggest posting on our CodeCrew forum so that our tech support staff can help you. Just visit this link codecrew.codewithchris.com - Pat
@oldschool84
@oldschool84 Жыл бұрын
@@CodeWithChris ok, thanks
@jorgecastilleja5356
@jorgecastilleja5356 2 жыл бұрын
Thank you
@CodeWithChris
@CodeWithChris 2 жыл бұрын
You're welcome! - Pat
@user-zi5xh8cb2u
@user-zi5xh8cb2u 3 жыл бұрын
You're GOD!!! Thank you so much!!!!!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
You are so welcome! :-) Keep on having fun!
@rapier64
@rapier64 2 жыл бұрын
Hi Chris, is this course suitable for learning SwiftUI Core Data, as well or not? Thanks a lot for your help!
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Yes it is suitable. Enjoy! :) -Arthur
@davidnorris9834
@davidnorris9834 Жыл бұрын
Hi there, very interested in Core Data and CloudKit.. I want to develop a simple app to update chess grades for players in the form of a database for local teams in my county. This has to use a formula to calculate grades depending on whether there is a win, draw or loss. I would like it so that I can have a Public database with the data of games played and supply code in the app to calculate a new grade and also possible to have a graph to show the progress of the grade of a player with each game played. I am pretty daunted but I'm gonna stick with it and any advice would be great!!
@emadelsayed4015
@emadelsayed4015 2 жыл бұрын
43:19 how did you know that fetching newPerson will be from the background thread not the main thread when you never created or called a background thread like you did in the main fetchPeople function with calling the main thread?
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Hello, kindly post your concern in our CodeCrew forum so that our tech support staff can assist you. Go here: codecrew.codewithchris.com. Thank you! -Arthur
@edwincreator2855
@edwincreator2855 4 жыл бұрын
Thanks
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Welcome! - Kat
@blownbomb1
@blownbomb1 3 жыл бұрын
Quick question, but how did you add the first element "Ted" into core data?
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Hello, this was because recording the tutorial is done after the whole thing has been made by the team, which is then "redone or rerecorded" for the. video, which means that Ted as a sample when the app was tested before recording - Francis
@blownbomb1
@blownbomb1 3 жыл бұрын
@@CodeWithChris thank you!
@toanuk
@toanuk 4 жыл бұрын
Hi chris. It is good explaination in coredata. But In advance I am or most people use SwiftUI not storyboard every more. It is over 2 years since I've seem it again. More codes and confused.... I like the layout in coredata person relation to family. But not storyboard. If I used swiftUI, please show me CRUD in coredata for swiftUI. Look forward to see it Thanks. Toan Nguyen
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Soon we will focus more on SwiftUI. We will do both actually as Storyboard is beginner friendly. Meanwhile, I found a couple of interesting tutorials for you on Google, feel free to search for more. www.hackingwithswift.com/books/ios-swiftui/how-to-combine-core-data-and-swiftui www.raywenderlich.com/9335365-core-data-with-swiftui-tutorial-getting-started developer.apple.com/forums/thread/650876 @AdrienVillez
@meichelrendio3510
@meichelrendio3510 3 жыл бұрын
nice explanation
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Thanks for the kind words, Michael! :-) -Arthur
@jscorpio1987
@jscorpio1987 4 жыл бұрын
This is why I wish Swift worked nicely with C++. I like being able to create my own persistent storage libraries and it’s so much easier and less convoluted in C++ than anything you can do with Swift.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Hello, there might be some 3rd party library/framework that can be used to run or add c++ files on your project, i suggest looking at options in github or cocoapods - Francis
@w0mblemania
@w0mblemania 2 жыл бұрын
Not often you hear something is "less convoluted" in C++. Usually, it's very much the opposite case. But with CoreData, unfortunately, it retains its reference baggage from ObjectiveC. We need a new SwiftDataStorage framework from Apple, that fundamentally uses value types, with Swift idioms, and a SwiftUI-like API.
@kasunjayasekara3052
@kasunjayasekara3052 3 жыл бұрын
Thank you very much this is an excellent explanation :). Is that any difference between SwfitUI core data and this tutorial?
@CodeWithChris
@CodeWithChris 3 жыл бұрын
"Hello, the concept is generally the same its just that this one is made using Storyboard/UIKit and the other one is SwiftUI - Francis "
@jackmaloney5337
@jackmaloney5337 3 жыл бұрын
Thank you so much for this tutorial, it was immensely helpful! I am unfortunately running into an error. When I try and call the fetchEvents method from a different class with "MyTaskVC().fetchEvents()", I am getting this error when I try and reload the data: "Fatal Error: Unexpectedly found nil while implicitly unwrapping an Optional value: file" but when I call fetchEvents() from the class it's defined in, it works perfectly fine. Any idea how to solve this problem?
@CodeWithChris
@CodeWithChris 3 жыл бұрын
"Hello, it seems you are running it from an external ViewController? or is that just a class that contains the method.. if its just the class you might need to declare it before you use it.. and don't forget to set the delegate if it has one - Francis"
@AviationMaster
@AviationMaster 4 жыл бұрын
import UIKit var CodeWithChris = true var IsTeachingUsCoolStuff = true if IsTeachingUsCoolStuff = true { print("Thanks for your effort! We really appreciate it!") }
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thank you! 🙌 - Kat
@AviationMaster
@AviationMaster 4 жыл бұрын
@@CodeWithChris I wanted to tell you that my app that you helped me make and understand with my first 10 hours of CodeWithChris tutorials since February is finally launched. Without you I would know nothing about swift. Thank you so much man! apps.apple.com/us/app/id1525466396
@v3lojt
@v3lojt 3 жыл бұрын
quick question about relationships would it work the same way if our family entity had an attribute of an array of people? and we just put the attribute type set to transformable? and then set the custom class to [Person]
@CodeWithChris
@CodeWithChris 3 жыл бұрын
"Hello, yes its possible to make a ""Family"" class with an array of members from a ""Person"" class, just make sure you have created the Person class first - Francis"
@xleafr
@xleafr Жыл бұрын
I'm pretty sure the architecture's data width has nothing to do with the size of a Swift Int, but I could be wrong. I am not a Swift expert. I can say for sure that it is irrelevant in C.
@krishaSadhu
@krishaSadhu 3 жыл бұрын
Hello sir, Can you please make a video on login and sign up with coredata? I will be soo greatful to you..
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Hello, post your suggestion here: app.productstash.io/codewithchris#/ideas :-) -Arthur
SwiftData Basics in 15 minutes
15:18
CodeWithChris
Рет қаралды 44 М.
Incredible Dog Rescues Kittens from Bus - Inspiring Story #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 38 МЛН
Just Give me my Money!
00:18
GL Show Russian
Рет қаралды 1,1 МЛН
Intro to Databases (MySQL, CloudKit, Firebase, Core Data, Realm)
20:43
What is JSON - JSON Parsing in Swift
24:15
CodeWithChris
Рет қаралды 74 М.
Data Flow in a SwiftUI App
33:15
CodeWithChris
Рет қаралды 53 М.
Core Data Tutorial - Lesson 1: Core Data Basics
6:47
CodeWithChris
Рет қаралды 65 М.
How To Work With Any API (API Tutorial using URL Requests)
27:07
CodeWithChris
Рет қаралды 125 М.
SwiftUI 2.0: MVVM - A Practical Approach
14:28
BeyondOnesAndZeros
Рет қаралды 32 М.
How to Submit Your App to the App Store (2020)
26:53
CodeWithChris
Рет қаралды 491 М.
Incredible Dog Rescues Kittens from Bus - Inspiring Story #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 38 МЛН