Parallax Carousel Scroll - SwiftUI - iOS 17 - Xcode 15 - SwiftUI Tutorials

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

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

  • @Kavsoft
    @Kavsoft  Год назад +3

    Inspiration 👉dribbble.com/shots/5274370-Travel-app-concept-Parallax-Interaction

    • @CuongNguyen-yb5rp
      @CuongNguyen-yb5rp Год назад

      could you give me some script to expand the card view when tap on it?

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

    A well deserved subscribe! Thank you!

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

    This is was amazing. Thanks a lot for the video

  • @merakshot9277
    @merakshot9277 4 месяца назад +1

    if you are experiencing the left cutting edge, this is because of the vertical type image your using, try to use horizontal images so that it can scalleToFill and the other unseen frame would help you to have the effect, if you notice that the image is animating like the image is long, see is because it is horizontal and have much side spaces to achieve the effect Kavsoft did, and i hope each time he import image to tell us wether it is Vertical, or Horizontal one, best regards

  • @ericsokoine
    @ericsokoine 4 месяца назад +1

    i'm experiencing a problem, in ios 18 when i swipe through, the other cards after the first are misaligned, only the first one and last one are aligned centered. This is not an issue in earlier ios versions.

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

    This is so satisfying

  • @Mahadev-x7u
    @Mahadev-x7u Год назад +1

    Definitely 👍 once that will come 💯 thank you 😊

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

    Great effect parallax

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

    which is better choice for faang uikit or swiftui? any idea ?

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

    Interesting effect

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

    Awesome!

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

    @kavsoft can you teach us how to make private profiles and block users using swiftui & firebase?

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

    thank you!!! everything work fine! except when I put the .offset(x: -minX) line the is a kind white bar that mask the corner radius of the image on the right side ? any help ?

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

      same too, but i don't know why

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

    what is happening after adding ".offset(x: -minX)" ? we have the parallax Carousel Scroll, Thnak you please guide me about this.

  • @user3451-j3g
    @user3451-j3g Год назад

    Love it

  • @DisneyTv-f1r
    @DisneyTv-f1r 4 месяца назад

    Can you please teach how to make the images on the carrousel buttons so that they can be clicked on and send to another view?

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

      you can embed the image within NavigationLink(destination: your destination view here){ your image here }

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

    setting geometry frame height to constant 500 will cause issues with uniformity across app sizes?

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

      It’s inside a scroll view, so it will have no issues. If you still need a height relative to the screen height, then you can use it like this:
      GeometryReader {
      let size = $0.size
      ScrollView {…}
      }
      Simply replace the height by size.height * 0.65

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

    @Kavsoft can we achieve infinite horizontal from this?

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

    Nice video! Thanks for teaching us! By the way, is there something I have to do to show my preview in canvas the way you do it besides having the same syntax? I tried using "#Preview" then "{ContentView()}" but I get an error stating "Use of unknown directive '#Preview'"

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

      Macros are only available on iOS 17+ (Xcode 15).

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

      I figured that must be the reason. Thanks for clarifying!@@Kavsoft

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

    Great tutorial! Do you know when does Xcode 15 and iOS 17 officially comes out? 😊

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

      Around mid-September, I guess

  • @designckinet
    @designckinet Год назад +2

    Nice 👌

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

    How to complete animation by iOS is below < iOS 17
    I try follow but if Xcode not support iOS 17 it's can't do some function setup view

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

      We can achieve this effect on iOS 16 too, but we need to manually read the scroll offset using overlay geometry preferences.

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

      @@Kavsoft Do you possibly have a guide on how to do that?

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

      @@mikoajdebicki9224 +1, I don't understand how to accomplish scrollTargetBehaviour(.viewAligned) prior to ios17

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

    That was amazing. Thank you. I wish I can make the app that I am building be ios17 :(

  •  Год назад +1

    😀👏

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

    Really confused.....