Contents

setPropertyState(_:forProperty:)

Sets a state value for the specified property.

Declaration

func setPropertyState(_ propertyState: CMIOExtensionPropertyState<AnyObject>?, forProperty property: CMIOExtensionProperty)

Parameters

  • propertyState:

    The updated property state.

  • property:

    The property to update.

Discussion

Setting a nil property state value doesn’t remove the property.

See Also

Managing Properties