Chat App using SwiftUI - [Speed Code]

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

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

  • @eric9964
    @eric9964 2 года назад +6

    Great tutorial. Instead of multiple inits in the message, on the first one you could have just done "date: Date = Date()" that way if you didn't add a date, it would just default to the date, eliminating the need for the second initializer.

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

      Yeah you are right. This would definetely be a cleaner way. Thanks for your suggestion :)

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

    🟣 If you need help or just want to chat then join our Discord Community Server: discord.gg/weygDZwgZH

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

    never seen message design done like this before🔥! like how u used the grid and morphed the grid with everything in it to create a nice UI. good job

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

    Are you planing to create a video for load more data in the when scroll down ?
    I try few thing but Not worked for me.
    In your tutorial for chatting app everything is very clear and step by step, so that's why I was looking for this load more data in list tutorial specially from you

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

      Do you mean something like the insta feed, where it loads more posts when you scroll down? :)

  • @SurajBhatt-hg6yz
    @SurajBhatt-hg6yz 4 месяца назад

    Good video . Can you please add up a small part(on click of keyboard message view should also lift-up like whatsapp and other chat apps)

  • @captainMovie66
    @captainMovie66 3 месяца назад

    thank you for your video😍

  • @commentator-life
    @commentator-life 2 года назад +1

    Cool example, but I would also like to include a inputAccessoryView with a keyboard and correct content movement on ScrollView (new messages, scrollview under keyboard, and another moments), After that, immediately + 500 K views on youtube;). But thank’s for that too!) 👍🏼👍🏼👍🏼

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

      If you still have questions about how to automatically scroll to the last message if the keyboard appears, then you can checkout the Discord server. There I have made the code for it available. Also I can help you there with the inputAccessoryView, by giving you code examples. The link to the Community Discord Server is: discord.gg/VucfzfPbz8

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

    I enjoy this tutorial a lot, and it’s a fresh one, not too long ago, hope more contents will be coming soon. Can’t wait 😜

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

    thanks a lot for this video! I searched many videos and this one is really impressive and helpful!

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

      btw, I wonder if you have a github link? which will help a lot

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

    It was the best chat project I've ever watched.😍 How do we select a user from the user list and switch to the messaging screen. I would be very happy if you add this part to the video.🙏

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

    Great Video!

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

    thank you bro, these are really good!

  • @duncanwallace7241
    @duncanwallace7241 11 месяцев назад

    Would love to see a schema design and full implementaiton in iClould database. I will tryi to do it but I know it wont be as smooth as your implementation.

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

    Nice work

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

      Thank you for your feedback sir. Glad you like it

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

    HI Haipp,I notice that Textfiled and keyboard was moved with animation at same time, becuse keyboard avoiding in iOS 14 it helps us to do this. If i wanna the same effect in iOS 13 do you have any suggestions in SwiftUI . As we all know it was easy in swift & Objective-C

  • @nat.serrano
    @nat.serrano 3 года назад

    GREAT VIDEO. do you recommend firestore or real time database to save the data?

  • @tikka6554
    @tikka6554 2 года назад +2

    Can i use swiftui in windows?

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

      Unfortunately not. If you want to develop nativ IOS apps, you need a iMac or Macbook

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

    You are awesome 💕💕

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

      Thanks glad you like it :)

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

    Where did you get the "sampleChat" from? Thank you!

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

      Hey, I just wrote it by myself. I know this is a weird task but I couldn’t find any test data :)

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

    Hey Haipp, do you have any idea if it's possible to scroll the ScrollView up to the last message when the keyboard appears? Before entering a new message the last message is visible but gets covered by the keyboard. In my opinion the last message should stay above the input field.

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

      Yeah sure this is possible. Especially with IOS 15 you can use the @FocusState property wrapper where you can receive changes. Then you can say if focus == true, then scroll to the last message. Hope this helps :)

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

      @TMXYZ If you still have questions about it, you can join our Discord Community Server. There I have showed the code for exactly this problem. Also I can help you there if you have more questions. Just click the link and join the Server: discord.gg/VucfzfPbz8

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

    My xcode somehow can not find ".searchable" for the Searchbar. Do you know how to fix this problem? Nice video btw :)

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

      Thank you. Yeah sure. Searchable is a feature only available for IOS 15. So you have to change the version in your project settings. Then it should work like a charm :)

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

      Please let me know if it worked, otherwise you can send me your code via email and I can take a closer look at it. My email: thisishaipp@gmail.com

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

      @@haipp9931 ohhh thank you very much :D

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

      You’re welcome. Glad I could help you ☺️

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

    Chats Text and Text and Pencil icon are not shown at mine

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

    Super 😎 cool

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

      Thank you. Glad you like it 😃

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

    Go Beyond... 👍

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

      Thank you Andrej. Do you like such long Videos or is shorter better? :)

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

      @@haipp9931 it’s depend from each other ... for me no problem

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

      Ok perfect, I'm glad to hear that. Thanks for the feedback :))

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

    where did you get your profile pictures from

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

      Hmm I think they are from freepiks

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

    21:33

  • @tikka6554
    @tikka6554 2 года назад +2

    How you learned Swiftui first, and which year?

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

      I started learning it last year., but I already knew UIKit before :)

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

      When did you started learning it?

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

      @@haipp9931 I'm a beginner

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

      @@haipp9931 what is uikit ? I don't know about that

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

      Can uikit create apps in windows

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

    there is no time stamp in the messages.

    • @haipp9931
      @haipp9931  2 года назад +2

      Haha you are the first one who told me that. Haven't realized it until now

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

      @@haipp9931 I paid attention to this because I could not find a solution to how to make a time stamp as in the message template of the mobile version of telegram.

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

    👍

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

    Hi

  • @thanishreddym.3535
    @thanishreddym.3535 2 года назад +1

    Give sample Chat
    Text Without Patreon

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

      What do you mean with sample text?