YMAMutableSizeConstraint

Objective-C

@interface YMAMutableSizeConstraint : YMASizeConstraint

Swift

class YMAMutableSizeConstraint : YMASizeConstraint

A class with editable object sizing constraints.

  1. Properties
  2. type
  3. value

Properties

type

Object sizing constraint. See acceptable values in YMASizeConstraintType.

Declaration

Objective-C

@property (nonatomic) YMASizeConstraintType type;

Swift

var type: YMASizeConstraintType { get set }

value

The constraint value. The meaning of the value depends on the type property.

Declaration

Objective-C

@property (nonatomic) CGFloat value;

Swift

var value: CGFloat { get set }