Skip to content

[organizeDeclarations] A property with didSet is treated as computed #1947

Closed
@anivaros

Description

Properties with didSet are placed in the Computed Properties section.

// MARK: - Computed Properties

var foo: Bar = .baz {
  didSet {
    // Do some work
  }
}

But they must be in the section of regular properties.

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions