How to create your own structs - Swift for Complete Beginners

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

Комментарии • 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 😂

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

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

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

    structs are like data classes?

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

    Brilliant. Merci!

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

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

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

    Cute dog.

  • @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 2 года назад

    "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.