iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

ISCIEntityIdProvider

@protocol ISCIEntityIdProvider <ISCICleanable>

Defines an interface to entity provider which provides unique ids for ISCIBaseSceneEntity.

  • Gets the next available Entity ID.

    Declaration

    Objective-C

    @property (readonly, nonatomic) unsigned int entityId;

    Swift

    var entityId: UInt32 { get }
  • Releases id and puts it back into pool of ids.

    Declaration

    Objective-C

    - (void)releaseEntityId:(unsigned int)entityId;

    Swift

    func releaseEntityId(_ entityId: UInt32)

    Parameters

    entityId

    The entity id to release.