FunctionFlag

Objective-C

enum FunctionFlag : uint8_t {}

Swift

struct FunctionFlag : OptionSet, @unchecked Sendable

Functions flags to describe behaviour of user function

  • Function depends on zoom and should be recalculated when zoom changes. E.g. metric()

    Declaration

    Objective-C

    FunctionFlag_DependsFromZoom = 1

    Swift

    static var dependsFromZoom: FunctionFlag { get }
  • Function depends on object. E.g. tag()

    Declaration

    Objective-C

    FunctionFlag_DependsFromObject = 2

    Swift

    static var dependsFromObject: FunctionFlag { get }