Skip to content

Instantly share code, notes, and snippets.

@Hadevs
Created February 3, 2022 17:03
Show Gist options
  • Save Hadevs/37a63f3f9ce66bf090fd6e0b504fef07 to your computer and use it in GitHub Desktop.
Save Hadevs/37a63f3f9ce66bf090fd6e0b504fef07 to your computer and use it in GitHub Desktop.
В Swift модели делятся на ReferenceType и на ValueType.
// Set, Dictionary, Array - Типы коллекций в Swift, они имеют Value Type.
// Integer, String, Bool, Double, etc. - Примитивные типы в Swift, они имеют Value Type.
// Closures, UIView, UIViewController, классы - это Reference Type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment