Swift To Do List App for Beginners (Make First App, Xcode 14, 2023, iOS) - Swift 5

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

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

  • @artemshuliak8585
    @artemshuliak8585 4 года назад +14

    Literally started learning UserDefaults and Data Persistence the same day as this tutorial came out, so it came in clutch 😁. Thank you!!!

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

      Youre welcome! Make sure to sub

    • @narenkumar4321
      @narenkumar4321 4 года назад

      How can I delete the text , in this list?

  • @Rassy_
    @Rassy_ 3 года назад +10

    Not sure if I'm the only one, but if you are following the beginner's playlist, this just went from 0 to 100 in an instant. As in the coding part assumed we were somehow comfortable with it

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

      I havent ordered the playlist yet

  • @afixithei.V
    @afixithei.V Год назад

    I'm very new to iOS development but I've been doing Android development for more than 5 years. I'm finding ios development to be more straightforward and happy to learning it

  • @asdf-e3d
    @asdf-e3d 3 года назад +2

    In the previous video, you added the tasks individually into UserDefaults, but in this video you made a string array and appended each task when user clicked the done button in the alert, and added the array into UserDefaults. This one looks much easier to make delete function cause I don't have to think about the indexing. Thank you for your great instructions. They help me a lot.
    And I am realizing how React was an easy library while studying iOS... I really want to move on to SwiftUI

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

    Thanks bro, most of the tutorial do not teach step-by-step or they just don't teach things that can be useful, they just make video about the Documentation... Damn, I'm looking for something beyond, I can read the Docs... You helped me a lot, thanks!

  • @GWH4
    @GWH4 4 года назад +8

    Can you make a follow-up video about deleting entries?

  • @officialserenityzen
    @officialserenityzen 4 года назад +22

    Hey! very helpful! Finished the to do list app! But sometimes you go too fast, especially when a line of code needs to have a set of values. I had to pause the video multiple times. Also your mouse isn't showing so it's really hard to see where you're clicking on. otherwise awesome video

    • @iOSAcademy
      @iOSAcademy  4 года назад

      Great and thanks for the feedback

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

    Hey! Very Helpful. Thanks so much for this. Is there a way to delete those record that has been added from the list.

  • @filipatanasov2367
    @filipatanasov2367 4 года назад +1

    Just started with swift and xcode. Best tutorials! Thanks

  • @abdulvoxidmaxmudov9964
    @abdulvoxidmaxmudov9964 5 месяцев назад

    Thank you for the very useful video!

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

    if i wanted the cell to display 3 different text fields info how would i do that

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

    Thank you for your teaching!!!

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

    I’m teaching myself swift and this is very helpful!

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

      Glad to hear it! Subscribe and stick around

    • @victoriawaschenko
      @victoriawaschenko 4 года назад

      @@iOSAcademy certainly!! I am an interior architect by trade however always had a passion for UIUX and have a background in engineering prior to architecture. I am using my time of unemployment during covid to learn as much as I can about THIS type of architecture!

    • @artemshuliak8585
      @artemshuliak8585 4 года назад +1

      ​@@victoriawaschenko haha, nice to see an architect in the programming section! I am in architecture school right now but also learning IOS development on the side.

    • @victoriawaschenko
      @victoriawaschenko 4 года назад

      @@artemshuliak8585 which program are you in? I graduated Virginia Tech’s program in 2015

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

      @@victoriawaschenko so are u a swift dev now

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

    How do you delete things in the to do items?

    • @mx-xb1vn
      @mx-xb1vn 3 года назад

      you can't, he didn't show us how.
      I can't believe I followed the entire tutorial without realising it until the end. I wasted my time!!

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

    After watching the 6 previous videos in the playlist, you jump right into coding swift without explaining anything about the swift language (besides telling us it was a functional lang in vid 2?) or how the code is structured inside the files. ViewController is 'ContentView' when I create a new project and the structure of the file is not the same out of the gate.

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

    Thanks for the good tutorial. I have now tried to delete the entries again. For this I have used the "editingStyle". After a restart of the app, all the data I deleted are back. As it looks, I do not get the data in the DataSource?

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

      Got it. editingStyle == .delete{ items.remove(at: indexPath.row) tableView.deleteRows(at: [indexPath], with: .fade) .table.reloadData() UserDefaults.standard.setValue(items, forKey: "items") }

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

      @@marcelvolz where do we have to use it can you please tell

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

      @@marcelvolz can you send whole delete function please

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

    Excellent meaningful start for beginners... thanks a lot.

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

    I love the little light blue line indicator to the left. Was that always part of XCode?

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

    Can you please tell me how can I add Delete option?

  • @AB-TheDevOpsGuy
    @AB-TheDevOpsGuy 4 года назад +2

    What are the prerequisites I need, so that I can understand the project?

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

    Hey!! Thank U very Much, very helpful

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

    and when we've done one of our to do task, how do we remove it ??

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

    How can we delete any task from our app?

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

    It was soo helpful. Can u tell me how to delete or remove entered list ?

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

    Thank you

  • @darshannaikm.g8187
    @darshannaikm.g8187 3 года назад

    Hello sir, How can we delete the added list. Please send it sir.

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

    How do we delete the things in the to do list

  • @yeulansovetbergen2297
    @yeulansovetbergen2297 4 года назад

    Can u setup your videos color correction. its too grayfull...
    anyways thanks for the content

  • @maxhartung97
    @maxhartung97 4 года назад

    Hi guys, I am a junior iOS developer and I want to make a portfolio with some apps. For the moment I develop a Weather app using MVVM, Alamofire, Models and DiffableDataSources. Do you have any other recomendations for tehnologies to use or what apps I could develop ?

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

    thanks for your video, but i got a warning it says "Exception NSException * "unable to dequeue a cell with identifier cell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard" i am not sure why i have this? is it version problem? or i missed something in coding ?

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

      I keep getting the same thing dude

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

    Excuse me sir, when I press the plus button I get a warning in the console that says: [LayoutConstraints] Changing the translatesAutoresizingMaskIntoConstraints property of a UICollectionViewCell that is managed by a UICollectionView is not supported, and will result in incorrect self-sizing. View:
    I don't understand what it says and I couldn't find what it means to solve it.

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

    at 9:09, what that ".first" do?

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

      This gets the first element in a sequence or collection

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

    Hi. I don't understand this line -> table.register(UITableViewCell., forCellReuseIdentifier: "cell")
    The UITableViewCell.self part... how are you calling self on something that isn't instantiated?

    • @asdf-e3d
      @asdf-e3d 3 года назад

      As I know, the first parameter of table.register() method expects an argument typed with AnyClass which is the type alias of AnyObject.Type. It is waiting for receiving the 'type' of a class and Class.self is a way of passing the type of the Class. Search on google 'using type as a value in swift'.

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

    I get this error on the first line :)
    Cannot convert value of type '() -> _' to specified type 'UITableView'
    Why could it be?

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

      Had the same problem. You need to put () behind the } so >> } () and it has to return table

  • @haroonmazhar5212
    @haroonmazhar5212 4 года назад +1

    gps type app plz

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

    I really like this swift for beginner videos. But I would also like to say that it sometimes goes a lite bit too fast. A little bit slower would be great so
    it´s easier to code along. Otherwise great videos I would like to se more Swift for beginner videos!

  • @_oli-yd8bv
    @_oli-yd8bv 3 года назад

    It is not working for me. I am having 7 error messages in xCode after just 3min…….. i am on the latest xCode and i am using storyboard… sorry for my bad knowledge, this is my first ever project

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

    delete for item
    func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
    tableView.deselectRow(at: indexPath, animated: true)
    let item = items[indexPath.row]
    let sheet = UIAlertController (title: "Are you sure?", message: nil, preferredStyle: .actionSheet)
    sheet.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: nil))
    sheet.addAction(UIAlertAction(title: "Delete", style: .destructive, handler: { [weak self] _ in
    self?.items.remove(at: indexPath.row)
    var currentItems = UserDefaults.standard.stringArray(forKey: "items") ?? []
    currentItems.remove(at: indexPath.row)
    UserDefaults.standard.setValue(currentItems, forKey: "items")
    UserDefaults.standard.removeObject(forKey: item)
    UserDefaults.standard.synchronize()
    self?.table.reloadData()
    }))
    present(sheet, animated: true)
    }

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

    Great way of teaching but plz do the things a bit slow developer is too fast

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

    Gotta play this video in 0.5 speed to keep up

  • @Rz-m2x
    @Rz-m2x Год назад

    Bro just went from first to top gear. and me being the beginner feeling chooosed the wrong field 😔

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

    8:00

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

    it's literally like displaying the codes not a tutorial

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

    goign way to fast

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

      and didnt explain alot

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

      Thanks for the feedback

  • @user-qo3ih7vj4n
    @user-qo3ih7vj4n 2 года назад

    You're going too fast and not explaining enough

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

    very fast.. i cant understand i just did whatever he did