RSDCopyWithIdentifier

public protocol RSDCopyWithIdentifier

A light-weight protocol for copying objects with a new identifier.

  • Copy the step to a new instance with the given identifier, but otherwise, equal.

    Declaration

    Swift

    func copy(with identifier: String) -> Self

    Parameters

    identifier

    The new identifier.