User Experience and Animations in SwiftUI app | Todo List #5

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

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

  • @daniruiz931
    @daniruiz931 3 года назад +9

    I'm amazed how fancy and easy it is to make these animations! It really got me excited to really practice iOS development everyday and become fluent at it! Thanks a lot for the video!

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

      Me same 🤣🙈 have so much fun

  • @수학쌤우리소쌤
    @수학쌤우리소쌤 3 года назад +1

    Awesome, amazing, wonderful 😍😍😍

  • @Nick-gj9gz
    @Nick-gj9gz 3 года назад +2

    This is treasure

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

    You are the best

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

    my god this is so fun and cool

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

    What on earth have i just learned!!! this is insane

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

    Hi Nick, I've been loving your content and have so far gone through the initial boot camp and now I'm in progress on this. All I knew before hand was some very basic HTML and JSON so it's been a wild ride. Thank you for making this in such an accessible way!
    In addition to thanking you I just wanted to mention that for some reason this video is only available in 380p. I've tried it on a couple different devices and networks but it only ever offers 380p. It didn't super effect my ability to follow but it was enough for things to be a bit blurry. May just be a RUclips issue but thought I should mention it just in case.

  • @dr.craigcurphey4829
    @dr.craigcurphey4829 3 года назад +3

    Weird ... in Xcode 12.5 beta 3, in NoItemsView it will not preview, failing on this line: .padding(.horizontal, animate ? 30 : 50) - but it runs on Xcode 12.4. So 12.5 says the 30 or the 50 are not the right format. Just a fyi ...

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

      That's strange. What's the specific error message? Does it go away if you add 30.0 instead of 30?

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

      @@SwiftfulThinking I had the same problem, it doesn't go away from adding .0 after. The error says "result values in '? :' expression have mismatching types 'Double' and 'CGFloat'

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

      @@RainnBowwDashh This seems like a compiler issue. Doubles and CGFloats are both numbers so Xcode is just getting confused. You can force cast it to a CGFloat using CGFloat(30) and CGFloat(50).

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

      @@SwiftfulThinking This worked! Thank you! Your videos have been so helpful.

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

      More interesting. Only one of the two numbers needs the CGFloat(). Both works too.

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

    Amazing!!! 😊 Thanks for sharing!!!

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

    So nice

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

    Thank you so.... it was really big deal! Good luck for you, it was perfect))

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

    Love this animation, Thank you for the video!🥳

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

      Thanks Tom! It's a simple animation, but it does the job haha

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

    Nice animation.

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

    Hey buddy, another great video.
    Noticed another thing, you do not use @State Private var even for local variables. IS there a difference in memory efficiency between @State var and @State private var, or it doesn't really matter?

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

      That's actually a great point Irfan. I SHOULD be using "@State private var" in these videos. I've just been in the habit of making beginner lever videos so I forget to add it in. It shouldn't be hard to go back and update lol..... Generally speaking, everything in your app should always be as private as possible. It's less of a "memory" issue and more of an "accessibility" issue. By making something private, we are safe checking that it is never mistakenly used somewhere else in the code. It also lets other developers know that it will only be used within the current file.

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

      @@SwiftfulThinking yea thats cool, setting to private is better, but i understand that its ok not to in tutorials

  • @박성수-u3v
    @박성수-u3v 2 года назад

    this is Great! Thank you!

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

    My project is different, I do not see the Navigation Title bar when the NoItemsView() is running. When I click the Add button everything works great. I can not see why the difference.

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

    hello there , thanks for providing this tutorial , I have a question : when I build the project this error show every time : Thread 1: EXC_BAD_ACCESS (code=2, address=0x16ee8bff0) please help me :(

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

    Nick my man😎 started your series 3weeks ago I’m almost to the crypto section

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

    thanks bro

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

    Hi Friends, I probably made a mistake somewhere, but I can't find it: in the application preview the "Add Something" button works nice but not in the simulator. What could be wrong? Otherwise, thanks a lot for this course.

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

    W channel

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

    I like it!

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

    Thanks so much!

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

    I just noticed that I can't edit the content of the todo; we didn't code that ability. Edit just allows the toggle from complete to not. How about adding the ability to edit the actual text...and making it multiline?

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

      Hey Ken! The logic to do this would be very similar to updating the completed state, except you update the text in the struct instead!

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

      @@SwiftfulThinking OK, but the tap gesture for the line item is calling the update for the iscompleted. How would we differentiate between completing the todo and editting the title? Can the tap gesture for the completion be focused on the image and tapping the title text trigger the update on the text only??

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

      @@kenturnbull9679 Yes, you can do that if you'd like! You can add the .tapGesture on to any component you'd like. You can also add multiple .tapGestures and have them execute different functions.

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

    • needed to know that exclamation mark looks unfriendly((
    • the button is overloaded with animation
    • when button is shown , edit and add buttons need be hidden

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

    😇

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

    12:29

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

    Buy M1. I don't know that I have a fan on my MacBook Pro M1 ;)