How to create your own structs - Swift for Complete Beginners

Поделиться
HTML-код
  • Опубликовано: 13 окт 2024
  • Other videos in the Structs section:
    1. How to create your own structs: This video
    2. How to compute property values dynamically: • How to compute propert...
    3. How to take action when a property changes: • How to take action whe...
    4. How to create custom initializers: • How to create custom i...
    5. How to limit access to internal data using access control: • How to limit access to...
    6. Static properties and methods: • Static properties and ...
    7. Summary: Structs: • Summary: Structs - Swi...
    8. Checkpoint 6: • Checkpoint 6 - Swift f...
    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 Swift for Complete Beginners playlist here: • Swift for Complete Beg...

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

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

    Thanks Paul, this is the best Swift struct tutorial I have seen and heard.

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

    I love the pup that comes in and out. Need that mini break 😂

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

    Thank you a lot, I hadn't understood this until now.

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

    structs are like data classes?

  • @leon.dev89
    @leon.dev89 Год назад +1

    Cute dog.

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

    sir why the curly braces are not finish exactly below to vacationRemaining i am very stuck for this

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

    Brilliant. Merci!

  • @24steps-sdetsnotes94
    @24steps-sdetsnotes94 2 года назад

    I like to use name for variable then type and call init.
    var archer: Employee = .init(name: “Some one”, vacationRemaining:14)

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

    "camelCase where the first letter is lower case"... so just camelCase then??? Do you think camelCase is PascalCase?

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

      While there is a difference between PascalCase and camelCase, there's no need to be so pedantic. Just a helpful comment that PascalCase is the term used when the first letter is uppercase would be helpful for others.