Scene

class Scene

A scene is a particular view controller (iOS), fragment (Android), or page (HTML). It has a consistent set of elements (or views). The elements can change in appearance but usually don’t get added or removed.

  • id

    property documentation (update this)

    Declaration

    var id: String { get }
  • property documentation (update this)

    Declaration

    var name: String { get }
  • property documentation (update this)

    Declaration

    var size: Size { get }
  • property documentation (update this)

    Declaration

    var rootLayer: Layer { get }
  • The object’s description

    Declaration

    var description: String { get }
  • Compares two values for equality.

    The equals function is invoked using infix notation as in the following code snippet: lhs == rhs.

    Declaration

    func equals(_ lhs: Scene) -> Bool

    Parameters

    lhs

    A value.

    rhs

    Another value.

    Return Value

    true if the lhs and rhs are equal, false otherwise.