setAnchorAttribute method

void setAnchorAttribute(
  1. NSLayoutAttribute attr, {
  2. required NSLayoutConstraintOrientation forOrientation,
})

setAnchorAttribute:forOrientation:

Implementation

void setAnchorAttribute(
  NSLayoutAttribute attr, {
  required NSLayoutConstraintOrientation forOrientation,
}) {
  objc.checkOsVersionInternal(
    'NSWindow.setAnchorAttribute:forOrientation:',
    iOS: (true, null),
  );
  _objc_msgSend_mifm2y(
    this.ref.pointer,
    _sel_setAnchorAttribute_forOrientation_,
    attr.value,
    forOrientation.value,
  );
}