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

SCIButton

@interface SCIButton :
#if TARGET_OS_OSX
    NSButton
#elif TARGET_OS_IOS
    UIButton
#endif

- (instancetype)initWithTitle:(NSString *)title action:(SCIAction)action;
- (instancetype)initWithImage:(SCIImage *)image action:(SCIAction)action;
- (instancetype)initWithTitle:(NSString *)title target:(id)target selector:(SEL)selector;

@end

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithTitle:(NSString *)title action:(SCIAction)action;

    Swift

    init!(title: String!, action: SCIAction!)
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithImage:(SCIImage *)image action:(SCIAction)action;

    Swift

    init!(image: UIImage!, action: SCIAction!)
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithTitle:(NSString *)title target:(id)target selector:(SEL)selector;

    Swift

    init!(title: String!, target: Any!, selector: Selector!)