How to create a custom alignment guide - Layout and Geometry SwiftUI Tutorial 3/8

Поділитися
Вставка
  • Опубліковано 11 вер 2024
  • Download the completed project here: github.com/two...
    Other parts in Project 18:
    Introduction: www.hackingwit...
    1. How layout works in SwiftUI: • How layout works in Sw...
    2. Alignment and alignment guides: • Alignment and alignmen...
    3. How to create a custom alignment guide: This video
    4. Absolute positioning for SwiftUI views: • Absolute positioning f...
    5. Resizing images to fit the screen using GeometryReader: • Resizing images to fit...
    6. Understanding frames and coordinates inside GeometryReader: • Understanding frames a...
    7. ScrollView effects using GeometryReader: • ScrollView effects usi...
    8. ScrollView effects using visualEffect() and scrollTargetBehavior(): • ScrollView effects usi...
    Wrap up and challenges: www.hackingwit...
    You can find the full set of videos, along with transcriptions, challenges, tests, and more, in my free 100 Days of SwiftUI course: www.hackingwit...
    Watch the full 100 Days of SwiftUI playlist here: • Understanding the basi...

КОМЕНТАРІ • 4

  • @williamsquires3070
    @williamsquires3070 6 місяців тому

    Is there a way to draw a line representing the alignment guide using this technique?

  • @iVerkhov
    @iVerkhov 6 місяців тому +3

    Sorry, but this is the most confusing lesson in the course. There is little introductory information about alignment itself. There is little explanation about the syntax like d[.leading] (what??). The topic is completely unclear.

    • @gregm6174
      @gregm6174 4 місяці тому

      yeah I agree on this one, this was quite confusing...

    • @JackLim927
      @JackLim927 18 днів тому

      I'm having a difficult time grasping + understanding this concept as well.
      Did you happen to come across any other good videos regarding this topic?