👋 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
@calebhermann2 жыл бұрын
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!
@CodeWithChris2 жыл бұрын
Core Data is a tough cookie to get at first, glad we were able to help! @AdrienVillez
@SejutiSharminMethila9 ай бұрын
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.
@CodeWithChris9 ай бұрын
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
@artemstarovoyt96152 жыл бұрын
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!
@CodeWithChris2 жыл бұрын
Your comment made our day, Artem! Thank you so so much! -Arthur
@pratyushclasher4994 жыл бұрын
After watching your video...i am really improving my coding skills.... Thanks for help.....💗💗💗💗
@CodeWithChris4 жыл бұрын
Glad to hear that! - Kat
@konstantin2154 жыл бұрын
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!
@CodeWithChris4 жыл бұрын
Thanks for the feedback! - Kat
@s.mohammadmousavi46847 ай бұрын
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.
@abymathew5754 жыл бұрын
Your coredata tutorial is the best and simple clean tutorials I’ve ever experienced.
@CodeWithChris4 жыл бұрын
Wow, thanks! - Kat
@TitouanYT3 жыл бұрын
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)
@CodeWithChris3 жыл бұрын
You are truly a legend! We value your support so much! :-) -Arthur
@spectre__et3 жыл бұрын
Amazing Explanation man. Thanks alot.. That really cleared so much about CoreData
@CodeWithChris3 жыл бұрын
Cheers, Abdul! Keep on going! :-) -Arthur
@vladc.53112 жыл бұрын
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
@CodeWithChris2 жыл бұрын
Thank you for the kind words!! - Pat
@manojguggilla22885 ай бұрын
I appreciate your reply for every Comment
@mrmihawkgaming89512 жыл бұрын
Bro!!!! Thanks a lot. Your video on Core Data help me to understand many concept of it. You are the best teacher buddy.😎
@CodeWithChris2 жыл бұрын
Wow, thank you for your awesome comment. Made our day! -Arthur
@citywitt32024 жыл бұрын
Where has this been all my life :D
@CodeWithChris4 жыл бұрын
Welcome to CodeWithChris! 😀 - Kat
@sheikhbayazid17784 жыл бұрын
it would be great if you’d make a same video for swiftui
@merylt9724 жыл бұрын
I agree that would be awesome
@CodeWithChris4 жыл бұрын
Hello, you can add your requests here: cwc.to/request :) - Kat
@user-ke9bo2fj8x6 ай бұрын
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!
@maaz69122 жыл бұрын
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.
@CodeWithChris2 жыл бұрын
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
@cimoi263811 ай бұрын
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!
@CodeWithChris10 ай бұрын
Glad it was helpful! Thanks for watching! - Iñaki
@joshuafagans75343 жыл бұрын
Fantastic tutorial, just what I needed. Thanks!
@CodeWithChris3 жыл бұрын
Awesome, Joshua! :-)
@yukkikatakamuna253 жыл бұрын
I love your videos! Very clear and easy to listen! Thank you always!
@CodeWithChris3 жыл бұрын
Yes, thank you so much for your support, Yukki! We appreciate you a ton! :-) -Arthur
@anamikachourasia25373 жыл бұрын
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. ✌️😄👏
@CodeWithChris3 жыл бұрын
And you are one of the kindest and most promising students that we have. You'll only get better and better, Anamika! :-) -Arthur
@shawnfrank53033 жыл бұрын
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 ?
@CodeWithChris3 жыл бұрын
"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"
@SylsMusicRoom3 жыл бұрын
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
@CodeWithChris3 жыл бұрын
Glad that our lessons helped you! Keep on going! -Arthur
@DD-hh3sp2 жыл бұрын
You're a great teacher, Chris. Well done, as with all of your videos!
@CodeWithChris2 жыл бұрын
And you're a great student for sure. Thanks for learning with us! -Arthur
@flexyfishy80784 жыл бұрын
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!
@CodeWithChris4 жыл бұрын
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
@curtisjones99883 жыл бұрын
Thank you for bringing brevity and order to the topic. Hours of searching and this video helped me implement it all.
@CodeWithChris3 жыл бұрын
Glad to know this! Keep on going! -Arthur
@victorsebastian7322 жыл бұрын
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!
@CodeWithChris2 жыл бұрын
Super appreciate your support, Victor! All the best! -Arthur
@programming55232 жыл бұрын
Chris is the best out their his explaining is very clear and precise.Thanks for all the useful content.
@CodeWithChris2 жыл бұрын
Thank you for the kind words! :) - Pat
@Mrinal7653 жыл бұрын
Struggling to learn CoreData from a long time. You sorted it out. Thank you. :)
@CodeWithChris3 жыл бұрын
Cheers! Happy to hear this! -Arthur
@user-hs8ef2lz3x8 ай бұрын
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.
@edwardjob14373 жыл бұрын
Really great tutorial! Explained very clearly👍
@CodeWithChris3 жыл бұрын
Thank you so much, Edward! :-) -Arthur
@sajithtm48643 жыл бұрын
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.
@CodeWithChris3 жыл бұрын
Thank you so so much, Sajith! We always do our best to produce high-quality content for you guys. Your support means everything! :) -Arthur
@kimtipatel72 жыл бұрын
Really nicely explained new version of Coredata
@CodeWithChris2 жыл бұрын
Thank you! - Pat
@ponmaniraja70503 жыл бұрын
Crystal and clear explanation. Thanks Bro. If possible pls post video about create multiple NSManagedObjectContext.
@CodeWithChris3 жыл бұрын
Thank you so much for your kind words! :-) -Arthur
@user-a_fellow_traveler2 жыл бұрын
thanks a lot mate, your explanations are really good and simple, just what i've been looking for
@CodeWithChris2 жыл бұрын
Glad to hear that! - Pat
@francoismajola30143 жыл бұрын
This was very helpful. Hard to come by such a clear presentation of Core Data for beginners. Thank you so much.
@CodeWithChris3 жыл бұрын
Awesome, glad to know that you are finding so much meaning in our tutorials! :-) -Arthur
@sergiopuccini2 жыл бұрын
Wow! Video quality and magnification is great, i can look it on my ipad! Thank you!
@CodeWithChris2 жыл бұрын
Thanks for all the love, Sergey! Spasiba! :) -Arthur
@iYousef9114 жыл бұрын
Can you make in app purchase using SwiftUI not UIKit please
@CodeWithChris4 жыл бұрын
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
@jugglinpagasi3 жыл бұрын
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!
@CodeWithChris3 жыл бұрын
Yay, happy to know this. Keep on having fun learning! -Arthur
@GOKUSUN-lg2ls10 ай бұрын
that's super great! it's very very helpful to me
@seanLeprechaun2 жыл бұрын
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.
@CodeWithChris2 жыл бұрын
Hello, Sean! Kindly post your question in our CodeCrew forum so that our tech support staff can assist you. Thanks for watching! :) -Arthur
@cheesecake22813 жыл бұрын
Great tutorial. cheers
@CodeWithChris3 жыл бұрын
Happy to know this. Thank you! -Arthur
@shivshankargupta40513 жыл бұрын
Thanks man for creating such amazing video. Keep posting..
@CodeWithChris3 жыл бұрын
We highly appreciate you, Shivshankar! Thanks for your kindness! :-) -Arthur
@arthur_darbinyanАй бұрын
Thanks a lot!!!
@comfortablenetworks54153 жыл бұрын
Nice beginner tutorial from a professional informatical perspective. #coredata #learnNextStep
@CodeWithChris3 жыл бұрын
Thank you so, so much! We can't wait to see you grow! :-) -Arthur
@bigmtnstudio2 жыл бұрын
Awesome tutorial. Thanks, Chris!!
@CodeWithChris2 жыл бұрын
Thanks for everything, Mark!
@olegsharov6605 Жыл бұрын
Chris, you are great teacher! Thank you for your effort
@CodeWithChris Жыл бұрын
Thank you for the kind words! :) - Pat
@nikitaalymov58802 жыл бұрын
Excellent lesson! Thank you for this video :)
@CodeWithChris2 жыл бұрын
Thank you for watching! - Pat
@gauravkalele7491 Жыл бұрын
Dude you are awesome ! Very very helpful videos !
@CodeWithChris Жыл бұрын
Glad you like them! - Pat
@user-uw4qv6vy6n3 жыл бұрын
perfect video about core data!!! Thank you
@CodeWithChris3 жыл бұрын
Priviet! Thanks for learning with us. Spasiba! :-) -Arthur
@swiftdevchannel8 күн бұрын
every time i create an nsmnagedobject subclass it tells me entity is ambiguous in the file
@NaveenKumarIOS Жыл бұрын
Hey chris ! , I have learned a lot from your lessons to become a code crew member Thanks :)
@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
@mrmillburnt8 күн бұрын
every time i create a nsmanagedobject subclass it tells me enitity is ambiguous i cant get past it
@user-pu9xn1fw5m3 жыл бұрын
Thank you so much. Your videos have been so helpful!
@CodeWithChris3 жыл бұрын
Yay, we're glad to know that we positively impacted your learning journey. The best is yet to come for you! :-) -Arthur
@ivanlyaskovets68042 жыл бұрын
Awesome tutorial! Thanks a lot!
@CodeWithChris2 жыл бұрын
You're welcome! :) - Pat
@ariangmohamadi32513 жыл бұрын
thank you very much , it help me a lot
@CodeWithChris3 жыл бұрын
You are so welcome! Keep on going! :-) -Arthur
@w0mblemania2 жыл бұрын
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.
@CodeWithChris2 жыл бұрын
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
@vaishnavirathod48222 жыл бұрын
Awesome tutorial. Very nicely explained loved it. Made Easy....Thank you very much
@CodeWithChris2 жыл бұрын
Happy that you liked our tutorial. Keep on going! :) -Arthur
@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?
@ahmadkhattab57003 жыл бұрын
This is a great video with great explanation much love bro
@CodeWithChris3 жыл бұрын
Much love to you too, Ahmad! Salaam! -Arthur
@user-gb1uj3zw6o2 жыл бұрын
Such a great tutorial! Thank you so much!
@CodeWithChris2 жыл бұрын
You are so welcome! Happy to help! -Arthur
@marinaalecriim2 жыл бұрын
thank you so much for this tutorial! you made all this content to be so clear! =)
@CodeWithChris2 жыл бұрын
Appreciate your support, Marina! We're all cheering for you! -Arthur
@gjermundification3 жыл бұрын
@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?
@CodeWithChris3 жыл бұрын
"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"
@muzammalabdulghafoor64182 жыл бұрын
Great video
@CodeWithChris2 жыл бұрын
Thank you! @AdrienVillez
@luisr20334 жыл бұрын
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???
@CodeWithChris4 жыл бұрын
You can get images from pixabay.com, unsplash, or icons8.com - Kat
@TK-tg1hx3 жыл бұрын
What a great video!!! I really want to thank you so much!
@CodeWithChris3 жыл бұрын
You're so welcome, subscribe for more! :-) -Arthur
@pasaninduwaraedirisooriya20083 жыл бұрын
The best explanation as always...
@CodeWithChris3 жыл бұрын
Wow, so humbling. Thank you for learning with us! -Arthur
@devonm Жыл бұрын
Is this still up-to-date enough to be helpful for a novice in 2023?
@TheHungryP0tat0z3 жыл бұрын
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.
@CodeWithChris3 жыл бұрын
"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 Жыл бұрын
So am I right core data is some kind of ORM (object relational mapping) service?
@sairamakula153 жыл бұрын
very useful chris...please do more videos.thank you!!
@CodeWithChris3 жыл бұрын
We sure will make more! Thanks a ton, Sairam! -Arthur
@sairamakula153 жыл бұрын
@@CodeWithChris please do video on table view.
@abduls43214 жыл бұрын
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
@CodeWithChris4 жыл бұрын
Hey there, you've come to the right channel. Start with this Beginner playlist bit.ly/BeginnersPlaylist - Kat
@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.
@aleksejsigaj13733 жыл бұрын
Thank you for this video!
@CodeWithChris3 жыл бұрын
You're welcome, Alexey! :-) -Arthur
@rupu13724 жыл бұрын
Should i watch this video or your previous core data video series?
@CodeWithChris4 жыл бұрын
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-pu9xn1fw5m3 жыл бұрын
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 }
@CodeWithChris3 жыл бұрын
"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"
@monicamarineoffice72434 жыл бұрын
HELLO, CHRIS WHICH SOFTWARE DO YOU USE FOR THE ANIMATIONS IN YOUR VIDEOS AND WHICH SOFTWARE DO YOU USE TO MAKE YOUR THUMBNAIL.
@CodeWithChris4 жыл бұрын
We use Figma/Sketch for editing images and Camtasia for videos. - Kat
@daylightkiller26114 жыл бұрын
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
@CodeWithChris4 жыл бұрын
We use Figma/Sketch for editing images and Camtasia for videos. - Kat
@daylightkiller26114 жыл бұрын
@@CodeWithChris Thanks Chris
@daylightkiller26114 жыл бұрын
@@CodeWithChris Please Chris is there a way you can do a tutorial on Camtasia I Know is not part of iOS App development.
@ElverGalarga-rh6gm4 жыл бұрын
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??
@CodeWithChris3 жыл бұрын
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
@CoachTatecom3 жыл бұрын
well done mate. thank you.
@CodeWithChris3 жыл бұрын
You're so kind! Thanks a ton for your support! :-) -Arthur
@jesuscalleja85373 жыл бұрын
Thanks a lot!, really helpful :D !
@CodeWithChris3 жыл бұрын
Glad to know that we have helped you, Jesus! :-) -Arthur
@maks88353 жыл бұрын
excellent work
@CodeWithChris3 жыл бұрын
Thanks for your kindness! Have fun! -Arthur
@willasaskara4 жыл бұрын
thanks a lot!
@CodeWithChris3 жыл бұрын
You are so welcome, Willa! Have a great day! :-) -Arthur
@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 Жыл бұрын
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 Жыл бұрын
@@CodeWithChris ok, thanks
@jorgecastilleja53562 жыл бұрын
Thank you
@CodeWithChris2 жыл бұрын
You're welcome! - Pat
@user-zi5xh8cb2u3 жыл бұрын
You're GOD!!! Thank you so much!!!!!
@CodeWithChris3 жыл бұрын
You are so welcome! :-) Keep on having fun!
@rapier642 жыл бұрын
Hi Chris, is this course suitable for learning SwiftUI Core Data, as well or not? Thanks a lot for your help!
@CodeWithChris2 жыл бұрын
Yes it is suitable. Enjoy! :) -Arthur
@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!!
@emadelsayed40152 жыл бұрын
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?
@CodeWithChris2 жыл бұрын
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
@edwincreator28554 жыл бұрын
Thanks
@CodeWithChris4 жыл бұрын
Welcome! - Kat
@blownbomb13 жыл бұрын
Quick question, but how did you add the first element "Ted" into core data?
@CodeWithChris3 жыл бұрын
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
@blownbomb13 жыл бұрын
@@CodeWithChris thank you!
@toanuk4 жыл бұрын
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
@CodeWithChris4 жыл бұрын
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
@meichelrendio35103 жыл бұрын
nice explanation
@CodeWithChris3 жыл бұрын
Thanks for the kind words, Michael! :-) -Arthur
@jscorpio19874 жыл бұрын
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.
@CodeWithChris4 жыл бұрын
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
@w0mblemania2 жыл бұрын
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.
@kasunjayasekara30523 жыл бұрын
Thank you very much this is an excellent explanation :). Is that any difference between SwfitUI core data and this tutorial?
@CodeWithChris3 жыл бұрын
"Hello, the concept is generally the same its just that this one is made using Storyboard/UIKit and the other one is SwiftUI - Francis "
@jackmaloney53373 жыл бұрын
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?
@CodeWithChris3 жыл бұрын
"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"
@AviationMaster4 жыл бұрын
import UIKit var CodeWithChris = true var IsTeachingUsCoolStuff = true if IsTeachingUsCoolStuff = true { print("Thanks for your effort! We really appreciate it!") }
@CodeWithChris4 жыл бұрын
Thank you! 🙌 - Kat
@AviationMaster4 жыл бұрын
@@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
@v3lojt3 жыл бұрын
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]
@CodeWithChris3 жыл бұрын
"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 Жыл бұрын
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.
@krishaSadhu3 жыл бұрын
Hello sir, Can you please make a video on login and sign up with coredata? I will be soo greatful to you..
@CodeWithChris3 жыл бұрын
Hello, post your suggestion here: app.productstash.io/codewithchris#/ideas :-) -Arthur