SwiftConf '19 - Roy Marmelstein: Best Practices

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

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

  • @lukaszstocki6998
    @lukaszstocki6998 3 года назад

    Cool presentation!
    The thing to note in t13:49 is that a.textContainer and b.textContainer are pointing to the same instance of TextContainer. Line "var b = a" does create a copy but what is copied is a reference to the same object :) If someone is interested more in this then existential and value witness conttainers are the keywords to search for :)