Core Data To Do List App for Beginners (Xcode 12, Swift 5, iOS Basics) - Development

  Рет қаралды 83,186

iOS Academy

iOS Academy

Күн бұрын

Пікірлер: 128
@midnight_appetite
@midnight_appetite Жыл бұрын
I've been an iOS engineer now for a bit over two years and I just want to say... thank you. Without your help I wouldn't be where I am today. Thanks man.
@iOSAcademy
@iOSAcademy Жыл бұрын
You're welcome!
@sammusso8073
@sammusso8073 3 жыл бұрын
this was a very solid introduction to saving, editing, creating, and deleting items with CoreData
@rohanpatel9797
@rohanpatel9797 3 жыл бұрын
This is what I have been looking for for I don't know how long. Thank you soo much. You just gained your biggest fan and subscriber. I can't thank you enough for this. I have been searching for a quick and easy way to edit core data entry/record for the past month. Even apple documentation doesn't have a short and concise way of doing it. You are a life saver!!! tysm!!!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcone!
@JackMcDonnell91
@JackMcDonnell91 2 жыл бұрын
this was my first video of yours! I'm brand new to swift and xcode so this was a steep learning curve. My mission was to basically copy everything I saw from you and try and figure out the errors myself, learn some of the why along the way. ChatGPT was great for helping me find my typos and other errors. As far as what most of the functions do and why they need to be written as they are is still lost on me, but i'm sure you'll have other videos on that. Thanks for making this though, the start of my Swift journey!
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Thanks for watching & great feedback. Check out my swift beginners playlist
@friendlyman1422
@friendlyman1422 Жыл бұрын
How is it going, man?
@bigamerico
@bigamerico 3 жыл бұрын
the best introduction to core data CRUD
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks!
@bitsurfer0101
@bitsurfer0101 4 жыл бұрын
The way you do things programmatically makes the flow more visible especially for the AppDelegate.
@kennygabbara
@kennygabbara 4 жыл бұрын
I try to avoid using storyboards and nibs as much as possible which is why I love his videos. Personally I delete the main storyboard completely but I guess that's just a matter of preference.
@devonflowers7156
@devonflowers7156 4 жыл бұрын
Hey, soon to be SWE grad here. Know Android studio well enough, but I'm trying to make an IOS app over this break just to learn how to develop in swift as well. Your videos have been the best at helping me turn my ideas into working code. Thanks a ton, I'll be subbing and coming back for plenty more over the next 3 weeks!
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Glad I can help!
@jamesnwankwo9156
@jamesnwankwo9156 3 жыл бұрын
This video is excellent, short and straight to the point and at the same time, very educative. Thank you!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome!
@ayo_emmanuel
@ayo_emmanuel 3 жыл бұрын
Essential!. A real definition of scrum master
@ashleydube3710
@ashleydube3710 3 жыл бұрын
Hie man, a new follower of this channel from South Africa. Thanx for lesson, works well for the current app I'm building
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks
@ThisDaniYT
@ThisDaniYT Жыл бұрын
Thank you for such a nice and calm video, man. I'm an Android developer, trying to learn the basics of of iOS with swift. I can only advice you to increase the volume; headphones were mandatory due to the low level. Otherwise, everything was nice. I'll stay around.
@bald_agent_smith
@bald_agent_smith Жыл бұрын
So veeeeerrryy straight to the point and educative! Thanx!!!
@shrikantwalekar4057
@shrikantwalekar4057 3 жыл бұрын
this video is exact what i was searching for, thanks man
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome!
@ericsokoine
@ericsokoine 3 жыл бұрын
Great video man. This is going to help out with my first app!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks
@rudolphhock1155
@rudolphhock1155 4 жыл бұрын
Nice memory leak reference, I needed to know about that. Liked.
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Thanks!
@vijaykunal9058
@vijaykunal9058 4 ай бұрын
Very good explanation.
@wyattmurr9933
@wyattmurr9933 3 жыл бұрын
At 7:25 when I added func deleteItem(item: ToDoListItem) {, it gives me an error saying, "Cannot find type 'ToDoListitem' in scope". I've tried twice with a new project in case I was missing something, but that same error keeps happening. Any idea what I'm doing wrong?
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Did you declare the item object?
@wyattmurr9933
@wyattmurr9933 3 жыл бұрын
@@iOSAcademy How do I check if I did? I added it as an entity in CoreDataExample.xcdatamodel, but I don't know if I declared it or not.
@hypernikomen
@hypernikomen Жыл бұрын
Great video, thank you! You are really good at explaining programming stuff.
@iOSAcademy
@iOSAcademy Жыл бұрын
Glad it was helpful!
@Greybax
@Greybax 2 ай бұрын
CoreData Studio - native macOS app.
@AdailtonSilvaSP
@AdailtonSilvaSP 3 жыл бұрын
Tks for the video!! one more time your videos were very helpful to me.
@irvinakocan7859
@irvinakocan7859 10 ай бұрын
such a great tutorial! thank you very much! 🤗🥰
@iOSAcademy
@iOSAcademy 10 ай бұрын
Your welcome
@Mitchbaum
@Mitchbaum 3 жыл бұрын
could you make a video explaining how to implement core data into an existing project that uses user defaults? by replacing user defaults with core data?
@guvenkaranfil
@guvenkaranfil 3 жыл бұрын
Hi! Great introduction to Core Data for beginners
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks!
@jaskarangrewal8656
@jaskarangrewal8656 2 жыл бұрын
What to do to display the date and time below the text like shown in the starting of the video ?
@relax_music668
@relax_music668 Жыл бұрын
感谢作者的分享,非常有用🎉🎉
@clipped3411
@clipped3411 4 жыл бұрын
I love this man 👍🏾👍🏾👍🏾👍🏾 keep me coming
@linkx1134
@linkx1134 3 жыл бұрын
Hi, great intro to CoreData, thanks for the guide and clear explanation!
@cirjeex6412
@cirjeex6412 5 ай бұрын
If you read this, can you please do a part two for this video where you read saved items from another view controller?
@skovkatt
@skovkatt 2 жыл бұрын
Nice tutorial! But when I edited the item, it creates the new item instead of editing the existing one. How to fix this???
@whitelotusdeveloper9105
@whitelotusdeveloper9105 2 жыл бұрын
gap yo bratan, yaxshi chiqibdi👍👍👍
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Thanks
@abdulrahmanalhaftaa5764
@abdulrahmanalhaftaa5764 3 жыл бұрын
u r the best , thank u ♥️
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thank you!
@runningman7001
@runningman7001 9 ай бұрын
Hi! How do I add time to each event? Why don't we use a variable “date”?
@meHilo610
@meHilo610 Жыл бұрын
hello i followed your tutorial. just want to know if you have a follow up video about one to many relation in core data
@sachinkakde2004
@sachinkakde2004 11 ай бұрын
28:32 review
@richardsommer4204
@richardsommer4204 2 жыл бұрын
Nice work! Thanks so much!! What about the check marks shown in the opening images?
@md.tipusultan9629
@md.tipusultan9629 2 жыл бұрын
Thank you brother
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Youre welcome
@PiiiPheCarrasco
@PiiiPheCarrasco 3 жыл бұрын
thanks so much to share your knowledges :D
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome
@tientranminh9564
@tientranminh9564 4 жыл бұрын
Can you make a video about using Realm or SQLite database, thanks you so much
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Yes! Ive actually got a realm video already. Search for iOS Academy realm!
@iOSAcademy
@iOSAcademy 4 жыл бұрын
PS: I LOVE realm
@iSubhoo
@iSubhoo 7 ай бұрын
Thank You Sir, Can you please make a Video where we can save a Structure(JSON Data) in CoreData/Document Directory. Specially I want to know how we can convert the structure in to data and again fetct them into real structure. Thank you.
@baumannmaurice195
@baumannmaurice195 4 жыл бұрын
Nice video. Continue that. But I tried that on my own exactly like zu did it but when I try to tip the code it just shows errors and the autocomplete don’t do his job. One question: do I’ve to do create the packages ToDoListItem+CoreData... stuff ? Or can I do it also without them/this ?
@chubakv
@chubakv 3 жыл бұрын
Быстро, просто, ОТЛИЧНО! Огромное спасибо!
@somebody5106
@somebody5106 3 жыл бұрын
Nice, but Can you show how to perform all those functions when you have multiple text fields on a view controller ?
@apbrandom
@apbrandom Жыл бұрын
Great!
@etelot
@etelot Жыл бұрын
Hey, I am new to ios/swift and all that, I am getting "Cannot find type 'AppDelegate' in scope" and the internet is not helping me finding the right solution. would you please?
@wyattmurr9933
@wyattmurr9933 3 жыл бұрын
Amazing, thank you! Are we allowed to use your code for our own app?
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome & absolutely
@wyattmurr9933
@wyattmurr9933 3 жыл бұрын
@@iOSAcademy Thank you! By the way, I just want to say that you're channel is so amazing for beginners like me. I had no idea how to use xcode let alone how to code, but your videos made it very easy. Thank you so much from the bottom of my heart.
@shadman19299
@shadman19299 3 жыл бұрын
Can I actually call the createItem func from another view controller? If I can how can I do that ?
@somyarathee
@somyarathee 3 жыл бұрын
Hi I have a question: When creating the project I dont see the classes AppDelegate, SceneDelegate etc/.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Bc you created it with the swiftui option
@somyarathee
@somyarathee 3 жыл бұрын
@@iOSAcademy how can i change it so that i get the same template as yours??
@gsillis
@gsillis 3 жыл бұрын
@@somyarathee you need to create a project using uikit instead of swiftui
@youtub4444
@youtub4444 4 жыл бұрын
Hi! Could you please tell me or show how to search data from firebase table view in swift? Thank you i will appreciate, if you do so.
@flamydota2propov103
@flamydota2propov103 3 жыл бұрын
Hi, I have a question. When I delete the item from the list and it shows error like this Thread 1: "-[ToDoListItem.ViewController delete:]: unrecognized selector sent to instance 0x7f9cc6d14850"
@burkaytez4947
@burkaytez4947 2 жыл бұрын
With IOS 16 we get this Error Code on console : [Assert] UINavigationBar decoded as unlocked for UINavigationController, or navigationBar delegate set up incorrectly. Inconsistent configuration may cause problems. Any fix for this ?
@AB-TheDevOpsGuy
@AB-TheDevOpsGuy 3 жыл бұрын
I searched a lot about how to place that date below the name but couldn't find any. Could you please assist how to add it there with that size?
@connorsterne4128
@connorsterne4128 2 жыл бұрын
is AppDelegate.swift supposed to be automatically created? I don't have it. how can we do this without it?
@bitsurfer0101
@bitsurfer0101 4 жыл бұрын
Does anyone feel that the audio is a bit low?
@islombabaev
@islombabaev 4 жыл бұрын
Dude could u do some tutorial on how to write a todo list without storyboard (plain UI written fully in code) and with navigations and etc. Ty!
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Yes, absolutely. Like, sub and stay tuned
@duyhieunguyen3902
@duyhieunguyen3902 2 жыл бұрын
Hi iOS Academy, Can you explain for me why I have an error: Value of type 'AppDelegate' has no member 'persistentContainer' ? Thank you
@runningman7001
@runningman7001 2 жыл бұрын
In which variable are all values stored?
@foojiajieng7428
@foojiajieng7428 3 жыл бұрын
Your video are great but aren't you going to show how to display the time (createAt) below the todo list?
@ericzero1621
@ericzero1621 2 жыл бұрын
Hey, if have have solutions how to display time, share in comment
@peterjonsson8762
@peterjonsson8762 3 жыл бұрын
I want multiple lines of information. Can you show us how to ?
@barrywong3503
@barrywong3503 4 жыл бұрын
Could you use Core Data to store images? I'm thinking I'd have to convert the UIImage to a NSData object?
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Yes, you can convert then store
@laurapotter6321
@laurapotter6321 3 жыл бұрын
Hi, will the data persist when you delete and reinstall the app?
@protogionlastname6003
@protogionlastname6003 10 ай бұрын
Thanks for the content, but the video quality at max resolution is atrocious, it's hard to distinguish letters
@hakankumdakc9233
@hakankumdakc9233 3 жыл бұрын
I actually got success by writing these block. let fetchRequest: NSFetchRequest? fetchRequest = Habit.fetchRequest() fetchRequest?.returnsObjectsAsFaults = false let items = try context.fetch(fetchRequest!) as? [ToDoListItem]
@AB-TheDevOpsGuy
@AB-TheDevOpsGuy 3 жыл бұрын
26:20 How did you change it to dark mode?
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Command shift a
@AB-TheDevOpsGuy
@AB-TheDevOpsGuy 3 жыл бұрын
@@iOSAcademy Thank you :) Your videos are so helpful, easier to understand. Kudos to you buddy!
@andyal868
@andyal868 3 жыл бұрын
It gives me error: Can not find type 'ToDoListItem' in scope
@neilbhosle2841
@neilbhosle2841 3 жыл бұрын
Even I'm getting this issue, did you get any answer?
@AD-vd1bh
@AD-vd1bh 3 жыл бұрын
Just try with xCode 12.1 or xCode 12.0 version you won't see errors, I'm not sure what is the issue with xCode 12.4 version, i see same errors.
@foojiajieng7428
@foojiajieng7428 3 жыл бұрын
Same problem here, but when I just run it, the error will gone. I think it just a bug?
@neilbhosle2841
@neilbhosle2841 3 жыл бұрын
@@foojiajieng7428 I just created a separate folder by this name and added these files into it and the error was gone
@zion3762
@zion3762 4 жыл бұрын
thx😊
@iOSAcademy
@iOSAcademy 4 жыл бұрын
your welcome
@dugrut1325
@dugrut1325 2 жыл бұрын
Hello, you're volume is so low, I'm cranked to the max.
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Thanks for the feedback
@CaronKim
@CaronKim 3 жыл бұрын
How can i copy just 1 line in xcode? I mean Command
@victorriurean
@victorriurean 2 жыл бұрын
nice
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Thanks
@PatVal4ntine
@PatVal4ntine 3 жыл бұрын
What if I want to insert more rows of data into db? What should I change in didTapAdd function? let alert = UIAlertController(title: "New Program", message: "Enter New Program", preferredStyle: .alert) alert.addTextField(configurationHandler: nil) alert.addAction(UIAlertAction(title: "Submit", style: .cancel, handler: {[weak self] _ in guard let field = alert.textFields?.first, let text = field.text, //Not sure what do I need to change around here !text.isEmpty else{ return } //I've edited createItem function already self?.createItem(categories: text, exercises: text, repetitions: text, sets: text, weight: text) })) present(alert, animated: true)
@didami7099
@didami7099 3 жыл бұрын
10:45
@NallamsettyLakshmidevi
@NallamsettyLakshmidevi 2 ай бұрын
Send the code for me man
@br.kelvin1901
@br.kelvin1901 3 жыл бұрын
Hi
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Hi there
@andreymomot7599
@andreymomot7599 2 жыл бұрын
👍🏻
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Thanks
@ran6110
@ran6110 4 жыл бұрын
Fully functional?!? But you can’t re-arrange the list. My fully functional version let’s me shuffle the list and asks me to update the date/time to fit within the new location. But you’re the expert so what do I know...
@ozgurshow
@ozgurshow 4 жыл бұрын
all of udemy and youtube tutorials very cursory. they dont care design, functionality or logic. Basically, they are all trash.
@kironet
@kironet 3 жыл бұрын
This video is not about "How to make a TODO List in Swift". This video is about CoreData. ;)
@dugrut1325
@dugrut1325 2 жыл бұрын
... GO AHEAD ...
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Yep, i say it a lot lol
@theamazingteam3064
@theamazingteam3064 3 жыл бұрын
Tried to follow your steps but with the lack of information you were given about tableviews and all of the code i couldnt manage to understand a thing.... You should really focus on explaining every line you wrote for us begginers to really understand-
@LM-pj5nm
@LM-pj5nm Ай бұрын
25:12
@LM-pj5nm
@LM-pj5nm Ай бұрын
27
iOS Core Data QuickStart Tutorial 2020
1:10:58
CodeWithChris
Рет қаралды 105 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Simon Sinek's Advice Will Leave You SPEECHLESS 2.0 (MUST WATCH)
20:43
Alpha Leaders
Рет қаралды 2,1 МЛН
Swift API Calls for Beginners (Networking) - Async Await & JSON
25:35
SwiftUI Masterclass: Build To Do List App
2:42:49
iOS Academy
Рет қаралды 144 М.
How do Graphics Cards Work?  Exploring GPU Architecture
28:30
Branch Education
Рет қаралды 2,8 МЛН
Core Data Tutorial - Lesson 1: Core Data Basics
6:47
CodeWithChris
Рет қаралды 66 М.
HashMaps & Dictionaries, Explained Simply
22:44
Nic Barker
Рет қаралды 9 М.
SwiftData Basics in 15 minutes
15:18
CodeWithChris
Рет қаралды 54 М.
I Made an iOS App in MINUTES with This AI Tool!
13:20
Creator Magic
Рет қаралды 605 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН