Navigate Between Views - SwiftUI

Поделиться
HTML-код
  • Опубликовано: 15 сен 2024
  • In this tutorial I explain how you can create a simple navigation between two views programmatically in a SwiftUI project using the Swift programming language. This only take a small amount of code to accomplish! We use the NavigationView and the NavigationLink functions.

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

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

    I have tried so many videos and so many hours trying to understand this and you just nailed it in 5 minutes.
    Wow! Thank you

  • @dangrrrwolf
    @dangrrrwolf 7 месяцев назад +1

    I have been working on so many methods to get my code to work and you explained and demonstrated it so well! Thank you!

  • @themwi
    @themwi 4 месяца назад +2

    Thank you, so simple and straightforward.😊

  • @LaluImanIDN
    @LaluImanIDN 5 месяцев назад +1

    Thanks bro! i tried so manytime to figure out how to navigate
    and now i know how to

  • @magnfic0
    @magnfic0 3 месяца назад +2

    Just what i was looking for

  • @dskurth
    @dskurth 17 дней назад

    thanks. They helped so much

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

    Thanks for the information, just what i was looking for!

  • @RohitNikam-b7w
    @RohitNikam-b7w Месяц назад

    Thank you very much.

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

    when i do this on a view that already has content, it makes the navigùation link just a small window and also the view its linking to is just visible in a small box, is there a way to make it literally change view (fullscreewn?) tahnks

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

    Very helpful. Thank you!

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

    Isnt NavigationView deprecated now? Since iOS 16?

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

      Yes it’s NavigationStack now

  • @rickyasbury1878
    @rickyasbury1878 7 месяцев назад

    As someone who is new to Swift UI how would I be able to throw variables into another view

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

      Use binding variables

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

      @@matti6 how would I do that? Also what are binding veriables

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

    so how you do this when you have a list with 20 items to display and each item list has a different view? Examples with just 1 view to navigate are easy dude

  • @juancho9938
    @juancho9938 7 месяцев назад

    thank you so much omg

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

    mines keeps saying cannot find ‘ViewTwo’ in scope

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

      Are you sure that you are spelling View the same way both times? I know that always trips me up.

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

    Thanks! 100% works here in 2024

  • @RohitNikam-b7w
    @RohitNikam-b7w Месяц назад

    Thank you very much.