iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIAttachable
@protocol ISCIAttachable <NSObject>
Defines interface with methods which allows to attach/detach this instance to ISCIServiceContainer
.
-
Attaches this instance to the instance of
ISCIServiceContainer
.Declaration
Objective-C
- (void)attachTo:(nonnull id<ISCIServiceContainer>)services;
Swift
func attach(to services: ISCIServiceContainer)
Parameters
services
The target instance of
ISCIServiceContainer
. -
Detaches this instance from currently attached
ISCIServiceContainer
Declaration
Objective-C
- (void)detach;
Swift
func detach()
-
Gets whether this instance is attached on not.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL isAttached;
Swift
var isAttached: Bool { get }