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

Поделиться
HTML-код
  • Опубликовано: 4 дек 2024

Комментарии • 128

  • @midnight_appetite
    @midnight_appetite Год назад +7

    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  11 месяцев назад +1

      You're welcome!

  • @sammusso8073
    @sammusso8073 3 года назад +7

    this was a very solid introduction to saving, editing, creating, and deleting items with CoreData

  • @bigamerico
    @bigamerico 3 года назад +5

    the best introduction to core data CRUD

  • @rohanpatel9797
    @rohanpatel9797 3 года назад +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!!!

  • @bitsurfer0101
    @bitsurfer0101 4 года назад +7

    The way you do things programmatically makes the flow more visible especially for the AppDelegate.

    • @kennygabbara
      @kennygabbara 4 года назад +3

      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.

  • @JackMcDonnell91
    @JackMcDonnell91 Год назад +6

    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  Год назад

      Thanks for watching & great feedback. Check out my swift beginners playlist

    • @friendlyman1422
      @friendlyman1422 Год назад

      How is it going, man?

  • @jamesnwankwo9156
    @jamesnwankwo9156 3 года назад +3

    This video is excellent, short and straight to the point and at the same time, very educative.
    Thank you!

    • @iOSAcademy
      @iOSAcademy  3 года назад +1

      Youre welcome!

    • @ayo_emmanuel
      @ayo_emmanuel 3 года назад

      Essential!. A real definition of scrum master

  • @devonflowers7156
    @devonflowers7156 4 года назад +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!

  • @bald_agent_smith
    @bald_agent_smith Год назад

    So veeeeerrryy straight to the point and educative! Thanx!!!

  • @ashleydube3710
    @ashleydube3710 3 года назад +1

    Hie man, a new follower of this channel from South Africa. Thanx for lesson, works well for the current app I'm building

  • @shrikantwalekar4057
    @shrikantwalekar4057 3 года назад +2

    this video is exact what i was searching for, thanks man

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

  • @Mitchbaum
    @Mitchbaum 3 года назад +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?

  • @rudolphhock1155
    @rudolphhock1155 3 года назад +2

    Nice memory leak reference, I needed to know about that. Liked.

  • @Greybax
    @Greybax Месяц назад +1

    CoreData Studio - native macOS app.

  • @ericsokoine
    @ericsokoine 3 года назад +1

    Great video man. This is going to help out with my first app!

  • @vijaykunal9058
    @vijaykunal9058 2 месяца назад

    Very good explanation.

  • @jaskarangrewal8656
    @jaskarangrewal8656 Год назад +1

    What to do to display the date and time below the text like shown in the starting of the video ?

  • @AdailtonSilvaSP
    @AdailtonSilvaSP 3 года назад

    Tks for the video!! one more time your videos were very helpful to me.

  • @richardsommer4204
    @richardsommer4204 2 года назад

    Nice work! Thanks so much!! What about the check marks shown in the opening images?

  • @skovkatt
    @skovkatt 2 года назад +1

    Nice tutorial! But when I edited the item, it creates the new item instead of editing the existing one. How to fix this???

  • @hypernikomen
    @hypernikomen Год назад

    Great video, thank you! You are really good at explaining programming stuff.

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

  • @cirjeex6412
    @cirjeex6412 4 месяца назад

    If you read this, can you please do a part two for this video where you read saved items from another view controller?

  • @tientranminh9564
    @tientranminh9564 4 года назад +2

    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

  • @sachinkakde2004
    @sachinkakde2004 9 месяцев назад +1

    28:32 review

  • @guvenkaranfil
    @guvenkaranfil 3 года назад +1

    Hi! Great introduction to Core Data for beginners

  • @somebody5106
    @somebody5106 3 года назад +1

    Nice, but Can you show how to perform all those functions when you have multiple text fields on a view controller ?

  • @md.tipusultan9629
    @md.tipusultan9629 2 года назад +1

    Thank you brother

  • @linkx1134
    @linkx1134 3 года назад

    Hi, great intro to CoreData, thanks for the guide and clear explanation!

  • @runningman7001
    @runningman7001 8 месяцев назад

    Hi! How do I add time to each event? Why don't we use a variable “date”?

  • @irvinakocan7859
    @irvinakocan7859 9 месяцев назад

    such a great tutorial! thank you very much! 🤗🥰

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

  • @iSubhoo
    @iSubhoo 6 месяцев назад

    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.

  • @bitsurfer0101
    @bitsurfer0101 4 года назад +4

    Does anyone feel that the audio is a bit low?

  • @chubakv
    @chubakv 3 года назад +2

    Быстро, просто, ОТЛИЧНО! Огромное спасибо!

  • @clipped3411
    @clipped3411 3 года назад

    I love this man 👍🏾👍🏾👍🏾👍🏾 keep me coming

  • @relax_music668
    @relax_music668 Год назад

    感谢作者的分享,非常有用🎉🎉

  • @whitelotusdeveloper9105
    @whitelotusdeveloper9105 2 года назад

    gap yo bratan, yaxshi chiqibdi👍👍👍

  • @abdulrahmanalhaftaa5764
    @abdulrahmanalhaftaa5764 3 года назад +1

    u r the best , thank u ♥️

  • @wyattmurr9933
    @wyattmurr9933 3 года назад +1

    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.

  • @wyattmurr9933
    @wyattmurr9933 3 года назад +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 года назад +1

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

  • @shadman19299
    @shadman19299 3 года назад

    Can I actually call the createItem func from another view controller? If I can how can I do that ?

  • @peterjonsson8762
    @peterjonsson8762 3 года назад

    I want multiple lines of information. Can you show us how to ?

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

  • @PiiiPheCarrasco
    @PiiiPheCarrasco 3 года назад

    thanks so much to share your knowledges :D

  • @apbrandom
    @apbrandom Год назад

    Great!

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

  • @somyarathee
    @somyarathee 3 года назад +1

    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

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

  • @laurapotter6321
    @laurapotter6321 3 года назад

    Hi, will the data persist when you delete and reinstall the app?

  • @connorsterne4128
    @connorsterne4128 2 года назад

    is AppDelegate.swift supposed to be automatically created? I don't have it. how can we do this without it?

  • @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 года назад +1

      Yes, absolutely. Like, sub and stay tuned

  • @protogionlastname6003
    @protogionlastname6003 9 месяцев назад

    Thanks for the content, but the video quality at max resolution is atrocious, it's hard to distinguish letters

  • @dugrut1325
    @dugrut1325 2 года назад +1

    Hello, you're volume is so low, I'm cranked to the max.

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

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

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

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

  • @andyal868
    @andyal868 3 года назад +2

    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 года назад +1

      @@foojiajieng7428 I just created a separate folder by this name and added these files into it and the error was gone

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

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

  • @zion3762
    @zion3762 3 года назад

    thx😊

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

  • @CaronKim
    @CaronKim 3 года назад

    How can i copy just 1 line in xcode? I mean Command

  • @victorriurean
    @victorriurean 2 года назад

    nice

  • @PatVal4ntine
    @PatVal4ntine 2 года назад

    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

  • @br.kelvin1901
    @br.kelvin1901 3 года назад +1

    Hi

  • @andreymomot7599
    @andreymomot7599 2 года назад +1

    👍🏻

  • @NallamsettyLakshmidevi
    @NallamsettyLakshmidevi 24 дня назад

    Send the code for me man

  • @dugrut1325
    @dugrut1325 2 года назад +1

    ... GO AHEAD ...

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

  • @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 3 дня назад

    25:12