Swift Lazy Computed Property Declaration

    0

    0

    lucycodes42

    Swift Cookbook

    Shortcut: var_lazy_computed_property

    lazy var property_name: type_name = {
      statements
      return return_value
    }()
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.