
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIView
@protocol ISCIView <ISCIHitTestable>
Defines protocol which allows to get access to some of the UIView
members.
-
Gets the view frame.
Warning
Do not use frame if view is transformed since it will not correctly reflect the actual location of the view. Use bounds + center instead.Note
Animatable.Declaration
Objective-C
@property (nonatomic, readonly) CGRect frame;
-
Gets the bounds of the frame. Default bounds is zero origin, frame size.
Note
Animatable.Declaration
Objective-C
@property (nonatomic, readonly) CGRect bounds;
-
Gets the center of the frame.
Note
Animatable.Declaration
Objective-C
@property (nonatomic, readonly) CGPoint center;
-
The default spacing to use when laying out content in the view.
Note
Sizes are inPoints
.Declaration
Objective-C
@property (nonatomic, readonly) UIEdgeInsets layoutMargins;
-
A Boolean value that determines whether the view’s autoresizing mask is translated into Auto Layout constraints.
Declaration
Objective-C
@property (nonatomic) BOOL translatesAutoresizingMaskIntoConstraints;
-
A Boolean value that determines whether user events are ignored and removed from the event queue.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite, getter=isUserInteractionEnabled) BOOL userInteractionEnabled;
-
A Boolean value that determines whether the view is hidden.
Declaration
Objective-C
@property (nonatomic, getter=isHidden) BOOL hidden;
-
A Boolean value that determines whether the view is opaque.
Declaration
Objective-C
@property (nonatomic, getter=isOpaque) BOOL opaque;
-
Adds a view to the end of the receiver’s list of subviews.
Declaration
Objective-C
- (void)addSubview:(nonnull UIView *)view;
-
Invalidates the current layout of the receiver and triggers a layout update during the next update cycle. Allows to perform layout before the drawing cycle happens.
Declaration
Objective-C
- (void)setNeedsLayout;
-
Lays out the subviews immediately, if layout updates are pending.
Declaration
Objective-C
- (void)layoutIfNeeded;
-
Marks the receiver’s entire bounds rectangle as needing to be redrawn.
Declaration
Objective-C
- (void)setNeedsDisplay;