Requests a callback when an attribute is set.
- macOS 10.7+
Secthat is bound to an instance of a custom transform.
Transform Implementation Ref
The behavior to be set.
kto add a block that is called when an attribute is set. If the name is
Sec Transform Action Attribute Notification
NULL, then the supplied block is called for all set attributes except for ones that have a specific block as a handler.
kto add a block that is called to validate the input to an attribute.
Sec Transform Action Attribute Validation
The name of the attribute that will be handled. An attribute reference may also be given here. A
NULLvalue indicates that the supplied action is for all attributes.
Secwhich implements the behavior.
Transform Attribute Action Block
An error on failure, or
nil on success.
k action used with the
Sec function is a special case of a
Sec action. If this is called on the input attribute then it will overwrite any
You may call this function multiple times for either a named attribute or for all attributes when the attribute parameter is
NULL. The last call takes precedence.